Change Default to Unattended
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
Answers (2)
Please log in to answer
Posted by:
cblake
12 years ago
Posted by:
anonymous_9363
12 years ago
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'.
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'.

so that the conversation will remain readable.