Changeset 106962 in vbox for trunk/src/VBox/Additions/WINNT/Installer
- Timestamp:
- Nov 12, 2024 2:44:38 PM (3 months ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r106896 r106962 56 56 !endif 57 57 58 FILE "$%PATH_OUT%\bin\additions\VBoxDrvInst.exe" 58 59 FILE "$%PATH_OUT%\bin\additions\VBoxGuestInstallHelper.exe" 59 60 … … 237 238 ; Misc tools 238 239 SetOutPath "$0\Tools" 240 FILE "$%PATH_OUT%\bin\additions\VBoxDrvInst.exe" 239 241 FILE "$%PATH_OUT%\bin\additions\VBoxGuestInstallHelper.exe" 240 242 !ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh
r106896 r106962 34 34 35 35 ; Remove common files 36 Delete /REBOOTOK "$INSTDIR\VBoxDrvInst.exe" 36 37 Delete /REBOOTOK "$INSTDIR\VBoxGuestInstallHelper.exe" 37 38 … … 83 84 ${LogVerbose} "Detected OS version: Windows $g_strWinVersion" 84 85 ${LogVerbose} "System Directory: $g_strSystemDir" 85 !endif 86 ${LogVerbose} "Temp Directory: $TEMP" 87 !endif 88 89 ; Create temp directory where we can store uninstallation logs. 90 CreateDirectory "$TEMP\${PRODUCT_NAME}" 86 91 87 92 ; Which OS are we using? -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r106896 r106962 525 525 ${If} $g_bNoGuestDrv == "false" 526 526 ${LogVerbose} "Installing guest driver ..." 527 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver install $\"$INSTDIR\VBoxGuest$g_strEarlyNTDrvInfix.inf$\" $\"PCI\VEN_80EE&DEV_CAFE$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort'527 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$INSTDIR\install_drivers.log$\" install --inf-file $\"$INSTDIR\VBoxGuest$g_strEarlyNTDrvInfix.inf$\"" 'non-zero-exitcode=abort' 528 528 ${Else} 529 529 ${LogVerbose} "Guest driver installation skipped!" … … 534 534 ${If} $g_bWithWDDM == "true" 535 535 ${LogVerbose} "Installing WDDM video driver..." 536 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver install $\"$INSTDIR\VBoxWddm.inf$\" $\"$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort'536 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$INSTDIR\install_drivers.log$\" install --inf-file $\"$INSTDIR\VBoxWddm.inf$\"" 'non-zero-exitcode=abort' 537 537 ${Else} 538 538 ${LogVerbose} "Installing video driver ..." 539 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver install $\"$INSTDIR\VBoxVideo$g_strEarlyNTDrvInfix.inf$\" $\"$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort'539 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$INSTDIR\install_drivers.log$\" install --inf-file $\"$INSTDIR\VBoxVideo$g_strEarlyNTDrvInfix.inf$\"" 'non-zero-exitcode=abort' 540 540 ${EndIf} 541 541 ${Else} … … 549 549 ${If} $g_bNoMouseDrv == "false" 550 550 ${LogVerbose} "Installing mouse driver ..." 551 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver executeinf $\"$INSTDIR\VBoxMouse.inf$\" $\"DefaultInstall.NT$%KBUILD_TARGET_ARCH%$\" $\"$INSTDIR\install_drivers.log$\"" 'non-zero-exitcode=abort'551 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$INSTDIR\install_drivers.log$\" install --inf-file $\"$INSTDIR\VBoxMouse.inf$\"" 'non-zero-exitcode=abort' 552 552 ${Else} 553 553 ${LogVerbose} "Mouse driver installation skipped!" … … 700 700 ; Remove VirtualBox video driver 701 701 ${LogVerbose} "Uninstalling video driver ..." 702 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver uninstall $\"$INSTDIR\VBoxVideo$g_strEarlyNTDrvInfix.inf$\"$\"VBoxVideo*$\"" 'non-zero-exitcode=log'702 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$TEMP\${PRODUCT_NAME}\uninstall_drivers.log$\" uninstall --model $\"VBoxVideo*$\"" 'non-zero-exitcode=log' 703 703 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxVideo" 'non-zero-exitcode=log' 704 704 Delete /REBOOTOK "$g_strSystemDir\drivers\VBoxVideo.sys" … … 709 709 710 710 ${LogVerbose} "Uninstalling WDDM video driver..." 711 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver uninstall $\"$INSTDIR\VBoxWddm.inf$\"$\"VBoxWddm*$\"" 'non-zero-exitcode=log'711 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$TEMP\${PRODUCT_NAME}\uninstall_drivers.log$\" uninstall --model $\"VBoxWddm*$\"" 'non-zero-exitcode=log' 712 712 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxWddm" 'non-zero-exitcode=log' 713 713 ;misha> @todo driver file removal (as well as service removal) should be done as driver package uninstall … … 717 717 ; Obsolete files begin 718 718 ${LogVerbose} "Uninstalling WDDM video driver for Windows 8..." 719 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver uninstall $\"$INSTDIR\VBoxVideoW8.inf$\"$\"VBoxVideoW8*$\"" 'non-zero-exitcode=log'719 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$TEMP\${PRODUCT_NAME}\uninstall_drivers.log$\" uninstall --model $\"VBoxVideoW8*$\"" 'non-zero-exitcode=log' 720 720 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxVideoW8" 'non-zero-exitcode=log' 721 721 ;misha> @todo driver file removal (as well as service removal) should be done as driver package uninstall … … 724 724 725 725 ${LogVerbose} "Uninstalling WDDM video driver for Windows Vista and 7..." 726 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver uninstall $\"$INSTDIR\VBoxVideoWddm.inf$\"$\"VBoxVideoWddm*$\"" 'non-zero-exitcode=log'726 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$TEMP\${PRODUCT_NAME}\uninstall_drivers.log$\" uninstall --model $\"VBoxVideoWddm*$\"" 'non-zero-exitcode=log' 727 727 ; Always try to remove both VBoxVideoWddm & VBoxVideo services no matter what is installed currently 728 728 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxVideoWddm" 'non-zero-exitcode=log' … … 761 761 ; Remove mouse driver 762 762 ${LogVerbose} "Removing mouse driver ..." 763 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver uninstall $\"$INSTDIR\VBoxMouse.inf$\"$\"VBoxMouse*$\"" 'non-zero-exitcode=log'763 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$TEMP\${PRODUCT_NAME}\uninstall_drivers.log$\" uninstall --model $\"VBoxMouse*$\"" 'non-zero-exitcode=log' 764 764 ; @todo Fix VBoxMouse.inf to also take care of the next line! 765 765 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" registry delmultisz $\"SYSTEM\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}$\" $\"UpperFilters$\" $\"VBoxMouse$\"" 'non-zero-exitcode=log' … … 784 784 DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "VBoxTray" 785 785 786 ; Remove guest driver 786 ; Remove guest driver. Needs to be done last. 787 787 ${LogVerbose} "Removing guest driver ..." 788 ${CmdExecute} "$\"$INSTDIR\VBox GuestInstallHelper.exe$\" driver uninstall $\"$INSTDIR\VBoxGuest$g_strEarlyNTDrvInfix.inf$\"$\"VBoxGuest*$\"" 'non-zero-exitcode=log'788 ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" --logfile $\"$TEMP\${PRODUCT_NAME}\uninstall_drivers.log$\" uninstall --model $\"VBoxGuest*$\"" 'non-zero-exitcode=log' 789 789 790 790 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxGuest" 'non-zero-exitcode=log'
Note:
See TracChangeset
for help on using the changeset viewer.