What does the tag "cliOptionName" inside a parameter section mean?

Answered

Comments

1 comment

  • Avatar
    Jake

    <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 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.

Please sign in to leave a comment.