VirtualBox

Changeset 35365 in vbox


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

adds installer/win: wine d3d 64bit for xpdm

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r35319 r35365  
    116116        $(PATH_BIN)/additions/VBoxOGLfeedbackspu.dll \
    117117        $(PATH_BIN)/additions/VBoxOGL.dll \
    118         $(VBOX_PATH_ADDITIONS.win.x86)/libWine.dll \
    119     $(VBOX_PATH_ADDITIONS.win.x86)/wined3d.dll \
    120     $(VBOX_PATH_ADDITIONS.win.x86)/VBoxD3D9.dll \
    121         $(VBOX_PATH_ADDITIONS.win.x86)/VBoxD3D8.dll
     118    $(PATH_BIN)/additions/wined3d.dll \
     119    $(PATH_BIN)/additions/VBoxD3D9.dll \
     120        $(PATH_BIN)/additions/VBoxD3D8.dll
     121 ifeq ($(KBUILD_TARGET_ARCH),x86)
     122DRIVER_FILES += \
     123        $(PATH_BIN)/additions/libWine.dll
     124 endif
    122125 ifeq ($(KBUILD_TARGET_ARCH),amd64)
    123126    # Also include 32-bit DLLs on 64-bit guests to enable
     
    130133                $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLpassthroughspu.dll \
    131134                $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLfeedbackspu.dll \
    132                 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGL.dll
     135                $(VBOX_PATH_ADDITIONS.win.x86)/libWine.dll \
     136                $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGL.dll \
     137                $(VBOX_PATH_ADDITIONS.win.x86)/wined3d.dll \
     138        $(VBOX_PATH_ADDITIONS.win.x86)/VBoxD3D9.dll \
     139                $(VBOX_PATH_ADDITIONS.win.x86)/VBoxD3D8.dll
     140               
    133141 endif
    134142endif
  • 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"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r35319 r35365  
    3232  FILE "$%PATH_OUT%\bin\additions\VBoxOGL.dll"
    3333
    34   ; Do *not* install 64-bit d3d files - they don't work yet
     34  SetOutPath "$0\VBoxVideo\OpenGL"
     35  FILE "$%PATH_OUT%\bin\additions\d3d8.dll"
     36  FILE "$%PATH_OUT%\bin\additions\d3d9.dll"
    3537  !if $%BUILD_TARGET_ARCH% == "x86"
    36     SetOutPath "$0\VBoxVideo\OpenGL"
    37     FILE "$%PATH_OUT%\bin\additions\d3d8.dll"
    38     FILE "$%PATH_OUT%\bin\additions\d3d9.dll"
     38    ; libWine is used for 32bit d3d only
     39    ; @todo: remove it for 32bit as well
    3940    FILE "$%PATH_OUT%\bin\additions\libWine.dll"
    40     FILE "$%PATH_OUT%\bin\additions\VBoxD3D8.dll"
    41     FILE "$%PATH_OUT%\bin\additions\VBoxD3D9.dll"
    42     FILE "$%PATH_OUT%\bin\additions\wined3d.dll"
    4341  !endif
     42  FILE "$%PATH_OUT%\bin\additions\VBoxD3D8.dll"
     43  FILE "$%PATH_OUT%\bin\additions\VBoxD3D9.dll"
     44  FILE "$%PATH_OUT%\bin\additions\wined3d.dll"
    4445
    4546  !if $%BUILD_TARGET_ARCH% == "amd64"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r35319 r35365  
    597597
    598598  DetailPrint "Removing 3D graphics support ..."
    599   !if $%BUILD_TARGET_ARCH% == "x86"
    600     Delete /REBOOTOK "$g_strSystemDir\VBoxOGLarrayspu.dll"
    601     Delete /REBOOTOK "$g_strSystemDir\VBoxOGLcrutil.dll"
    602     Delete /REBOOTOK "$g_strSystemDir\VBoxOGLerrorspu.dll"
    603     Delete /REBOOTOK "$g_strSystemDir\VBoxOGLpackspu.dll"
    604     Delete /REBOOTOK "$g_strSystemDir\VBoxOGLpassthroughspu.dll"
    605     Delete /REBOOTOK "$g_strSystemDir\VBoxOGLfeedbackspu.dll"
    606     Delete /REBOOTOK "$g_strSystemDir\VBoxOGL.dll"
    607 
    608     ; Remove D3D stuff
    609     ; @todo add a feature flag to only remove if installed explicitly
    610     Delete /REBOOTOK "$g_strSystemDir\libWine.dll"
    611     Delete /REBOOTOK "$g_strSystemDir\VBoxD3D8.dll"
    612     Delete /REBOOTOK "$g_strSystemDir\VBoxD3D9.dll"
    613     Delete /REBOOTOK "$g_strSystemDir\wined3d.dll"
    614     ; Update DLL cache
    615     IfFileExists "$g_strSystemDir\dllcache\msd3d8.dll" 0 +2
    616       Delete /REBOOTOK "$g_strSystemDir\dllcache\d3d8.dll"
    617       Rename /REBOOTOK "$g_strSystemDir\dllcache\msd3d8.dll" "$g_strSystemDir\dllcache\d3d8.dll"
    618     IfFileExists g_strSystemDir\dllcache\msd3d9.dll" 0 +2
    619       Delete /REBOOTOK "$g_strSystemDir\dllcache\d3d9.dll"
    620       Rename /REBOOTOK "$g_strSystemDir\dllcache\msd3d9.dll" "$g_strSystemDir\dllcache\d3d9.dll"
    621     ; Restore original DX DLLs
    622     IfFileExists "$g_strSystemDir\msd3d8.dll" 0 +2
    623       Delete /REBOOTOK "$g_strSystemDir\d3d8.dll"
    624       Rename /REBOOTOK "$g_strSystemDir\msd3d8.dll" "$g_strSystemDir\d3d8.dll"
    625     IfFileExists "$g_strSystemDir\msd3d9.dll" 0 +2
    626       Delete /REBOOTOK "$g_strSystemDir\d3d9.dll"
    627       Rename /REBOOTOK "$g_strSystemDir\msd3d9.dll" "$g_strSystemDir\d3d9.dll"
    628 
    629   !else ; amd64
     599
     600  Delete /REBOOTOK "$g_strSystemDir\VBoxOGLarrayspu.dll"
     601  Delete /REBOOTOK "$g_strSystemDir\VBoxOGLcrutil.dll"
     602  Delete /REBOOTOK "$g_strSystemDir\VBoxOGLerrorspu.dll"
     603  Delete /REBOOTOK "$g_strSystemDir\VBoxOGLpackspu.dll"
     604  Delete /REBOOTOK "$g_strSystemDir\VBoxOGLpassthroughspu.dll"
     605  Delete /REBOOTOK "$g_strSystemDir\VBoxOGLfeedbackspu.dll"
     606  Delete /REBOOTOK "$g_strSystemDir\VBoxOGL.dll"
     607
     608  ; Remove D3D stuff
     609  ; @todo add a feature flag to only remove if installed explicitly
     610  Delete /REBOOTOK "$g_strSystemDir\libWine.dll"
     611  Delete /REBOOTOK "$g_strSystemDir\VBoxD3D8.dll"
     612  Delete /REBOOTOK "$g_strSystemDir\VBoxD3D9.dll"
     613  Delete /REBOOTOK "$g_strSystemDir\wined3d.dll"
     614  ; Update DLL cache
     615  IfFileExists "$g_strSystemDir\dllcache\msd3d8.dll" 0 +2
     616    Delete /REBOOTOK "$g_strSystemDir\dllcache\d3d8.dll"
     617    Rename /REBOOTOK "$g_strSystemDir\dllcache\msd3d8.dll" "$g_strSystemDir\dllcache\d3d8.dll"
     618  IfFileExists g_strSystemDir\dllcache\msd3d9.dll" 0 +2
     619    Delete /REBOOTOK "$g_strSystemDir\dllcache\d3d9.dll"
     620    Rename /REBOOTOK "$g_strSystemDir\dllcache\msd3d9.dll" "$g_strSystemDir\dllcache\d3d9.dll"
     621  ; Restore original DX DLLs
     622  IfFileExists "$g_strSystemDir\msd3d8.dll" 0 +2
     623    Delete /REBOOTOK "$g_strSystemDir\d3d8.dll"
     624    Rename /REBOOTOK "$g_strSystemDir\msd3d8.dll" "$g_strSystemDir\d3d8.dll"
     625  IfFileExists "$g_strSystemDir\msd3d9.dll" 0 +2
     626    Delete /REBOOTOK "$g_strSystemDir\d3d9.dll"
     627    Rename /REBOOTOK "$g_strSystemDir\msd3d9.dll" "$g_strSystemDir\d3d9.dll"
     628
     629  !if $%BUILD_TARGET_ARCH% == "amd64"
    630630
    631631    ; Only 64-bit installer: Also remove 32-bit DLLs on 64-bit target arch in Wow64 node
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