VirtualBox

Ignore:
Timestamp:
Jun 30, 2020 11:15:18 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138904
Message:

GA/Installer/WinNT: Prevent a repeated recovery of d3d9.dll, bugref:9725

File:
1 edited

Legend:

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

    r84945 r85006  
    723723  Call ${un}VerifyFile
    724724  Pop $0
     725
     726  Push "${Architecture}"
     727  Push "Oracle Corporation"
     728  Push "${FileDest}"
     729  Call ${un}VerifyFile
     730  Pop $0
     731
    725732  ${If} $0 == "0"
    726733    ${LogVerbose} "Copying verified file $\"${FileSrc}$\" to $\"${FileDest}$\" ..."
     
    812819  Call ${un}SetAppMode64
    813820
    814   ; Note: Not finding a file (like *d3d8.dll) on Windows Vista/7 is fine;
    815   ;       it simply is not present there.
    816 
    817   ; Note 2: On 64-bit systems there are no 64-bit *d3d8 DLLs, only 32-bit ones
    818   ;         in SysWOW64 (or in system32 on 32-bit systems).
    819 
    820821  ${LogVerbose} "Restoring original D3D files ..."
    821 !if $%KBUILD_TARGET_ARCH% == "x86"
    822822  ${CopyFileEx} "${un}" "$SYSDIR\msd3d8.dll" "$SYSDIR\d3d8.dll" "Microsoft Corporation" "$%KBUILD_TARGET_ARCH%"
    823 !endif
    824823  ${CopyFileEx} "${un}" "$SYSDIR\msd3d9.dll" "$SYSDIR\d3d9.dll" "Microsoft Corporation" "$%KBUILD_TARGET_ARCH%"
    825824
    826825  ${If} $g_bCapDllCache == "true"
    827 !if $%KBUILD_TARGET_ARCH% == "x86"
    828826    ${CopyFileEx} "${un}" "$SYSDIR\dllcache\msd3d8.dll" "$SYSDIR\dllcache\d3d8.dll" "Microsoft Corporation" "$%KBUILD_TARGET_ARCH%"
    829 !endif
    830827    ${CopyFileEx} "${un}" "$SYSDIR\dllcache\msd3d9.dll" "$SYSDIR\dllcache\d3d9.dll" "Microsoft Corporation" "$%KBUILD_TARGET_ARCH%"
    831828  ${EndIf}
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