Why won't Windows Installer use the UI in the .msi file during removal?

Posted by billmcc on Stack Overflow See other posts from Stack Overflow or by billmcc
Published on 2010-03-29T19:14:13Z Indexed on 2010/03/29 21:33 UTC
Read the original article Hit count: 740

Filed under:
|

Has anyone been able to get Windows Installer to use the InstallUISequence table during removal?

I started with an MSI file produced by the Visual Studio msi builder, decompiled it into WiX source code and handcrafted it, but I cannot get the installer to use my UI during removal. It insists on using a default UI provided by Windows Installer.

I have also analyzed several MSI files, and I have been unable to find one where Windows Installer will use the provided UI during removal.

I captured the msiexec logs during removal, and sure enough, Windows Installer appears to be ignoring the InstallUISequence table.

It seems that msiexec runs with minimal UI during removal. If I specify the /qf switch (use full UI) during removal, then Windows Installer does take the UI from the .msi file. However, this doesn't help the regular user, because she won't do the removal from msiexec.

Does anyone know of a way to convince Windows Installer to use the UI in the MSI file by default?

© Stack Overflow or respective owner

Related posts about wix

Related posts about windows-installer