VirtualBox

Ignore:
Timestamp:
Jan 31, 2013 1:50:55 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83517
Message:

Fixed NT4 detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r44484 r44493  
    300300
    301301  ${If} $1 == "" ; If empty -> not NT 3.XX or 4.XX
    302     StrCpy $g_strWinVersion $0 ; Use original version string
     302    ; $0 contains the original version string
    303303  ${Else}
    304304    ; Ok we know it is NT. Must be a string like NT X.XX
     
    309309    ${If} $1 == "" ; If empty -> not NT 4
    310310      ;; @todo NT <= 3.x ?
    311       StrCpy $g_strWinVersion $0 ; Use original version string
     311      ; $0 contains the original version string
    312312    ${Else}
    313       StrCpy $g_strWinVersion "NT4"
     313      StrCpy $0 "NT4"
    314314    ${EndIf}
    315315  ${EndIf}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette