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
- :
- Custom Action command line args with selected feature
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 07, 2011
10:52 AM
Custom Action command line args with selected feature
Hi All,
I have a installscript MSI project where i use a CA to execute some exe. I have in my projcest some 6 features. I need to pass the user selected features to exe through the command line args. Is there any way i can pass all the selected features and current installed state of each feature. Please help.
I have a installscript MSI project where i use a CA to execute some exe. I have in my projcest some 6 features. I need to pass the user selected features to exe through the command line args. Is there any way i can pass all the selected features and current installed state of each feature. Please help.
(1) Reply
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 08, 2011
12:44 AM
Since you are using InstallScript MSI you have an option to run the InstallScript during feature installation\uninstallation. You can find this in Organizantion - >Features, click the Feature name, you have options like “OnInstallaing “… etc..
Using this you can achieve.
1. Create a function and export it.
2. Call the function using above option. In that function “LaunchAppAndWait() specify the parameter.
Using this you can achieve.
1. Create a function and export it.
2. Call the function using above option. In that function “LaunchAppAndWait() specify the parameter.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)