cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

MSI Install always installing all features when run in silent mode

I have a large MSI based install that installs three different versions of our program. The SN entered by the user decides what version of the program gets installed and selects features based on that. This all works great when run normally with the UI but when we run it with a /qn swithc to run it silently it always installs all features and I cannot figure out how to selectively turn some features off. I do have installscript functions that are called with custom actions and those are working except the feature selection. I have tried from the commandline too but it always installs everything.

How can I turn something off?

Brandon Lowe
Labels (1)
0 Kudos
3 Replies
Highlighted
Pilgrim

Re: MSI Install always installing all features when run in silent mode

Did you look at ADDLOCAL property already?
0 Kudos
Highlighted
Pilgrim

Re: MSI Install always installing all features when run in silent mode

So ADDLOCAL works if I list every feature I need. The only problem with this is we have about 25 features. Is there any way to select which feature I want to install using an installscript custom action when running in silent mode?
0 Kudos
Highlighted
Pilgrim

Re: MSI Install always installing all features when run in silent mode

you can look @ MsiSetProperty or use a Type 51 custom action aka set-a-property to set ADDLOCAL with desired features
0 Kudos