VirtualBox

Changeset 96775 in vbox


Ignore:
Timestamp:
Sep 16, 2022 11:39:31 PM (2 years ago)
Author:
vboxsync
Message:

Add/Nt/Installer: Removed iexplore.ico as it's not needed, except perhaps on NT4.

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  
    692692
    693693  ; Copy some common files ...
     694  Call Common_CleanupObsoleteFiles
    694695  Call Common_CopyFiles
    695696
     
    704705
    705706  ; Copy some common files ...
     707  Call Common_CleanupObsoleteFiles
    706708  Call Common_CopyFiles
    707709
     
    718720
    719721  ; Copy some common files ...
     722  Call Common_CleanupObsoleteFiles
    720723  Call Common_CopyFiles
    721724
     
    804807
    805808  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"
    807810  CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\uninst.exe"
    808811
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r96695 r96775  
    2525; SPDX-License-Identifier: GPL-3.0-only
    2626;
     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;
     37Function ${un}Common_CleanupObsoleteFiles
     38  Delete /REBOOTOK "$INSTDIR\iexplore.ico"      ; Removed in r153662.
     39FunctionEnd
     40!macroend
     41!insertmacro Common_CleanupObsoleteFiles ""
     42!ifdef UNINSTALLER_ONLY
     43  !insertmacro Common_CleanupObsoleteFiles "un."
     44!endif
    2745
    2846Function Common_CopyFiles
     
    4765  ${EndIf}
    4866!endif
    49 
    50   FILE "iexplore.ico"
    5167
    5268FunctionEnd
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh

    r96694 r96775  
    4747
    4848  Delete /REBOOTOK "$INSTDIR\VBoxGINA.dll"
    49   Delete /REBOOTOK "$INSTDIR\iexplore.ico"
    5049
    5150  ; Delete registry keys
     
    139138!insertmacro Uninstall "un."
    140139
     140;;
     141; The last step of the uninstallation where we remove all files from the
     142; install directory and such.
     143;
    141144!macro UninstallInstDir un
    142145Function ${un}UninstallInstDir
     
    165168  ${EndIf}
    166169
    167   Goto notsupported
     170  MessageBox MB_ICONSTOP $(VBOX_PLATFORM_UNSUPPORTED) /SD IDOK
     171  Goto exit
    168172
    169173!if $%KBUILD_TARGET_ARCH% == "x86"       ; 32-bit
     
    185189  goto common
    186190
    187 notsupported:
    188 
    189   MessageBox MB_ICONSTOP $(VBOX_PLATFORM_UNSUPPORTED) /SD IDOK
    190   Goto exit
    191 
    192191common:
    193192
     193  Call ${un}Common_CleanupObsoleteFiles
     194
     195  ; This will attempt remove the install dir, so must be last.
    194196  Call ${un}UninstallCommon
    195197
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