VirtualBox

Changeset 50414 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Feb 11, 2014 4:08:18 PM (11 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Fixed checking for wrong target architecture when restore backed up D3D files on XPDM->WDDM upgrade -- these DLLs are 32-bit even on 64-bit systems.

File:
1 edited

Legend:

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

    r50401 r50414  
    876876
    877877  ; We need to switch to 64-bit app mode to handle the "real" 64-bit files in
    878   ; ""system32" on a 64-bit guest
     878  ; "system32" on a 64-bit guest
    879879  Call ${un}SetAppMode64
    880880
     
    10321032
    10331033  ; We need to switch to 64-bit app mode to handle the "real" 64-bit files in
    1034   ; ""system32" on a 64-bit guest
     1034  ; "system32" on a 64-bit guest
    10351035  Call ${un}SetAppMode64
    10361036
     
    10541054
    10551055!if $%BUILD_TARGET_ARCH% == "amd64"
    1056   ${CopyFileEx} "${un}" "$g_strSysWow64\msd3d8.dll" "$g_strSysWow64\d3d8.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    1057   ${CopyFileEx} "${un}" "$g_strSysWow64\msd3d9.dll" "$g_strSysWow64\d3d9.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
     1056  ${CopyFileEx} "${un}" "$g_strSysWow64\msd3d8.dll" "$g_strSysWow64\d3d8.dll" "Microsoft Corporation" "x86"
     1057  ${CopyFileEx} "${un}" "$g_strSysWow64\msd3d9.dll" "$g_strSysWow64\d3d9.dll" "Microsoft Corporation" "x86"
    10581058
    10591059  ${If} $g_bCapDllCache == "true"
    1060     ${CopyFileEx} "${un}" "$g_strSysWow64\dllcache\msd3d8.dll" "$g_strSysWow64\dllcache\d3d8.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
    1061     ${CopyFileEx} "${un}" "$g_strSysWow64\dllcache\msd3d9.dll" "$g_strSysWow64\dllcache\d3d9.dll" "Microsoft Corporation" "$%BUILD_TARGET_ARCH%"
     1060    ${CopyFileEx} "${un}" "$g_strSysWow64\dllcache\msd3d8.dll" "$g_strSysWow64\dllcache\d3d8.dll" "Microsoft Corporation" "x86"
     1061    ${CopyFileEx} "${un}" "$g_strSysWow64\dllcache\msd3d9.dll" "$g_strSysWow64\dllcache\d3d9.dll" "Microsoft Corporation" "x86"
    10621062  ${EndIf}
    10631063!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