VirtualBox

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


Ignore:
Timestamp:
May 9, 2011 5:48:43 PM (14 years ago)
Author:
vboxsync
Message:

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

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

Legend:

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

    r35719 r37016  
    55
    66#
    7 # Copyright (C) 2006-2007 Oracle Corporation
     7# Copyright (C) 2006-2011 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    172172        -E 'VBOX_C_YEAR=$(VBOX_C_YEAR)' \
    173173        -E 'VBOX_VERSION_STRING=$(VBOX_VERSION_STRING)' \
     174        -E 'VBOX_VERSION_STRING_RAW=$(VBOX_VERSION_STRING_RAW)' \
    174175        -E 'VBOX_VERSION_MAJOR=$(VBOX_VERSION_MAJOR)' \
    175176        -E 'VBOX_VERSION_MINOR=$(VBOX_VERSION_MINOR)' \
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r36571 r37016  
    675675
    676676  ; Write a registry key with version and installation path for later lookup
    677   WriteRegStr HKLM "${PRODUCT_INSTALL_KEY}" "Version" "$%VBOX_VERSION_STRING%"
     677  WriteRegStr HKLM "${PRODUCT_INSTALL_KEY}" "Version" "$%VBOX_VERSION_STRING_RAW%"
     678  WriteRegStr HKLM "${PRODUCT_INSTALL_KEY}" "VersionExt" "$%VBOX_VERSION_STRING%"
    678679  WriteRegStr HKLM "${PRODUCT_INSTALL_KEY}" "Revision" "$%VBOX_SVN_REV%"
    679680  WriteRegStr HKLM "${PRODUCT_INSTALL_KEY}" "InstallDir" "$INSTDIR"
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibAdditions.cpp

    r35907 r37016  
    55
    66/*
    7  * Copyright (C) 2007-2010 Oracle Corporation
     7 * Copyright (C) 2007-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4343    if (ppszVer)
    4444    {
    45         *ppszVer = RTStrDup(VBOX_VERSION_STRING);
     45        *ppszVer = RTStrDup(VBOX_VERSION_STRING_RAW);
    4646        if (!*ppszVer)
    4747            return VERR_NO_STR_MEMORY;
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