Is it possible to set the default install option of an .msi file to unattended mode? For example, I want to double click a .msi installer and have it run completely silent and unattended. Thanks!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Sure; How are you at editing/writing MSI tables? MSI's can be packaged with these options already set; or by not displaying any modal dialogs when designing the package. That's a lot of work, might be just as easy to write a script that runs the command line as-is to couble click on. FWIW.
Answered 11/18/2010 by: cblake
Red Belt

Please log in to comment
0
Change

HKEY_CLASSES_ROOT\Msi.Package\shell\Open\command\"%SystemRoot%\System32\msiexec.exe" /i "%1" %*

to

HKEY_CLASSES_ROOT\Msi.Package\shell\Open\command\"%SystemRoot%\System32\msiexec.exe" /i "%1" /qn %*

I would strongly recommend against changing this, though. You need to be sure every MSI runs with the required options. For example, most which have a license agreement dialog will default to not accepting that agreement. Most will also default to a 'Typical' install whereas you might want 'Complete' or 'Custom'.
Answered 11/20/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity