The idea is to install a product and then in addition to this product some
additional components should be installed with separate installations.
Uninstalling of product should also remove all additional components.
I've made two installations (one installation for product and one for
additional component) installed them both.
When uninstalling product should call CA that would uninstall the additional
component. The problem is that the component and program are only
uninstalled if I run the setup again or run the .msi in
"<WindowsFolder>\installer" and select "Remove" in "Program Maintenance"
dialog, but if you try to uninstall from "Add/Remove" in Control Panel.
For uninstalling I've set the following:
CustomAction Tables
RemoveComponent |34|SystemFolder |msiexec /x
{48F413BA-4B98-4FB8-B000-87F96EAEAA90} /Q
{48F413BA-4B98-4FB8-B000-87F96EAEAA90} is ProductCode property of k2.msi
InstallUISequence Table
RemoveComponent | _IsMaintenance = "Remove"| 840
_IsMaintenance = "Remove" - see in Control Event Table in MainSetup.msi
Why is this happening? Is "Add/Remove" passing some paremetres to misexec
when it is opening .msi???