In looking into .Net version 2 core prerequisit script(rt_dotnetframework2_x86.sbi), why is it only installing on WindowsXP if ServicePack=2? I'm on ServicePack 3. Some of my customers may not even be on ServicePack 2.
In looking into .Net version 2 core prerequisit script(rt_dotnetframework2_x86.sbi), why is it only installing on WindowsXP if ServicePack=2? I'm on ServicePack 3. Some of my customers may not even be on ServicePack 2.
Ask Microsoft <g>. XP SP3 is not officially supported.
"Supported Operating Systems: Windows 2000 Service Pack 4; Windows Server 2003; Windows XP Service Pack 2"
But you can open your "rt_dotnetframework2_x86.sbi" include script and change Line 80:
from:
If %SERVICEPACKNUMBER% Does Not Equal "2" Then
to:
If %SERVICEPACKNUMBER% Greater Than or Equal "2" Then
Does this help?
Friedrich
Yes it does!
BTW, I had to change it to: If %SERVICEPACKNUMBER% Less Than "2" Then
Thank you for your help.
"Less Than 2" means in this case it will only install for XP (SP0) and SP1. But not for XP SP2 and above!
Friedrich
Maybe I'm missing something, but here is my thinking.
1. Framework 2 service pack 1, which is what your redistributable is, requires XP Service Pack 2.
2. Line 80 used to be: If %SERVICEPACKNUMBER% Does Not Equal 2 Then ... Don't Install the framework.
3. I'm on Service Pack 3, I want it to install for any service pack 2 and above, thus If %SERVICEPACKNUMBER% Less Than 2 Then ... Don't Install the framework.
Am I all wet?
Too much coffee or not enough <g> Of course, you are right. If you want it to install for any service pack 2 and above, you have to use:
If %SERVICEPACKNUMBER% Less Than 2 Then
! Don't Install the framework
End
Sorry for the confusion!
Friedrich
There are currently 1 users browsing this thread. (0 members and 1 guests)