+ Reply to Thread
Results 1 to 6 of 6

Thread: .Net Framework 2 on XP ServicePack 3

  1. #1

    Default .Net Framework 2 on XP ServicePack 3

    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.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: .Net Framework 2 on XP ServicePack 3

    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

  3. #3

    Default Re: .Net Framework 2 on XP ServicePack 3

    Yes it does!

    BTW, I had to change it to: If %SERVICEPACKNUMBER% Less Than "2" Then

    Thank you for your help.

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: .Net Framework 2 on XP ServicePack 3

    "Less Than 2" means in this case it will only install for XP (SP0) and SP1. But not for XP SP2 and above!

    Friedrich

  5. #5

    Default Re: .Net Framework 2 on XP ServicePack 3

    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?

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: .Net Framework 2 on XP ServicePack 3

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •