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

Suite Feature Selection using InstallScript based on user input

Suite Feature Selection using InstallScript based on user input

Suite Feature Selection using InstallScript based on user input

Summary

Suite Feature Selection using InstallScript CustomAction based on user input from a customdialog

Synopsis

This article will show you how you can select feature using installscript function from a user input

 

Discussion

  To Select a feature based on user input in a suite project, you can follow below steps

  1. Create Suite project
  2. On wizard Pages view --> Right click and Add a Blank Page
  3. Add a Combo Box control using Combo box button
  4. Enter Property field value to COMBOLIST and content property value as OPTIONLIST
  5. Go to Property Manager and Create 2 properties COMBOLIST and OPTIONLIST
  6. Enter  OPTIONLIST value as ID_STRING7\r1\nID_STRING8\r2\nID_STRING9\r3\n
  7. Go to Installscript view and add the below code in your setup.rul
  8. Go to Events and Right on Action and add NewAction
  9. Select the Function Name filed value to MyFunction
  10. Save and build the suite project
  11. At runtime, when user select Option1 from options list
  12. NewFeature1 and NewFeature2 will be selected, when user selects Option2 NewFeature and NewFeature1  will be selected and installed.

Click here for Customize the User Interface of a Suite Installation 

Click here for Adding a Predefined Wizard Page 

No ratings
Version history
Last update:
‎Jan 11, 2022 03:07 AM
Updated by:
Contributors