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
- :
- Re: how to overwrite setup type and features selection
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
Nov 29, 2009
08:55 PM
how to overwrite setup type and features selection
I'm using Installshield MSI project, what I wanna do is to overwrite the setup type(change complete and custom to type1 and type2), then select features based on the setup type user chose.
and I tried to use SetupType property to get setup type but failed.
any thoughts about it
Thanks
and I tried to use SetupType property to get setup type but failed.
any thoughts about it
Thanks
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 29, 2009
10:30 PM
the property "_IsSetupTypeMin" works, now I can get the setup type defined in setup type dialog. the problem is after I change the default setup type(complete & custom) to type1 and type2, the feature selection dialog(CustomSetup) disappeared...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 30, 2009
12:55 AM
no matter what setup type I choose, the features selection is based on the default value of "_IsSetupTypeMin" specified in Property manager..
I add an action after setup type dialog and get the "_IsSetupTypeMin", it's actually the type I choose rather the default value..The only explanation is the feature selection happens "IsSetupTypeMin" is set in setup type dialog..
Anyone give me a solution, thanks.
I add an action after setup type dialog and get the "_IsSetupTypeMin", it's actually the type I choose rather the default value..The only explanation is the feature selection happens "IsSetupTypeMin" is set in setup type dialog..
Anyone give me a solution, thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 01, 2009
03:28 AM
What I have done (and what is working) is the following:
The radio buttons
In my setup I have a type for a complete installation, a custom installation and several types for different configurations.
To get something like this working, you need to adjust the behavior of the Next PushButton accordingly.
For instance, I have added events | arguments | conditions such as:
The behavior
[LIST=1]
AddLocal | ALL | _IsSetupTypeMin = "Typical"
Remove | ALL | _IsSetupTypeMin <> "Custom"AND _IsSetupTypeMin <> "Typical"
AddLocal | MyServer | _IsSetupTypeMin = "Server"
AddLocal | ManagementTool_1 | _IsSetupTypeMin = "Management"
AddLocal | ManagementTool_2 | _IsSetupTypeMin = "Management"
and so on ...
This controls the features that will be installed based on the setup type you select.
I hope this helps you.
The radio buttons
- I use the radio button group with the property _IsSetupTypeMin
- In this group I have a radio button for each setup type
- Each radio button has a name that starts with _IsSetupTypeMin and ends with a sequence number , _IsSetupTypeMin1, _IsSetupTypeMin2, ...
- Each radio button has a value and this value will be assigned to the _IsSetupTypeMin property when checked
In my setup I have a type for a complete installation, a custom installation and several types for different configurations.
To get something like this working, you need to adjust the behavior of the Next PushButton accordingly.
For instance, I have added events | arguments | conditions such as:
The behavior
[LIST=1]
This controls the features that will be installed based on the setup type you select.
I hope this helps you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 20, 2010
01:16 PM
Hello everyone. I have being trying to solve this problem, but I don´t know how to do it.
I have a radio button group with two radio buttons in a custom dialog, each button has a value, the button group has a property asociated. And when is selected the radio button, i think that the property will takes the value of the radio button, but it doesn´t. Do i need to do something else? Should I do something in the behavior?
Thanks in advance.
I have a radio button group with two radio buttons in a custom dialog, each button has a value, the button group has a property asociated. And when is selected the radio button, i think that the property will takes the value of the radio button, but it doesn´t. Do i need to do something else? Should I do something in the behavior?
Thanks in advance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 06, 2010
04:53 PM
jmanuel wrote:
Hello everyone. I have being trying to solve this problem, but I don´t know how to do it.
I have a radio button group with two radio buttons in a custom dialog, each button has a value, the button group has a property asociated. And when is selected the radio button, i think that the property will takes the value of the radio button, but it doesn´t. Do i need to do something else? Should I do something in the behavior?
Thanks in advance.
I'm having the same problem as jmanuel. Any suggestion to solve this?