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
- :
- Choose Features
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 28, 2008
02:02 PM
Choose Features
Hi
I have an Installer which up to now was used to only install client software. I now need to give users the choice between a client and server installations. Both Client and server are the primary build from visual studio 2005 projects.
I have tried adding a new feature and setting it to install the server software to the appropriate folders but when i run the installation i am not given a a choice. It seems to just install both client and server.
Im quite new to installshield so im obviously missing something straight forward. Can someone give me some pointers?
I have an Installer which up to now was used to only install client software. I now need to give users the choice between a client and server installations. Both Client and server are the primary build from visual studio 2005 projects.
I have tried adding a new feature and setting it to install the server software to the appropriate folders but when i run the installation i am not given a a choice. It seems to just install both client and server.
Im quite new to installshield so im obviously missing something straight forward. Can someone give me some pointers?
(2) Replies
‎Jul 29, 2008
04:05 AM
Hi!
What I did to select the feature to install is this:
(mind this is an InstallScript MSI Project and this code was written in setup.rul after a Dialog where the user click which feature wants to install, in your case, the user should choose between 'local' or 'server' I guess)
//Choose Feature to Install
switch (nFeature)
case 1:
FeatureSetupTypeSet (MEDIA, "FeatureName1");
case 2:
FeatureSetupTypeSet (MEDIA, "FeatureName2");
case 3:
FeatureSetupTypeSet (MEDIA, "FeatureName3");
case 4:
FeatureSetupTypeSet (MEDIA, "FeatureName4");
endswitch;
I hope this helps!
What I did to select the feature to install is this:
(mind this is an InstallScript MSI Project and this code was written in setup.rul after a Dialog where the user click which feature wants to install, in your case, the user should choose between 'local' or 'server' I guess)
//Choose Feature to Install
switch (nFeature)
case 1:
FeatureSetupTypeSet (MEDIA, "FeatureName1");
case 2:
FeatureSetupTypeSet (MEDIA, "FeatureName2");
case 3:
FeatureSetupTypeSet (MEDIA, "FeatureName3");
case 4:
FeatureSetupTypeSet (MEDIA, "FeatureName4");
endswitch;
I hope this helps!