View Full Version : My installer is not allowing the -V flag

05-09-2006, 04:04 PM
I have created an installer on linux for a product on linux. In it, I have created a custom question dialog with a file browser in it. The installer and user interface work fine except I can't seem to preload the value of the variable for my file browser from the command line. When I execute the installer as follows:

./setuplinux.bin -V DATA_DESTINATION="/tmp/mydata"

I get the following error:

The wizard cannot continue because of the following error: Invalid command line option: V is not supported (1001) (403)

The documentation all seems to indicate that the -V option is how I should set the variable from the command line, but the error indicates it is not supported. What gives? Is there something else I should do?

05-10-2006, 11:23 AM
Nevermind, I figured it out. I needed to add the following line to my project.uip file in the appropriate place:

<startupBean class="com.installshield.wizard.commandline.DatabaseVariablePropertiesOption"/>

I am not sure why it didn't get put there automatically when the project was created. But it is now a FYI if someone else sees the problem.