Problem with .Net 2.0 SP2 on Windows 2008

Got a problem you cannot solve? Try here.

Problem with .Net 2.0 SP2 on Windows 2008

Postby IFoutz » Tue Feb 23, 2010 3:25 pm

We have a customer running into a problem trying to install on Windows Server 2008. It keeps telling her that she needs to install .Net 2.0 SP2 when she doesn't, it is already installed. Then that install fails, and the install shuts down. I notice in the checknet2sp2 script, it has this step:

Get System Setting Windows Vista into NET2SP2_ISVISTA

What is the result of that step on Windows 2008? I don't have ready access to a 2008 box, otherwise I would check it myself.
IFoutz
 
Posts: 12
Joined: Thu Jul 24, 2008 10:54 am

Postby ohali » Fri Mar 05, 2010 12:46 pm

We have the same problem at one of our customers.

The checknet2sp2 script gets the System Setting Windows Vista ... I assume, that it is false on Win2008 R2.
(I've checked the file version of $NET2SP2_WINDIR$\\Microsoft.NET\\Framework\\v2.0.50727\\mscorwks.dll, and it is 2.0.50727.4200 ... required is newer than 2.0.50727.3052)

Then it reads a registry value

HKLM\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v2.0.50727\\Version
The value at our customer is 2.0.50727.4016, but the script requires the version to be greater than 2.2.30728!!! I've checked this registry key on Windows 7 (2.0.50727.4927) and XP (2.2.30729).

Conclusion:
Get System Setting Windows Vista into NET2SP2_ISVISTA
should return True on Win2008 R2, but doesn't.

How can we fix or work around this problem? A quick answer would be nice ... :wink:
ohali
 
Posts: 53
Joined: Mon Jun 08, 2009 6:41 am

Postby IFoutz » Fri Mar 05, 2010 3:28 pm

Glad to know someone else has run into the same issue. And we have not yet found a workaround.
IFoutz
 
Posts: 12
Joined: Thu Jul 24, 2008 10:54 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby IFoutz » Wed Apr 14, 2010 10:09 am

We still have not been able to find a workaround to this issue. Does anyone have any suggestions that might help with this?
IFoutz
 
Posts: 12
Joined: Thu Jul 24, 2008 10:54 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby ohali » Fri Apr 16, 2010 4:59 am

I'd like to mention that this is a problem with the core functionality of an installer! If this is not resolved, one is not able to install a .NET solution on Windows Server 2008 R2!

How can we find out if the OS is Win 2008 R2? If we know this it would be easy to adjust the script for installing the runtime.
ohali
 
Posts: 53
Joined: Mon Jun 08, 2009 6:41 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby MichaelNesmith » Fri Apr 16, 2010 5:51 am

You should install a VM with the OS in question, and then install InstallAware, and then run the runtime installation script under the debugger to see what is going wrong. Since you have the source codes for all the prerequisite scripts, it'll be easy for you to fix it. And if there is a core issue with InstallAware, let us know so we can fix it too.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
MichaelNesmith
 
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby ohali » Fri Apr 16, 2010 6:32 am

Well, all information regarding this problem is included in my previous post in this topic, I know exactly what's going wrong.

Get System Setting Windows Vista into NET2SP2_ISVISTA
should return True on Win2008 R2, but it doesn't. Therefore the script does not compare the fileversion of mscorwks.dll, but instead compares the registry value
HKLM\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v2.0.50727\\Version
which fails. So the script concludes that .NET 2.0 SP2 is not installed and tries to install it, which (of course) fails, since it is in fact already installed. Because of this failure the setup exits :!:

If you need more information, just let me know.
ohali
 
Posts: 53
Joined: Mon Jun 08, 2009 6:41 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby CandiceJones » Fri Apr 16, 2010 6:45 am

Since you have the source codes for all the prerequisite scripts, it'll be easy for you to fix it.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
CandiceJones
 
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby ohali » Fri Apr 16, 2010 6:57 am

Thanks for quoting :?

I would fix this problem if someone could answer my question:

How can we find out if the OS is Win 2008 R2? If we know this it would be easy to adjust the script for installing the runtime.
ohali
 
Posts: 53
Joined: Mon Jun 08, 2009 6:41 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby MichaelNesmith » Fri Apr 16, 2010 7:16 am

Code: Select all
Get System Setting Windows 7 into WIN7
Get System Setting Windows with Server Features into WINSERVER


Also, I'd like to check this issue myself, but ambiguities in the thread are preventing that:

- is it Server 2008 or Server 2008 R2?
- is the runtime in question 32 bit or 64 bit or both?
- what is your version of InstallAware?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
MichaelNesmith
 
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby ohali » Fri Apr 16, 2010 7:30 am

Thanks for your response.
The problem exists when installing on Windows Server 2008 R2.
The runtime in question is 32Bit. I've not tried out 64Bit.
My version is Installaware Studio 9 (Build Moya.052409)
ohali
 
Posts: 53
Joined: Mon Jun 08, 2009 6:41 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby MichaelNesmith » Fri Apr 16, 2010 4:41 pm

Did you try with the latest build - 07/04/09?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
MichaelNesmith
 
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby ohali » Wed Apr 21, 2010 4:10 am

No, I've not tried this version. And I cannot, because I've no Windows 2008 R2 server at hand. Is there a changelog, where one can see, if there have been changes/bugfixes in this area?
ohali
 
Posts: 53
Joined: Mon Jun 08, 2009 6:41 am

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby MichaelNesmith » Wed Apr 21, 2010 4:19 am

You should get a copy from MSDN, install it on a VM, and test your setup there personally.

You have to test your setups on all platforms you advertise support for!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
MichaelNesmith
 
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm

Re: Problem with .Net 2.0 SP2 on Windows 2008

Postby IFoutz » Tue May 11, 2010 1:13 pm

In house, we built a 2008 Server, 32 bit, installed 2008 Service Pack 2 on it, then tried our install, and it worked as expected. However, at a customer site with the exact same set up, brand new server, 32 bit, 2008 service pack 2, they get the message that they need to install .Net 2.0 SP2, and then that install fails. We have checked that the versions of the mscorwks.dll files on the two machines are the same, and we have checked the HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Version registry keys as well, since we're still not sure which of those conditions is being evaluated in the checknet2sp2 file. But by either condition, the machine at the client site should pass, but doesn't. What else should we be checking? The log file is of no help, it is just a bunch of blank XML sections at the point where it fails.

Thanks,
Ian Foutz
IFoutz
 
Posts: 12
Joined: Thu Jul 24, 2008 10:54 am

Next

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests