Guys ,

can i add msiexec switches , say qn , inside a MSI only in the form of some property etc so that when we double click MSI , it installs silently without explicitely adding /qn .

My aim is to execute msi silently using command - msiexec /i [MSI]
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


No, you can't do that, since the switches are passed to MSIExec which opens the MSI to act upon. By that time, it will have consumed any command line switches.

The way to achieve what you want is to disable the display of the various dialogs. You should condition that carefully, as you probably don't want to disable those concerned with maintenance and administrative installations.
Answered 07/13/2010 by: VBScab
Red Belt

Please log in to comment
can't you create a shortcut to the msi with the required params? maybe you can't use a shortcut?

it would be so simple!
Answered 07/13/2010 by: kardock
Second Degree Green Belt

Please log in to comment