cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to handle Navigation Controls using Checkbox property in Suite wizard pages?

How to handle Navigation Controls using Checkbox property in Suite wizard pages?

Summary

There are many scenarios where we might need to handle navigation controls like button, click or visibility based on checkbox state in Suite wizard pages.

In this article, let us see two scenarios in Suite wizard pages in detail:

  • Controlling visibility of navigation control using checkbox state
  • Handling navigation control click based on checkbox state

Discussion

Controlling Visibility of Navigation Control using Checkbox state

Let us take a real-time scenario:

Install Welcome Suite wizard which has the License Terms and Conditions Agree checkbox, based on the selection of the checkbox, the Next button should be enabled/disabled.

 11.png

How can we achieve this?

1. Create a new property say “IsLicenseAgreed” in the property manager and assign the value to false by default

2. Add a new checkbox in the Install Welcome wizard-page and fill the Property field with: ISLicenseAgreed==true

 111.png

3. Set the Next button’s Enabled field’s condition property as IsLicenseAgreed Is Equal To True

 1111.png

4. Build the project by adding the required packages.

When you launch, the results will be displayed.

Handling Navigation Control Click based on Checkbox state

Another useful scenario we package using InstallShield-Suite project would be launching the main application on a successful installation of the software.

Just like the previous scenario, it can be achieved in the similar way. However, we might need to set an additional Click Property of Navigation Control.

 11111.png

How can we achieve this?

1. Create a new property “IsLaunchProduct” in property manager and assign the value to True by default

2. Add a new checkbox in Install Success wizard and fill the property field with: ISLicenseAgreed==true

3. Fill the Click property of the Finish button with an open action:

  • Add an open action, mention the main application to be launched when the launch checkbox is checked
  • Fill the condition property as IsLaunchProduct Is Equal to true which is the checked state of the Launch checkbox.

 111111.png

4. Build the project by adding the required packages.

When you launch, the results will be displayed.

Labels (2)
No ratings
Version history
Last update:
‎Jul 05, 2019 12:57 AM
Updated by:
Contributors