Changeset 96693 in vbox
- Timestamp:
- Sep 12, 2022 8:40:05 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 153576
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r96687 r96693 95 95 !include "Sections.nsh" 96 96 !include "strstr.nsh" ; Function "strstr" 97 !include "servicepack.nsh" ; Function "GetServicePack" 97 !if $%KBUILD_TARGET_ARCH% == "x86" ; Only needed for NT4 SP6 recommendation. 98 !include "servicepack.nsh" ; Function "GetServicePack" 99 !endif 98 100 !include "winver.nsh" ; Function for determining Windows version 99 101 !define REPLACEDLL_NOREGISTER ; Replace in use DLL function … … 266 268 !include "VBoxGuestAdditionsVista.nsh" 267 269 !include "VBoxGuestAdditionsUninstall.nsh" ; Product uninstallation 268 !include "VBoxGuestAdditionsUninstallOld.nsh" ; Uninstallation of deprecated versions which must be removed first 270 !ifndef UNINSTALLER_ONLY 271 !include "VBoxGuestAdditionsUninstallOld.nsh" ; Uninstallation of deprecated versions which must be removed first 272 !endif 269 273 270 274 Function HandleCommandLine … … 488 492 FunctionEnd 489 493 494 !ifndef UNINSTALLER_ONLY 495 490 496 Function CheckForOldGuestAdditions 491 497 … … 494 500 Push $2 495 501 496 begin:497 498 502 ${LogVerbose} "Checking for old Guest Additions ..." 499 500 sun_check:501 503 502 504 ; Check for old "Sun VirtualBox Guest Additions" … … 603 605 604 606 FunctionEnd 607 608 !endif ; UNINSTALLER_ONLY 605 609 606 610 ; … … 1203 1207 SectionEnd 1204 1208 1205 ; !EXTERNAL_UNINSTALLER 1206 !endif 1209 !endif ; !EXTERNAL_UNINSTALLER 1207 1210 1208 1211 ;Direct the output to our bin dir -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r96687 r96693 269 269 !insertmacro GetWindowsVersionEx "un." 270 270 271 !ifndef UNINSTALLER_ONLY 271 272 !macro GetAdditionsVersion un 272 273 Function ${un}GetAdditionsVersion … … 333 334 !insertmacro GetAdditionsVersion "" 334 335 !insertmacro GetAdditionsVersion "un." 336 !endif ; UNINSTALLER_ONLY 335 337 336 338 !macro StopVBoxService un … … 345 347 ${LogVerbose} "Stopping VBoxService ..." 346 348 347 svc_stop:348 349 349 ${LogVerbose} "Stopping VBoxService via SCM ..." 350 350 ${If} $g_strWinVersion == "NT4" … … 355 355 Sleep "1000" ; Wait a bit 356 356 357 exe_stop:358 359 357 !ifdef _DEBUG 360 358 ${LogVerbose} "Stopping VBoxService (as exe) ..." … … 463 461 !macroend 464 462 463 !ifdef UNUSED_CODE ; Only used by unused Uninstall_RunExtUnInstaller function in VBoxguestAdditionsUninstallOld.nsh. 465 464 !macro AbortShutdown un 466 465 Function ${un}AbortShutdown … … 477 476 !insertmacro AbortShutdown "" 478 477 !insertmacro AbortShutdown "un." 478 !endif ; UNUSED_CODE 479 479 480 480 ;; -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh
r96687 r96693 235 235 FunctionEnd 236 236 !macroend 237 !insertmacro NT4_UninstallInstDir "" 237 ;!insertmacro NT4_UninstallInstDir "" - only .un version used 238 238 !insertmacro NT4_UninstallInstDir "un." 239 239 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh
r96407 r96693 74 74 FunctionEnd 75 75 !macroend 76 !insertmacro UninstallCommon "" 76 ;!insertmacro UninstallCommon "" - only .un version used 77 77 !insertmacro UninstallCommon "un." 78 78 … … 196 196 FunctionEnd 197 197 !macroend 198 !insertmacro UninstallInstDir "" 198 ;!insertmacro UninstallInstDir "" - only un. version is used. 199 199 !insertmacro UninstallInstDir "un." -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstallOld.nsh
r96407 r96693 26 26 ; 27 27 28 !ifdef UNUSED_CODE 28 29 !macro Uninstall_RunExtUnInstaller un 29 30 Function ${un}Uninstall_RunExtUnInstaller … … 91 92 !insertmacro Uninstall_RunExtUnInstaller "" 92 93 !insertmacro Uninstall_RunExtUnInstaller "un." 94 !endif ; UNUSED_CODE 93 95 94 96 !macro Uninstall_WipeInstallationDirectory un -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh
r96407 r96693 99 99 FunctionEnd 100 100 !macroend 101 !insertmacro Vista_UninstallInstDir "" 101 ;!insertmacro Vista_UninstallInstDir "" - only .un version used 102 102 !insertmacro Vista_UninstallInstDir "un." 103 103 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r96692 r96693 650 650 FunctionEnd 651 651 !macroend 652 !insertmacro W2K_UninstallInstDir "" 652 ;!insertmacro W2K_UninstallInstDir "" - only .un version used 653 653 !insertmacro W2K_UninstallInstDir "un." 654 654
Note:
See TracChangeset
for help on using the changeset viewer.