VirtualBox

Changeset 38935 in vbox


Ignore:
Timestamp:
Oct 4, 2011 2:28:42 PM (13 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Use WDDM driver by default on Windows 8.

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
2 edited

Legend:

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

    r38751 r38935  
    651651!endif
    652652
    653 vista: ; Windows Vista / Windows 7
     653vista: ; Windows Vista / Windows 7 / Windows 8
    654654
    655655  ; Copy some common files ...
     
    963963
    964964!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
    965972    ; If we're able to use the WDDM driver just use it instead of the replaced
    966973    ; D3D components below
     
    10031010    ${EndIf}
    10041011  ${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}
    10061015  ${EndIf}
    10071016  Goto exit
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r38751 r38935  
    512512
    513513!if $%VBOX_WITH_WDDM% == "1"
    514   ; If we're on a 32-bit Windows Vista / 7 we can use the WDDM driver
     514  ; If we're on a 32-bit Windows Vista / 7 / 8 we can use the WDDM driver
    515515  ${If} $g_strWinVersion == "Vista"
    516516  ${OrIf} $g_strWinVersion == "7"
    517517  ${OrIf} $g_strWinVersion == "8"
    518518    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"
    519524  ${EndIf}
    520525!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