Changeset 96775 in vbox
- Timestamp:
- Sep 16, 2022 11:39:31 PM (2 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r96770 r96775 692 692 693 693 ; Copy some common files ... 694 Call Common_CleanupObsoleteFiles 694 695 Call Common_CopyFiles 695 696 … … 704 705 705 706 ; Copy some common files ... 707 Call Common_CleanupObsoleteFiles 706 708 Call Common_CopyFiles 707 709 … … 718 720 719 721 ; Copy some common files ... 722 Call Common_CleanupObsoleteFiles 720 723 Call Common_CopyFiles 721 724 … … 804 807 805 808 CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}" 806 CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" "" "$INSTDIR\iexplore.ico"809 CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" 807 810 CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\uninst.exe" 808 811 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r96695 r96775 25 25 ; SPDX-License-Identifier: GPL-3.0-only 26 26 ; 27 28 29 !macro Common_CleanupObsoleteFiles un 30 ;; 31 ; Removes common files we're no longer shipping. 32 ; 33 ; During installation this step should be taken before copy files over in case 34 ; the list gets out of sync and we start shipping files on it. That way it 35 ; doesn't much matter as the file will be restore afterwards. 36 ; 37 Function ${un}Common_CleanupObsoleteFiles 38 Delete /REBOOTOK "$INSTDIR\iexplore.ico" ; Removed in r153662. 39 FunctionEnd 40 !macroend 41 !insertmacro Common_CleanupObsoleteFiles "" 42 !ifdef UNINSTALLER_ONLY 43 !insertmacro Common_CleanupObsoleteFiles "un." 44 !endif 27 45 28 46 Function Common_CopyFiles … … 47 65 ${EndIf} 48 66 !endif 49 50 FILE "iexplore.ico"51 67 52 68 FunctionEnd -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh
r96694 r96775 47 47 48 48 Delete /REBOOTOK "$INSTDIR\VBoxGINA.dll" 49 Delete /REBOOTOK "$INSTDIR\iexplore.ico"50 49 51 50 ; Delete registry keys … … 139 138 !insertmacro Uninstall "un." 140 139 140 ;; 141 ; The last step of the uninstallation where we remove all files from the 142 ; install directory and such. 143 ; 141 144 !macro UninstallInstDir un 142 145 Function ${un}UninstallInstDir … … 165 168 ${EndIf} 166 169 167 Goto notsupported 170 MessageBox MB_ICONSTOP $(VBOX_PLATFORM_UNSUPPORTED) /SD IDOK 171 Goto exit 168 172 169 173 !if $%KBUILD_TARGET_ARCH% == "x86" ; 32-bit … … 185 189 goto common 186 190 187 notsupported:188 189 MessageBox MB_ICONSTOP $(VBOX_PLATFORM_UNSUPPORTED) /SD IDOK190 Goto exit191 192 191 common: 193 192 193 Call ${un}Common_CleanupObsoleteFiles 194 195 ; This will attempt remove the install dir, so must be last. 194 196 Call ${un}UninstallCommon 195 197
Note:
See TracChangeset
for help on using the changeset viewer.