
simon.dand1.552491662425971E12 asked a question.
Windows Installer initialization dialog question
All,
Does anyone know a way of hiding the Windows Installer initialization dialog that appears briefly when starting an MSI installation? I know the /qn switch will hide it, but I need my silent installation to still run the InstallUISequence; I have conditions on all the visible dialogs in the InstallUISequence to hide them.
My install now basically runs silently, but I am now being told the Windows Installer initialization dialog that pops up for a few seconds at the start is violating the silent installation requirement.
I'm guessing this is a MSI issue that is probably out of my control, but being a diligent software engineer I'm trying to find a solution.
Thanks
Simon
A silent installation actually does not run the UI sequence. It only runs the execute sequence.
Anyway, that might help:
If you are launching the installation by calling msiexec, the command line should be:
msiexec /qn /i "YourMsiPackage.msi"
You should not see any user interface when calling it in that way.
Now if you are calling setup.exe, you need to hide the setup.exe UI too.
setup.exe /s /v"/qn"
the /s tells setup.exe not to display any UI.
Tell me if that does the job.
Regards
Simon
Regards