View Full Version : Select features by command line options

01-19-2005, 07:33 AM
in my Basic MSI Installer, I have to features. I would like to select one of them by command line option.

I have already tried

msiexec.exe /i test.msi ADDLOCAL=NewFeature1
msiexec.exe /i test.msi ADDLOCAL=NewFeature2

but always both features will be installed.

What the hell is going wrong ?

Thanks for your help in advance,

01-19-2005, 08:41 AM
What is the Install Level property of the features? If they are both less than the value for the INSTALLLEVEL property (in property table), they will be installed regardless of what you say in ADDLOCAL. Increasing their Install Level above the INSTALLLEVEL property will exclude them by default on a "Typical" install.