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
- :
- Script working in Basic MSI project
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
‎Jun 23, 2009
02:54 AM
Custom Setup Dialog: deselecting features by default
Hi
In our installation (Basic MSI) using InstallShield 2010, we use the custom setup Dialog. By default, all visible features are selected. However, i would like to have some features deselected by default. My first approach was to raise the install level of some features to achieve this. Unfortunately, this does not work.
So my goal is to find a way to have features and selected and deselected depending on some properties, install level, conditions (or whatever is possible). I believe this should be possible.
Thanks for your help and greetings
Daniel
In our installation (Basic MSI) using InstallShield 2010, we use the custom setup Dialog. By default, all visible features are selected. However, i would like to have some features deselected by default. My first approach was to raise the install level of some features to achieve this. Unfortunately, this does not work.
So my goal is to find a way to have features and selected and deselected depending on some properties, install level, conditions (or whatever is possible). I believe this should be possible.
Thanks for your help and greetings
Daniel
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2009
07:36 PM
please use the script,set the feature deselected or selected during the install .
example :
FeatureSelectItem(MEDIA,szFeature,FALSE);
example :
FeatureSelectItem(MEDIA,szFeature,FALSE);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2009
03:30 AM
Hi
According to the documentation, the "FeatureSelectItem" is for use in "InstallScript" and "InstallScript MSI" only. However, i have a basic MSI project.
Is there a way to achieve this? I believe there must be. To me, that seems like a rather common requirement. I like to avoid Scripting although i see that there is often no way around it to as MSI seems to be a little clumsy when it comes to the user interface (Unfortunately, we have to use Basic MSI)
Regards
PS: by the way, we are using InstallShield 2010
According to the documentation, the "FeatureSelectItem" is for use in "InstallScript" and "InstallScript MSI" only. However, i have a basic MSI project.
Is there a way to achieve this? I believe there must be. To me, that seems like a rather common requirement. I like to avoid Scripting although i see that there is often no way around it to as MSI seems to be a little clumsy when it comes to the user interface (Unfortunately, we have to use Basic MSI)
Regards
PS: by the way, we are using InstallShield 2010
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2009
07:37 AM
Hi
Has anyone come up with a solution that works in a Basic MSI project (the solution above works only in an InstallScript MSI project)
I would be very grateful..
Has anyone come up with a solution that works in a Basic MSI project (the solution above works only in an InstallScript MSI project)
I would be very grateful..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2009
02:10 PM
What you've done should work. In a sample project with two features, setting the second feature's Install Level to 1000 (greater than the global value of 100) causes it to show up deselected.
(There's a bit more to do if you want to deselect the feature during a Complete setup type, but first things first.)
(There's a bit more to do if you want to deselect the feature during a Complete setup type, but first things first.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2009
09:37 AM
Thanks for your answer. Setting the install level higher than 100 works. (Previously the value was smaller, so i guess thats why it didnt work)
Regards
Regards