Changeset 53008 in vbox for trunk/src/VBox/Additions/WINNT/Installer
- Timestamp:
- Oct 9, 2014 11:34:57 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96474
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r50421 r53008 665 665 StrCmp $g_strWinVersion "8" vista ; Windows 8 666 666 StrCmp $g_strWinVersion "8_1" vista ; Windows 8.1 / Windows 2012 Server R2 667 StrCmp $g_strWinVersion "10" vista ; Windows 10 667 668 668 669 ${If} $g_bForceInstall == "true" … … 762 763 ${OrIf} $R0 == '8' ; Windows 8. 763 764 ${OrIf} $R0 == '8_1' ; Windows 8.1 / Windows Server 2012 R2. 765 ${OrIf} $R0 == '10' ; Windows 10. 764 766 ; Use VBoxCredProv on Vista and up. 765 767 ${LogVerbose} "Installing VirtualBox credential provider ..." … … 1026 1028 ${If} $g_strWinVersion != "8" ; On Windows 8 WDDM is mandatory 1027 1029 ${AndIf} $g_strWinVersion != "8_1" ; ... also on Windows 8.1 / Windows 2012 Server R2 1030 ${AndIf} $g_strWinVersion != "10" ; ... also on Windows 10 1028 1031 StrCpy $g_bWithWDDM "false" 1029 1032 ${EndIf} … … 1204 1207 !insertmacro SelectSection ${SEC03} 1205 1208 ${EndIf} 1206 ; On Windows 8 / 8.1 / Windows Server 2012 R2 we always select the 3D1209 ; On Windows 8 / 8.1 / Windows Server 2012 R2 and newer we always select the 3D 1207 1210 ; section and disable it so that it cannot be deselected again 1208 1211 ${If} $g_strWinVersion == "8" 1209 1212 ${OrIf} $g_strWinVersion == "8_1" 1213 ${OrIf} $g_strWinVersion == "10" 1210 1214 IntOp $0 ${SF_SELECTED} | ${SF_RO} 1211 1215 SectionSetFlags ${SEC03} $0 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r50433 r53008 545 545 ${OrIf} $g_strWinVersion == "8" 546 546 ${OrIf} $g_strWinVersion == "8_1" 547 ${OrIf} $g_strWinVersion == "10" 547 548 StrCpy $g_bCapWDDM "true" 548 549 ${LogVerbose} "OS is WDDM driver capable" … … 552 553 ${If} $g_strWinVersion == "8" 553 554 ${OrIf} $g_strWinVersion == "8_1" 555 ${OrIf} $g_strWinVersion == "10" 554 556 StrCpy $g_bWithWDDM "true" 555 557 ${LogVerbose} "OS needs WDDM driver by default" … … 576 578 ${OrIf} $g_strWinVersion == "8" 577 579 ${OrIf} $g_strWinVersion == "8_1" 580 ${OrIf} $g_strWinVersion == "10" 578 581 StrCpy $g_bCapDllCache "true" 579 582 ${LogVerbose} "OS has a DLL cache" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh
r46845 r53008 87 87 StrCmp $g_strWinVersion "8" vista ; Windows 8 88 88 StrCmp $g_strWinVersion "8_1" vista ; Windows 8.1 / Windows Server 2012 R2 89 StrCmp $g_strWinVersion "10" vista ; Windows 10 89 90 90 91 ${If} $g_bForceInstall == "true" … … 146 147 StrCmp $g_strWinVersion "8" vista ; Windows 8 147 148 StrCmp $g_strWinVersion "8_1" vista ; Windows 8.1 / Windows Server 2012 R2 149 StrCmp $g_strWinVersion "10" vista ; Windows 10 148 150 149 151 ${If} $g_bForceInstall == "true" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r46876 r53008 122 122 ${OrIf} $g_strWinVersion == "8" 123 123 ${OrIf} $g_strWinVersion == "8_1" 124 ${OrIf} $g_strWinVersion == "10" 124 125 StrCpy $reg_path_device "SYSTEM\CurrentControlSet\Control\Video\$dev_id\0000" 125 126 StrCpy $reg_path_monitor "SYSTEM\CurrentControlSet\Control\VIDEO\$dev_id\0000\Mon00000001" … … 235 236 ${If} $g_strWinVersion == "8" 236 237 ${OrIf} $g_strWinVersion == "8_1" 238 ${OrIf} $g_strWinVersion == "10" 237 239 !ifdef VBOX_SIGN_ADDITIONS 238 240 FILE "$%PATH_OUT%\bin\additions\VBoxVideoW8.cat" … … 396 398 ${If} $g_strWinVersion == "8" 397 399 ${OrIf} $g_strWinVersion == "8_1" 398 ${LogVerbose} "Installing WDDM video driver for Windows 8..." 400 ${OrIf} $g_strWinVersion == "10" 401 ${LogVerbose} "Installing WDDM video driver for Windows 8 or newer..." 399 402 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" driver install $\"$INSTDIR\VBoxVideoW8.inf$\" $\"$INSTDIR\install_drivers.log$\"" "false" 400 403 ${Else} … … 466 469 SetRegView 32 467 470 ; Write additional keys required for Windows XP, Vista and 7 64-bit (but for 32-bit stuff) 468 ${If} $g_strWinVersion == '8_1' 471 ${If} $g_strWinVersion == '10' 472 ${OrIf} $g_strWinVersion == '8_1' 469 473 ${OrIf} $g_strWinVersion == '8' 470 474 ${OrIf} $g_strWinVersion == '7' -
trunk/src/VBox/Additions/WINNT/Installer/winver.nsh
r46838 r53008 67 67 StrCmp $R1 '6.1' lbl_winnt_7 68 68 StrCmp $R1 '6.2' lbl_winnt_8 69 StrCmp $R1 '6.3' lbl_winnt_8_1 lbl_error 69 StrCmp $R1 '6.3' lbl_winnt_8_1 70 StrCmp $R1 '6.4' lbl_winnt_10 lbl_error 70 71 71 72 lbl_winnt_x: … … 101 102 Goto lbl_done 102 103 104 lbl_winnt_10: 105 Strcpy $R0 '10' 106 Goto lbl_done 107 103 108 lbl_error: 104 109 Strcpy $R0 ''
Note:
See TracChangeset
for help on using the changeset viewer.