Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows MSI installer package which gives me the choice to do a Typical, Custom or Complete install using the GUI.

The default (typical) install only installs some components.

How to I tell it to do a complete install from the command line using the /passive switch?

The installer version is: 5.0.7600.

share|improve this question

3 Answers 3

On a related note. To deal with the ridiculously complex command line for msiexec.exe you can use this free tool from Wise: http://www2.wise.com/filelib/WICLB.exe

It allows you to build a command line interactively: enter image description here

share|improve this answer

Try adding ADDLOCAL=ALL to the overall msiexec.exe command. Something like:

C:\Windows\system32\msiexec.exe /I "D:\winzip112.msi" /QN ADDLOCAL=ALL

More details: http://msdn.microsoft.com/en-us/library/aa367536(v=vs.85).aspx

share|improve this answer
    
Thanks, will give this a shot. –  Kev Jun 13 '11 at 11:13
1  
that link says "Do not enter ADDLOCAL=ALL into the Property Table, because this generates a locally installed package that cannot be correctly removed" –  user193452 Jan 28 '13 at 15:58
1  
@rik that means do not insert it into the MSI file. Properties passed on the commandline don’t go in the property table. –  kinokijuf Jan 28 '13 at 16:48
    
@user193452: yes, don't set ADDLOCAL in the Property table, set it on the command line for msiexec.exe. Very different operations. –  Stein Åsmul Jan 29 at 21:55

It depends on the installer as to what command switches will work. Typically, the /passive switch does a full install. However, sometimes you need to set properties in order to trigger it, and the properties are not always available online.

Check out: http://www.instedit.com/

Using this program you can open up MSI packages and alter the properties to set them to what you want. The good part is you can resave the MSI package so your property values can be reused, which is great for deployment. It says you have to pay but just download the free version and your good. It has a slight learning curve, but it is not too difficult. The search feature is your friend!

share|improve this answer
    
If you are going to downvote, please give an explaination as to why. I use InstEd to open MSIs all the time when the standard switches don't work as expected. –  Lee Harrison Jan 28 '13 at 18:49

Your Answer

 
discard

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.