Changeset 38935 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Oct 4, 2011 2:28:42 PM (13 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r38751 r38935 651 651 !endif 652 652 653 vista: ; Windows Vista / Windows 7 653 vista: ; Windows Vista / Windows 7 / Windows 8 654 654 655 655 ; Copy some common files ... … … 963 963 964 964 !if $%VBOX_WITH_WDDM% == "1" 965 ; If we're running Windows 8 we always need the WDDM driver 966 ; -- so just print a hint about the required VRAM size and bail out 967 ${If} $g_strWinVersion == "8" 968 MessageBox MB_ICONINFORMATION|MB_OK $(VBOX_COMPONENT_D3D_HINT_VRAM) /SD IDOK 969 goto exit 970 ${EndIf} 971 965 972 ; If we're able to use the WDDM driver just use it instead of the replaced 966 973 ; D3D components below … … 1003 1010 ${EndIf} 1004 1011 ${Else} ; D3D unselected again 1005 StrCpy $g_bWithWDDM "false" 1012 ${If} $g_strWinVersion != "8" ; On Windows 8 WDDM is mandatory 1013 StrCpy $g_bWithWDDM "false" 1014 ${EndIf} 1006 1015 ${EndIf} 1007 1016 Goto exit -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r38751 r38935 512 512 513 513 !if $%VBOX_WITH_WDDM% == "1" 514 ; If we're on a 32-bit Windows Vista / 7 we can use the WDDM driver514 ; If we're on a 32-bit Windows Vista / 7 / 8 we can use the WDDM driver 515 515 ${If} $g_strWinVersion == "Vista" 516 516 ${OrIf} $g_strWinVersion == "7" 517 517 ${OrIf} $g_strWinVersion == "8" 518 518 StrCpy $g_bCapWDDM "true" 519 ${EndIf} 520 ; If we're on Windows 8 we *have* to use the WDDM driver, so select it 521 ; by default 522 ${If} $g_strWinVersion == "8" 523 StrCpy $g_bWithWDDM "true" 519 524 ${EndIf} 520 525 !endif
Note:
See TracChangeset
for help on using the changeset viewer.