I need to install the Java component, and then run a program and present choices based on the program results. I would then write their choice to a file.

Can I do this AFTER install has finished, and before the final page is presented? If so, how?


asked 20 Mar '12, 11:10

bstoke's gravatar image

accept rate: 0%

You can add a <choiceParamter> and configure it to appear just before the final page:

        <explanation>Please select an option</explanation>

And add the choices using the stdout of the program:


The code above assumes the returned stdout is in the format expected by the <addChoiceOptionsFromText> action (you can find the details here). If it is not the case, you can use a combination of a <while> and <setInstallerVariableFromRegEx>. You can find some examples in the above-mentioned article.


answered 20 Mar '12, 11:21

juanjo's gravatar image

juanjo ♦♦
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



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



Asked: 20 Mar '12, 11:10

Seen: 2,048 times

Last updated: 20 Mar '12, 11:21