The knowledge base is no longer actively updated, we have moved all content to our Community Support Forum
How do I make the installer ask the user a yes/no question?
| Author: BitRock Support Date: October 30, 2007 09:33 Tags: |
User input and custom installer pages
|
You can make the installer ask the user a yes/no question using a boolean parameter. You will have to include a section like the one below inside the parameterList section of your XML installer project file.
<booleanParameter> <name>createdb</name> <ask>yes</ask> <default>1</default> <title>Database Install</title> <explanation>Should initial database structure \r and data be created?</explanation> <value>1</value> </booleanParameter> |
createdb |
<showInfo text="The user selected Yes">
<ruleList>
<isTrue>
<value>${createdb}</value>
</isTrue>
</ruleList>
</showInfo>
|