When the user invokes my installer from the command line with the --help option, I want to be able to limit the number of options that are shown to the following:

--version --mode --help

I was able to get mode customized to show only gtk, windows, or text. Now I want to disable showing other options that I find unnecessary at the moment like: --optionfile, --unattendedmodeui --installerlanguage.

How can I make sure these options are not shown when the help is invoked? Are they available as installer variables that I can enable/disable?

Thanks,

asked 05 Jul '12, 11:25

jalexrod's gravatar image

jalexrod
38121215
accept rate: 0%


You could use the <hiddenCommandLineOptions> setting:

<project>
   ...
   <hiddenCommandLineOptions>optionfile unattendedmodeui installer-language</hiddenCommandLineOptions>
   ...
</project>
link

answered 08 Jul '12, 06:43

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

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:

×23

Asked: 05 Jul '12, 11:25

Seen: 1,042 times

Last updated: 11 Jul '12, 18:31