VirtualBox

Ignore:
Timestamp:
Oct 14, 2011 9:10:48 AM (13 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Use WDDM driver by default on Windows 8. Enable the 3D section by default and make it read-only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r38935 r38994  
    759759
    760760; Direct3D support
    761 !if $%VBOX_WITH_CROGL% == "1"
    762761Section /o $(VBOX_COMPONENT_D3D) SEC03
    763762
     
    897896
    898897SectionEnd
    899 !endif ; VBOX_WITH_CROGL
    900898
    901899!ifdef USE_MUI
     
    963961
    964962!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 
    972963    ; If we're able to use the WDDM driver just use it instead of the replaced
    973964    ; D3D components below
     
    10541045; This function is called at the very beginning of installer execution
    10551046Function .onInit
     1047
     1048  Push $0
    10561049
    10571050  ; Init values
     
    11701163  ${EndIf}
    11711164!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}
    11721171
    11731172!ifdef USE_MUI
     
    11901189
    11911190!endif ; UNINSTALLER_ONLY
     1191
     1192  Pop $0
    11921193
    11931194FunctionEnd
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