Using the Get User Input - Simple Panel

InstallAnywhere 2017

Edition • This information applies to the Premier edition of InstallAnywhere.

The Get User Input - Simple Panel action lets create a simplified custom panel that uses either text fields, check boxes, radio buttons, pop-up menus, or lists.

Note • Only one type of control can be used on each Get User Input - Simple panel. To employ a mix of controls, use a Get User Input - Advanced panel.

To create a Get User Input - Simple panel:

1. In the Advanced Designer, on the Sequence page, click the appropriate sequence (Pre-Install, Post-Install, Pre-Uninstall, or Post-Uninstall). The appropriate view opens.
2. Click the Add Action button. The Choose an Action dialog box opens.
3. On the Panel tab, click the Get User Input - Simple action, and then click the Add button. InstallAnywhere adds the action to the action list, and displays its settings in the bottom of the view. The Choose an Action dialog box remains open, enabling you to add additional actions as needed.
4. In the Input Method list, select the appropriate type of control that you want to use.
5. To add, edit, or remove controls, click the Configure button. The Configure Input Items dialog box opens.
6. Configure the settings as needed.
7. Click OK.

Tip • To view the controls that you have added to the panel, click the Preview button.

Example: Obtaining Server Setup Information

This example demonstrates the use of text field controls on a Get User Input - Simple panel to create a Server Setup panel that gets the IP address, port, and a contact email address.

To create a Server Settings (Get User Input - Simple) panel:

1. In the Advanced Designer, on the Sequence page, click Pre-Install. The Pre-Install view opens.
2. Click the Add Action button. The Choose an Action dialog box opens.
3. On the Panel tab, click the Get User Input - Simple action, and then click the Add button. InstallAnywhere adds the action to the action list, and displays its settings in the bottom of the view.
4. In the Title setting, enter the following:

Server Setup

5. Click the Configure button. The Configure Input Items dialog box opens. (The default value for the Input Method setting is Textfields.)
6. Add an IP Address control to your panel:
a. Click the Add button. InstallAnywhere adds a new row to the list of items.
b. In the Label column, enter IP Address, and then press the TAB key.
c. In the Default Value column, enter 127.0.0.1.
7. Add a Port control to your panel:
a. Click the Add button. InstallAnywhere adds a new row to the list of items.
b. In the Label column, enter Port, and then press the TAB key.
c. In the Default Value column, enter 8080.
8. Add a Server Contact control to your panel:
a. Click the Add button. InstallAnywhere adds a new row to the list of items.
b. In the Label column, enter Server Contact, and then press the TAB key.
c. In the Default Value column, enter yourname@yourdomain.com.
9. Click OK.

InstallAnywhere adds a row for each control to the Labels and Defaults for Input Items table.

To see the panel with the current controls, click the Preview button.

Tip • The Preview feature does not resolve variable values. To see your panel in a truly live setting, build the project and run the installer.

See Also