This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Allow user to select shortcut based on checkbox control
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Allow user to select shortcut based on checkbox control
Allow user to select shortcut based on checkbox control
Intoduction
This article will discuss how to create a shortcut based on user input using a property value create a shortcut instead of creating by default.
Instructions
This article explains how to create a shortcut based on user request. This information applies to the following InstallShield project types:
- Basic MSI
- Create Basic MSI Project
- Add a Feature and a Component which contains a shortcut
- Select the newly added component and add a Condition CUSTOMCHECKBOX=1
- If you have multiple shortcuts, create a new component and add condition like shown above.
- Go to property Manager and create a property CUSTOMCHECKBOX and CUSTOMCHECKBOX1. Dont add a value yet. If we add value(1) the checkbox will be checked by default at runtime
- Now go to Dialog view and create a dialog and name it (Example: Checkbox)
-
Add a checkbox control as per your shortcut added and add CUSTOMCHECKBOX and CUSTOMCHECKBOX1 in property field for each checkbox
- Since we created a new dialog, we need to sequence it properly in order to see the dialog at runtime
- Select the newly created dialog[checkbox] and select behaviour node and select Back button and change the value to "Customer Information"
- Select NEXT button and change the Event DialogName to SetupType
- Select License Agreement dialog and change the NEXT button to "Customer Information"
- Select SetupType Dialog --> BACK Button change the dialog to Checkbox
- Save the ism and build the project
- Run the installer, At runtime on checkbox dialog select the checkbox
- Based on select checkbox, specific shortcut will be created on desktop
More Information
Click here for installshield help document for create shortcut.
No ratings