2

How can one create a batch file to silently install an MSI program without 1 component?

1 Answer 1

2

Assuming you know what all the component options are, you can do the following:

msiexec /i [msi filename] /qb COMPADDLOCAL=LIST,OF,COMPONENTS,TO,INSTALL

The annoying thing about this method is that you have to find our the names for each and every component that you want to have installed, rather than just the one component you want to not install. This is doable, but can be a pain. You can use Orca.exe to help find out what all of the component and feature IDs are.

See KB230781 for more info.

2
  • Thanks lots nhinkle, this means that I'll have to list all my components to where you wrote COMPONENTS, and separate them one by one by comma?
    – MaestroIT
    Oct 9, 2012 at 18:35
  • @JPEmedi that is correct.
    – nhinkle
    Oct 9, 2012 at 21:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .