dgboone
Posts: 12
Joined: Tue Apr 14, 2009 3:20 pm

Installing optional components from command line

I have created an installer and am able to do an unattended install with no UI by doing the following:

start /wait MyInstaller.msi /qn /l*v install.log

This however only installs the default configuration. I have a few optional components and would like to be able to specify on the command line whether to install them. Is there a way to do this?

Regards,
Dwayne
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installing optional components from command line

Hi Dwayne,

In order to achieve this, you can set the ADDLOCAL property to the feature IDs that you want to install or you can set it to "ALL" if you want to install all the features (i.e. ADDLOCAL=ALL).

For example: start /wait MyInstaller.msi /qn /l*v install.log ADDLOCAL=Feature1,Feature2,Feature3

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”