VirtualBox

Ignore:
Timestamp:
Dec 30, 2010 12:32:53 PM (14 years ago)
Author:
vboxsync
Message:

adds installer/win: wine d3d 64bit for xpdm

File:
1 edited

Legend:

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

    r34745 r35365  
    756756  ${EndIf}
    757757
    758   ; crOpenGL: Do *not* install 64-bit files - they don't work yet (use !define LIBRARY_X64 later)
    759   ;           Only 32-bit apps on 64-bit work (see next block)
     758  SetOutPath $g_strSystemDir
     759  DetailPrint "Installing Direct3D support ..."
    760760  !if $%BUILD_TARGET_ARCH% == "x86"
    761     SetOutPath $g_strSystemDir
    762     DetailPrint "Installing Direct3D support ..."
    763761    FILE "$%PATH_OUT%\bin\additions\libWine.dll"
    764     FILE "$%PATH_OUT%\bin\additions\VBoxD3D8.dll"
    765     FILE "$%PATH_OUT%\bin\additions\VBoxD3D9.dll"
    766     FILE "$%PATH_OUT%\bin\additions\wined3d.dll"
    767 
    768     ; Update DLL cache
    769     SetOutPath "$g_strSystemDir\dllcache"
    770     IfFileExists "$g_strSystemDir\dllcache\msd3d8.dll" +1
    771       CopyFiles /SILENT "$g_strSystemDir\dllcache\d3d8.dll" "$g_strSystemDir\dllcache\msd3d8.dll"
    772     IfFileExists "$g_strSystemDir\dllcache\msd3d9.dll" +1
    773       CopyFiles /SILENT "$g_strSystemDir\dllcache\d3d9.dll" "$g_strSystemDir\dllcache\msd3d9.dll"
    774 
    775     Push "$g_strSystemDir\dllcache\d3d8.dll"
    776     Call PrepareWRPFile
    777 
    778     Push "$g_strSystemDir\dllcache\d3d9.dll"
    779     Call PrepareWRPFile
    780 
    781     ; Exchange DLLs
    782     !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\dllcache\d3d8.dll" "$TEMP"
    783     !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\dllcache\d3d9.dll" "$TEMP"
    784 
    785     ; If exchange above failed, do it on reboot
    786     !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\dllcache\d3d8.dll" "$TEMP"
    787     !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\dllcache\d3d9.dll" "$TEMP"
    788 
    789     ; Save original DLLs ...
    790     SetOutPath $g_strSystemDir
    791     IfFileExists "$g_strSystemDir\msd3d8.dll" +1
    792       CopyFiles /SILENT "$g_strSystemDir\d3d8.dll" "$g_strSystemDir\msd3d8.dll"
    793     IfFileExists "$g_strSystemDir\msd3d8.dll" +1
    794       CopyFiles /SILENT "$g_strSystemDir\d3d9.dll" "$g_strSystemDir\msd3d9.dll"
    795 
    796     Push "$g_strSystemDir\d3d8.dll"
    797     Call PrepareWRPFile
    798 
    799     Push "$g_strSystemDir\d3d9.dll"
    800     Call PrepareWRPFile
    801 
    802     ; Exchange DLLs
    803     !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\d3d8.dll" "$TEMP"
    804     !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\d3d9.dll" "$TEMP"
    805 
    806     ; If exchange above failed, do it on reboot
    807     !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\d3d8.dll" "$TEMP"
    808     !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\d3d9.dll" "$TEMP"
    809762  !endif
     763  FILE "$%PATH_OUT%\bin\additions\VBoxD3D8.dll"
     764  FILE "$%PATH_OUT%\bin\additions\VBoxD3D9.dll"
     765  FILE "$%PATH_OUT%\bin\additions\wined3d.dll"
     766
     767  ; Update DLL cache
     768  SetOutPath "$g_strSystemDir\dllcache"
     769  IfFileExists "$g_strSystemDir\dllcache\msd3d8.dll" +1
     770    CopyFiles /SILENT "$g_strSystemDir\dllcache\d3d8.dll" "$g_strSystemDir\dllcache\msd3d8.dll"
     771  IfFileExists "$g_strSystemDir\dllcache\msd3d9.dll" +1
     772    CopyFiles /SILENT "$g_strSystemDir\dllcache\d3d9.dll" "$g_strSystemDir\dllcache\msd3d9.dll"
     773
     774  Push "$g_strSystemDir\dllcache\d3d8.dll"
     775  Call PrepareWRPFile
     776
     777  Push "$g_strSystemDir\dllcache\d3d9.dll"
     778  Call PrepareWRPFile
     779
     780  ; Exchange DLLs
     781  !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\dllcache\d3d8.dll" "$TEMP"
     782  !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\dllcache\d3d9.dll" "$TEMP"
     783
     784  ; If exchange above failed, do it on reboot
     785  !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\dllcache\d3d8.dll" "$TEMP"
     786  !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\dllcache\d3d9.dll" "$TEMP"
     787
     788  ; Save original DLLs ...
     789  SetOutPath $g_strSystemDir
     790  IfFileExists "$g_strSystemDir\msd3d8.dll" +1
     791    CopyFiles /SILENT "$g_strSystemDir\d3d8.dll" "$g_strSystemDir\msd3d8.dll"
     792  IfFileExists "$g_strSystemDir\msd3d8.dll" +1
     793    CopyFiles /SILENT "$g_strSystemDir\d3d9.dll" "$g_strSystemDir\msd3d9.dll"
     794
     795  Push "$g_strSystemDir\d3d8.dll"
     796  Call PrepareWRPFile
     797
     798  Push "$g_strSystemDir\d3d9.dll"
     799  Call PrepareWRPFile
     800
     801  ; Exchange DLLs
     802  !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\d3d8.dll" "$TEMP"
     803  !insertmacro InstallLib DLL NOTSHARED NOREBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\d3d9.dll" "$TEMP"
     804
     805  ; If exchange above failed, do it on reboot
     806  !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d8.dll" "$g_strSystemDir\d3d8.dll" "$TEMP"
     807  !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\d3d9.dll" "$g_strSystemDir\d3d9.dll" "$TEMP"
    810808
    811809  !if $%BUILD_TARGET_ARCH% == "amd64"
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