Problem with .Net 2.0 SP2 on Windows 2008
Problem with .Net 2.0 SP2 on Windows 2008
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.
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.
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 ...
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 ...
Re: Problem with .Net 2.0 SP2 on Windows 2008
We still have not been able to find a workaround to this issue. Does anyone have any suggestions that might help with this?
Re: Problem with .Net 2.0 SP2 on Windows 2008
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.
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.
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Problem with .Net 2.0 SP2 on Windows 2008
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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Problem with .Net 2.0 SP2 on Windows 2008
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.
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.
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Re: Problem with .Net 2.0 SP2 on Windows 2008
Since you have the source codes for all the prerequisite scripts, it'll be easy for you to fix it.
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Problem with .Net 2.0 SP2 on Windows 2008
Thanks for quoting
I would fix this problem if someone could answer my question:
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.
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Problem with .Net 2.0 SP2 on Windows 2008
Code: Select all
Get System Setting Windows 7 into WIN7
Get System Setting Windows with Server Features into WINSERVER- 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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Problem with .Net 2.0 SP2 on Windows 2008
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)
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)
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Problem with .Net 2.0 SP2 on Windows 2008
Did you try with the latest build - 07/04/09?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Problem with .Net 2.0 SP2 on Windows 2008
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?
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Problem with .Net 2.0 SP2 on Windows 2008
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!
You have to test your setups on all platforms you advertise support for!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Problem with .Net 2.0 SP2 on Windows 2008
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
Thanks,
Ian Foutz

