VirtualBox

Changeset 40720 in vbox


Ignore:
Timestamp:
Mar 30, 2012 9:33:11 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77184
Message:

Windows Guest Additions installer: Skip checking 32-bit *d3d8 DLLs on 64-bit guests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r40711 r40720  
    862862  ; Note: Not finding a file (like *d3d8.dll) on Windows Vista/7 is fine;
    863863  ;       it simply is not present there.
    864 
     864 
     865  ; Note 2: On 64-bit systems there are no 64-bit *d3d8 DLLs, only 32-bit ones
     866  ;         in SysWOW64 (or in system32 on 32-bit systems).
     867
     868!if $%BUILD_TARGET_ARCH% == "x86"
    865869  ${VerifyFileEx} "${un}" "$SYSDIR\d3d8.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    866870  Pop $0
     
    868872    Goto verify_msd3d
    869873  ${EndIf}
     874!endif
     875 
    870876  ${VerifyFileEx} "${un}" "$SYSDIR\d3d9.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    871877  Pop $0
     
    875881
    876882  ${If} $g_bCapDllCache == "true"
     883!if $%BUILD_TARGET_ARCH% == "x86"
    877884    ${VerifyFileEx} "${un}" "$SYSDIR\dllcache\d3d8.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    878885    Pop $0
     
    880887      Goto verify_msd3d
    881888    ${EndIf}
     889!endif
    882890    ${VerifyFileEx} "${un}" "$SYSDIR\dllcache\d3d9.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    883891    Pop $0
     
    888896
    889897!if $%BUILD_TARGET_ARCH% == "amd64"
    890 
    891898  ${VerifyFileEx} "${un}" "$g_strSysWow64\d3d8.dll" "Microsoft Corporation" "x86"
    892899  Pop $0
     
    919926verify_msd3d:
    920927
     928!if $%BUILD_TARGET_ARCH% == "x86"
    921929  ${VerifyFileEx} "${un}" "$SYSDIR\msd3d8.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    922930  Pop $0
     
    924932    Goto invalid
    925933  ${EndIf}
     934!endif
    926935  ${VerifyFileEx} "${un}" "$SYSDIR\msd3d9.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    927936  Pop $0
     
    931940
    932941  ${If} $g_bCapDllCache == "true"
     942!if $%BUILD_TARGET_ARCH% == "x86"
    933943    ${VerifyFileEx} "${un}" "$SYSDIR\dllcache\msd3d8.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    934944    Pop $0
     
    936946      Goto invalid
    937947    ${EndIf}
     948!endif
    938949    ${VerifyFileEx} "${un}" "$SYSDIR\dllcache\msd3d9.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    939950    Pop $0
     
    944955
    945956!if $%BUILD_TARGET_ARCH% == "amd64"
    946 
    947957  ${VerifyFileEx} "${un}" "$g_strSysWow64\msd3d8.dll" "Microsoft Corporation" "x86"
    948958  Pop $0
     
    968978    ${EndIf}
    969979  ${EndIf}
    970 
    971980!endif
    972981
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette