VirtualBox

Changeset 35659 in vbox for trunk


Ignore:
Timestamp:
Jan 20, 2011 4:49:12 PM (14 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Also apply license file handling to uninstaller.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r35651 r35659  
    192192        -E 'VBOX_WITH_CROGL=$(if $(VBOX_WITH_CROGL),1,0)' \
    193193        -E 'VBOX_WITH_GUEST_INSTALL_HELPER=$(if $(VBOX_WITH_GUEST_INSTALL_HELPER),1,0)' \
     194        -E 'VBOX_WITH_LICENSE_INSTALL_RTF=$(if $(VBOX_BRAND_LICENSE_RTF),1,0)' \
    194195        -E 'VBOX_WITH_WDDM=$(if $(VBOX_WITH_WDDM_ENABLED),1,0)' \
    195196        -E 'VBOX_BRAND_WIN_ADD_INST_DLGBMP=$(subst /,\,$(VBOX_BRAND_WIN_ADD_INST_DLGBMP))' \
     
    257258                        $(if $(VBOX_SIGNING_MODE),'/DEXTERNAL_UNINSTALLER=1') \
    258259                        $(if $(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_INSTALLER_ADD_LANGUAGES=1') \
    259                         $(if $(VBOX_BRAND_LICENSE_RTF),'/DVBOX_WITH_LICENSE_INSTALL_RTF=1') \
    260260                        $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_BRAND_$(lang)_LICENSE_RTF=1') \
    261261                        '$(subst /,\,$<)'
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r35651 r35659  
    99  StrCpy "$0" "$INSTDIR\$%BUILD_TARGET_ARCH%"
    1010
    11 !ifdef VBOX_WITH_LICENSE_INSTALL_RTF
     11!if $%VBOX_WITH_LICENSE_INSTALL_RTF% == "1"
    1212  FILE "/oname=$0\${LICENSE_FILE_RTF}" "$%VBOX_BRAND_LICENSE_RTF%"
    1313!endif
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh

    r35654 r35659  
    1616!endif
    1717
    18 !ifdef VBOX_WITH_LICENSE_INSTALL_RTF
     18!if $%VBOX_WITH_LICENSE_INSTALL_RTF% == "1"
    1919  Delete /REBOOTOK "$INSTDIR\${LICENSE_FILE_RTF}"
    2020!endif
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