VirtualBox

Changeset 37016 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
May 9, 2011 5:48:43 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71631
Message:

Added VBOX_VERSION_STRING_RAW to only handle/store the pure VBox version without any suffixes. Fixes bug #8844.

Location:
trunk/src/VBox/Installer/win
Files:
3 edited

Legend:

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

    r35166 r37016  
    55
    66#
    7 # Copyright (C) 2006-2010 Oracle Corporation
     7# Copyright (C) 2006-2011 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    356356                -E 'VBOX_C_YEAR=$(VBOX_C_YEAR)' \
    357357                -E 'VBOX_VERSION_STRING=$(VBOX_VERSION_STRING)' \
     358                -E 'VBOX_VERSION_STRING_RAW=$(VBOX_VERSION_STRING_RAW)' \
    358359                -E 'VBOX_VERSION_MAJOR_INST=$(VBOX_VERSION_MAJOR)' \
    359360                -E 'VBOX_VERSION_MINOR_INST=$(VBOX_VERSION_MINOR)' \
     
    427428#
    428429$(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi: $(PATH_SUB_CURRENT)/VBoxKey.wxi $(VBOX_VERSION_STAMP) | $$(dir $$@)
    429         $(SED) -e 's/%VER%/$(VBOX_VERSION_STRING)/' --output $@ $<
     430        $(SED) -e 's/%VER%/$(VBOX_VERSION_STRING_RAW)/' --output $@ $<
     431        $(SED) -e 's/%VER_EXT%/$(VBOX_VERSION_STRING)/' --output $@ $<
    430432
    431433#
  • trunk/src/VBox/Installer/win/VBoxKey.wxi

    r31659 r37016  
    11<Include>
    22    <Registry Root="HKLM" Key="$(var.Property_RegKey)" Name="Version" Value="%VER%" Type="string" />
     3    <Registry Root="HKLM" Key="$(var.Property_RegKey)" Name="VersionExt" Value="%VER_EXT%" Type="string" />
    34    <Registry Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Value="[INSTALLDIR]" Type="string" />
    45</Include>
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r36715 r37016  
    33    VirtualBox Windows Installation Script (WiX)
    44
    5     Copyright (C) 2006-2010 Oracle Corporation
     5    Copyright (C) 2006-2011 Oracle Corporation
    66
    77    This file is part of VirtualBox Open Source Edition (OSE), as
     
    1515
    1616<?define Property_RegKey ="Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
    17 <?define Property_Version = "$(env.VBOX_VERSION_STRING)" ?>
     17<?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?>
     18<?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?>
    1819<?define Property_Upgrade = "yes" ?>
    1920
     
    7475        <!-- Package GUIDs must be different for each package. The "???" directs WiX to create one. -->
    7576        <Package Id="????????-????-????-????-????????????" Keywords="Installer"
    76                  Description="$(env.VBOX_PRODUCT) $(var.Property_Version) installation package"
     77                 Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
    7778                 Comments="$(env.VBOX_PRODUCT) installation package"
    7879                 Manufacturer="$(env.VBOX_VENDOR)"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette