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.
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
3. Set the Next button’s Enabled field’s condition property as IsLicenseAgreed Is Equal To True
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.
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.
4. Build the project by adding the required packages.
When you launch, the results will be displayed.
Related Articles
Hiding Confidential Information Stored in a Property from an MSI Log File 3Number of Views Creating a Custom Action that Displays a Property 3Number of Views Using Properties In Conditions 9Number of Views PowerShell cmdlet get-property Used in a Custom Action 6Number of Views Writing to the Log File from a Custom Action in an MSI 13Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago