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.

all i need is to add a silent switch to an msi and recompile it as an msi or exe. I have the MSI SDK but admittedly i'm over my head with this sort of scripting and don't know where to begin

share|improve this question
    
Just as BriGuy answered below, there are built-in flags for MSI installation. If you want a completely silent install you would use "MyInstall.msi /qn" for no UI. –  Josh R Mar 13 '13 at 22:04

2 Answers 2

up vote 3 down vote accepted

You should be able to install the MSI file silently using MSIEXEC with the following flags:

/quiet - quiet mode, no user interaction

/q[n|b|r|f] Sets user interface level
n - No UI
b - Basic UI
r - Reduced UI
f - Full UI (default)

Or you just create an installer that does not display a GUI during install.

share|improve this answer
    
Maybe i should rephrase the question. I need to deploy an MSI to remote users, and i want it to work silently and automatically. So i'd like a way to have the MSI with those switches built in. –  acme64 Mar 14 '13 at 13:30
    
@acme64 - if you are deploying the MSI via GPO, if you make it assigned it will automatically install silently. –  BriGuy Mar 14 '13 at 18:18
    
No its just hosting on our website. I went ahead and just made an autoit exe with the switches in there. First code ever! thanks for the lead though –  acme64 Mar 15 '13 at 16:10

Try this, works like a charm every time:

msiexec.exe /qb- /l*vx %LogPath%\<file>.log REBOOT=ReallySuppress UILevel=67 ALLUSERS=2 /I filename.msi

share|improve this answer

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.