VirtualBox

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


Ignore:
Timestamp:
Dec 17, 2019 10:26:44 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135490
Message:

Windows Additions/Installer: Try restoring original Direct3D files which were replaced by older Guest Additions before.

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

Legend:

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

    r81648 r82603  
    775775Section /o $(VBOX_COMPONENT_D3D) SEC03
    776776
    777 !if $%VBOX_WITH_WDDM% == "1"
    778   ${If} $g_bWithWDDM == "true"
    779     ${LogVerbose} "Installing WDDM Direct3D support ..."
    780 
    781     ; Do we need to restore the original d3d8.dll/d3d9.dll files because the guest
    782     ; installation was upgraded from XPDM to WDDM driver? In a XPDM installation
    783     ; those DLLs were replaced by our own stub files.
    784     Call RestoreFilesDirect3D
    785     Return
    786   ${EndIf}
    787 !endif
    788 
    789 !ifndef WFP_FILE_EXCEPTION
    790   MessageBox MB_ICONINFORMATION|MB_OK $(VBOX_WFP_WARN_REPLACE) /SD IDOK
    791 !endif
    792   Goto exit
    793 
    794 exit:
     777  ; Nothing to do in here right now.
    795778
    796779SectionEnd
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh

    r82587 r82603  
    2929
    3030Function Vista_Prepare
     31
     32  ; Try to restore the original Direct3D files in case we're coming from an old(er) Guest Additions
     33  ; installation, which formerly replaced those system files with our own stubs.
     34  ; This no longer is needed and thus needs to be reverted in any case.
     35  Call RestoreFilesDirect3D
     36  ; Ignore the result in case we had trouble restoring. The system would be in an inconsistent state anyway.
    3137
    3238  Call VBoxMMR_Uninstall
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