Opened 5 years ago
#19024 new defect
Virtualbox Installer launches Virtualbox with non-quoted command line - Windows hosts
Reported by: | scottgus1 | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 6.0.14 |
Keywords: | installer root c program admin privileges | Cc: | |
Guest type: | all | Host type: | Windows |
Description
At the end of the Virtualbox installer, the option is presented by default to start the main Virtualbox window. If there is a program called 'program' or 'program.exe' in the C drive root, that program launches instead of the main Virtualbox window.
This issue is ultimately a Windows issue, but the Virtualbox installer is run with admin privileges (asks for UAC elevate during the install, or is started right-click-run-as-admin), and the subsequent main Virtualbox windows is also launched with admin privileges. (Running the main Virtualbox window with admin privileges is required to install the Extension pack, for example.)
If C:\program or C:\program.exe exists, then 'program' is launched with admin privileges at the end of the Virtualbox installer, instead of the main Virtualbox window.
Is it possible to put double quotes around the command line to launch the main Virtualbox window in the MSI installer? Double-quotes will not launch C:\program or C:\program.exe.
See https://forums.virtualbox.org/viewtopic.php?f=6&t=95156