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

asked 06 Sep '11, 08:41

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


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

link

answered 06 Sep '11, 08:43

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: 06 Sep '11, 08:41

Seen: 1,527 times

Last updated: 15 Sep '11, 10:32