Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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


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.

share|improve this answer
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 '12 at 18:35
@JPEmedi that is correct. – nhinkle Oct 9 '12 at 21:41
Thanks lots nhinkle – MaestroIT Oct 10 '12 at 13:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.