VirtualBox

Changeset 94393 in vbox for trunk


Ignore:
Timestamp:
Mar 29, 2022 11:06:57 AM (3 years ago)
Author:
vboxsync
Message:

Installer/win: Explicitly set the current working directory when starting VBox after a successful installation. bugref:10203

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r94380 r94393  
    236236    <!-- Note: Only if we include FE/Qt, we offer to start VirtualBox at the end of a successful installation. -->
    237237<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    238     <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" />
     238    <!-- Note: Make sure to set the CWD (via 'Directory' attribute) to not run off a possibly temporary directory or some such (see @bugref{10203}). -->
     239    <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand="[INSTALLDIR]VirtualBox.exe" Return="asyncNoWait" Impersonate="yes" />
    239240<?endif ?>
    240241
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