VirtualBox

Opened 12 years ago

Closed 8 years ago

#10835 closed defect (obsolete)

Installer parameter msiparam is not working

Reported by: Stef74 Owned by:
Component: installer Version: VirtualBox 4.1.18
Keywords: msiparam Cc:
Guest type: other Host type: all

Description

Whatever the value of -msiparam "X=Y", it is producing an error 'Unkown option "X=Y" ! Please refer to the command line help by specifying "/?" to get more information."

When I look into the installer code (https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp, aound line 406), I can see that the option index "i" is not increased at the same time as the local index "a". Therefore the global command line parser will check next i (ie "X=Y") right after -msiparams

-> increase "i" accordingly to "a" to go to the next parameter (see the same kind of behavior in "-path" treatment, 10 lines above)

This will also solve defect #7789

Change History (1)

comment:1 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

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