VirtualBox

Changeset 34635 in vbox


Ignore:
Timestamp:
Dec 2, 2010 5:39:57 PM (14 years ago)
Author:
vboxsync
Message:

Windows Guest Additions: Ship with GPLv2 license.

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

Legend:

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

    r34363 r34635  
    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))' \
    171172        $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),-E 'VBOX_BRAND_$(lang)_LICENSE_RTF=$(VBOX_BRAND_$(lang)_LICENSE_RTF)') \
    172173        -E 'BUILD_TYPE=$(KBUILD_TYPE)' \
     
    231232                        $(if $(VBOX_SIGNING_MODE),'/DEXTERNAL_UNINSTALLER=1') \
    232233                        $(if $(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_INSTALLER_ADD_LANGUAGES=1') \
     234                        $(if $(VBOX_BRAND_LICENSE_TXT),'/DVBOX_WITH_LICENSE_INSTALL_TXT=1') \
    233235                        $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_BRAND_$(lang)_LICENSE_RTF=1') \
    234236                        '$(subst /,\,$<)'
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r34627 r34635  
    2020!define PRODUCT_UNINST_KEY          "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
    2121!define PRODUCT_UNINST_ROOT_KEY     "HKLM"
     22
     23!define LICENSE_FILE_TXT            "$INSTDIR\license.txt"
    2224
    2325; Needed for InstallLib macro: Install libraries in every case
     
    547549  SetOutPath "$INSTDIR"
    548550  SetOverwrite on
     551
     552!ifdef VBOX_WITH_LICENSE_INSTALL_TXT
     553  ; Copy license file (if any) into the installation directory
     554  FILE /oname=${LICENSE_FILE_TXT} "$%VBOX_BRAND_LICENSE_TXT%"
     555!endif
    549556
    550557  FILE "$%PATH_OUT%\bin\additions\VBoxDrvInst.exe"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh

    r34099 r34635  
    8080!endif
    8181
     82!ifdef VBOX_WITH_LICENSE_INSTALL_TXT
     83  Delete /REBOOTOK ${LICENSE_FILE_TXT}
     84!endif
     85
    8286  Delete /REBOOTOK "$INSTDIR\VBoxGINA.dll"
    8387  Delete /REBOOTOK "$INSTDIR\iexplore.ico"
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