Changeset 38994 in vbox for trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
- Timestamp:
- Oct 14, 2011 9:10:48 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r38935 r38994 759 759 760 760 ; Direct3D support 761 !if $%VBOX_WITH_CROGL% == "1"762 761 Section /o $(VBOX_COMPONENT_D3D) SEC03 763 762 … … 897 896 898 897 SectionEnd 899 !endif ; VBOX_WITH_CROGL900 898 901 899 !ifdef USE_MUI … … 963 961 964 962 !if $%VBOX_WITH_WDDM% == "1" 965 ; If we're running Windows 8 we always need the WDDM driver966 ; -- so just print a hint about the required VRAM size and bail out967 ${If} $g_strWinVersion == "8"968 MessageBox MB_ICONINFORMATION|MB_OK $(VBOX_COMPONENT_D3D_HINT_VRAM) /SD IDOK969 goto exit970 ${EndIf}971 972 963 ; If we're able to use the WDDM driver just use it instead of the replaced 973 964 ; D3D components below … … 1054 1045 ; This function is called at the very beginning of installer execution 1055 1046 Function .onInit 1047 1048 Push $0 1056 1049 1057 1050 ; Init values … … 1170 1163 ${EndIf} 1171 1164 !endif 1165 ; On Windows 8 we always select the 3D section and 1166 ; disable it so that it cannot be deselected again 1167 ${If} $g_strWinVersion == "8" 1168 IntOp $0 ${SF_SELECTED} | ${SF_RO} 1169 SectionSetFlags ${SEC03} $0 1170 ${EndIf} 1172 1171 1173 1172 !ifdef USE_MUI … … 1190 1189 1191 1190 !endif ; UNINSTALLER_ONLY 1191 1192 Pop $0 1192 1193 1193 1194 FunctionEnd
Note:
See TracChangeset
for help on using the changeset viewer.