What does the tag <cliOptionName> inside a parameter section mean?

Author: BitRock Support       Date: October 30, 2007 09:33       Tags: User input and custom installer pages

<cliOptionName> stands for Command Line Interface Option Name. You can use it to pass the value of that parameter to the installer using the text or the unattended mode. For example, if you have defined a parameter like:

   <stringParameter>
       <name>hostname</name>
       <cliOptionName>host</cliOptionName>
       <default>localhost</default>
       <title>Application Server</title>
       <value></value>
       <ask>1</ask>
       <description>Hostname</description>
       <explanation>Please enter the hostname for your \r application server.</explanation>
   </stringParameter>
$ sample-1.0-installer.bin --mode unattended --host myhostname
If no <cliOptionName> tag is defined, you can use the name of the parameter directly.

 

Back You should login to comment

 

You are
currently not
logged in.

 Log in 

or

Sign up