VirtualBox

Changeset 59599 in vbox


Ignore:
Timestamp:
Feb 5, 2016 3:46:13 PM (9 years ago)
Author:
vboxsync
Message:

Added ckecking VBOX_MSI_INSTALL_PATH environment variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/common/vboxapisetup.py

    r54684 r59599  
    4646# See http://docs.python.org/distutils/index.html
    4747def main(argv):
    48     vboxDest = os.environ.get("VBOX_INSTALL_PATH", None)
     48    vboxDest = os.environ.get("VBOX_MSI_INSTALL_PATH", None)
    4949    if vboxDest is None:
    50         raise Exception("No VBOX_INSTALL_PATH defined, exiting")
     50        vboxDest = os.environ.get('VBOX_INSTALL_PATH', None)
     51            if vboxDest is None:
     52                raise Exception("No VBOX_INSTALL_PATH defined, exiting")
    5153
    5254    vboxVersion = os.environ.get("VBOX_VERSION", None)
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