how can i store user input in variable and pass that variable value to post install script as an argument?

asked 16 Jun '14, 07:04

Ritz02's gravatar image

accept rate: 0%

All parameters are stored as variables with same name as the parameter's name - for example ${installdir} is the value of the installdir parameter (or its default value if accessed before showing the parameter).

So, to you can simply do:

<preInstallationActionList> <runProgram> <program>${installdir}/</program> <programArguments>"${variable1}" "${variable2}"</programArguments> </runProgram> </preInstallationActionList>

For variable1 and variable2 parameters.


answered 16 Jun '14, 09:09

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

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]( "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: 16 Jun '14, 07:04

Seen: 1,282 times

Last updated: 16 Jun '14, 09:09