VirtualBox

Changeset 34677 in vbox


Ignore:
Timestamp:
Dec 3, 2010 8:20:16 AM (14 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Use license file in RTF format, looks much nicer. Also supply the file on manual file extraction.

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

Legend:

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

    r34635 r34677  
    169169        -E 'VBOX_BRAND_WIN_ADD_INST_DLGBMP=$(subst /,\,$(VBOX_BRAND_WIN_ADD_INST_DLGBMP))' \
    170170        -E 'VBOX_BRAND_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))' \
    171         -E 'VBOX_BRAND_LICENSE_TXT=$(subst /,\,$(VBOX_BRAND_LICENSE_TXT))' \
    172171        $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),-E 'VBOX_BRAND_$(lang)_LICENSE_RTF=$(VBOX_BRAND_$(lang)_LICENSE_RTF)') \
    173172        -E 'BUILD_TYPE=$(KBUILD_TYPE)' \
     
    232231                        $(if $(VBOX_SIGNING_MODE),'/DEXTERNAL_UNINSTALLER=1') \
    233232                        $(if $(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_INSTALLER_ADD_LANGUAGES=1') \
    234                         $(if $(VBOX_BRAND_LICENSE_TXT),'/DVBOX_WITH_LICENSE_INSTALL_TXT=1') \
     233                        $(if $(VBOX_BRAND_LICENSE_RTF),'/DVBOX_WITH_LICENSE_INSTALL_RTF=1') \
    235234                        $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_BRAND_$(lang)_LICENSE_RTF=1') \
    236235                        '$(subst /,\,$<)'
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r34635 r34677  
    2121!define PRODUCT_UNINST_ROOT_KEY     "HKLM"
    2222
    23 !define LICENSE_FILE_TXT            "$INSTDIR\license.txt"
     23!define LICENSE_FILE_RTF            "license.rtf"
    2424
    2525; Needed for InstallLib macro: Install libraries in every case
     
    550550  SetOverwrite on
    551551
    552 !ifdef VBOX_WITH_LICENSE_INSTALL_TXT
     552!ifdef VBOX_WITH_LICENSE_INSTALL_RTF
    553553  ; Copy license file (if any) into the installation directory
    554   FILE /oname=${LICENSE_FILE_TXT} "$%VBOX_BRAND_LICENSE_TXT%"
     554  FILE "/oname=${LICENSE_FILE_RTF}" "$%VBOX_BRAND_LICENSE_RTF%"
    555555!endif
    556556
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r34549 r34677  
    88  Push $0
    99  StrCpy "$0" "$INSTDIR\$%BUILD_TARGET_ARCH%"
     10
     11!ifdef VBOX_WITH_LICENSE_INSTALL_RTF
     12  FILE "/oname=$0\${LICENSE_FILE_RTF}" "$%VBOX_BRAND_LICENSE_RTF%"
     13!endif
    1014
    1115  ; Video driver
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh

    r34635 r34677  
    8080!endif
    8181
    82 !ifdef VBOX_WITH_LICENSE_INSTALL_TXT
    83   Delete /REBOOTOK ${LICENSE_FILE_TXT}
     82!ifdef VBOX_WITH_LICENSE_INSTALL_RTF
     83  Delete /REBOOTOK "$INSTDIR\${LICENSE_FILE_RTF}"
    8484!endif
    8585
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