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 Forum
- :
- Suite Project - Control feature installation based on user choice on custom dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2013
09:20 AM
Suite Project - Control feature installation based on user choice on custom dialog
I have a requirement that asks the user if their current computer is the 'Main' computer for SQL Server or a 'Client' computer. This controls if SQL Server Express gets installed or not with the package.
I am converting a project from Wise Installer and using the Suite Project since I can present a UI prior to installing any files including the prerequisites.
On the custom dialog I have two radio control buttons with properties ##main##=true if they select Yes this is the main, and ##main##=false if No, this is not the main computer.
What I don't get is how to tie the property 'main' to the feature SQLServer2012 so that it ONLY installs if main=true. I can see how to set platform conditions, system conditions, but nothting that lets me to set a property condition. The same is true for the package as well.
Also, I want to pass this property value into the primary msi package as a property. I suspect this is straightforward as a command line option.
So is it possible for me to toggle the feature status based on the value of the 'main' property?
EDIT:
Also, it could be that I am approaching the problem incorrectly. I am very new to the Suite Project schema and so let me know if I am out to lunch here. It should be fairly straight forward to control feature manipulation within a package set, that is basic to any installation requirement.
Thank you.
Dan
I am converting a project from Wise Installer and using the Suite Project since I can present a UI prior to installing any files including the prerequisites.
On the custom dialog I have two radio control buttons with properties ##main##=true if they select Yes this is the main, and ##main##=false if No, this is not the main computer.
What I don't get is how to tie the property 'main' to the feature SQLServer2012 so that it ONLY installs if main=true. I can see how to set platform conditions, system conditions, but nothting that lets me to set a property condition. The same is true for the package as well.
Also, I want to pass this property value into the primary msi package as a property. I suspect this is straightforward as a command line option.
So is it possible for me to toggle the feature status based on the value of the 'main' property?
EDIT:
Also, it could be that I am approaching the problem incorrectly. I am very new to the Suite Project schema and so let me know if I am out to lunch here. It should be fairly straight forward to control feature manipulation within a package set, that is basic to any installation requirement.
Thank you.
Dan
- Tags:
- suite
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2013
03:46 PM
There are two approaches you can take here. If you can upgrade, InstallShield 2013 added the ability to more universally create conditions on property values. However they are probably not evaluated at the right time for what you need. Instead you probably need to use the already existing approach, which would be to wire your check box or radio button to a magic property of the format FEATURE[feature-name].actionState. This will allow you to mimic the capabilities of a check box in the feature selection tree on any other control.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 28, 2013
11:08 AM
Michael, thank you. That is what I was looking for and I have since found the reference in the help as well.
http://helpnet.flexerasoftware.com/installshield20helplib/Content/helplibrary/SteFeatureStateOvrvw.htm
I was just not looking hard enough 🙂
So I will set the actionState="" when the 'Client' option is selected, and 'install' when 'Main' is selected.
http://helpnet.flexerasoftware.com/installshield20helplib/Content/helplibrary/SteFeatureStateOvrvw.htm
I was just not looking hard enough 🙂
So I will set the actionState="" when the 'Client' option is selected, and 'install' when 'Main' is selected.