I need to install product X, but before I do so, I need to check if product Y is installed. If so, I must uninstall Y before installing X.
I try to do this by having a custom action in the InstallExecuteSequence. Here I test for the existence of product Y, and if found, I call msiexec /x {Y's product code}.
The problem is that, as far as I can see, I cannot execute msiexec while another installation is running. But I cannot postpone the unistallation, because it is important that Y be uninstalled before any files from X are installed.
How can I do this?
--
Claus
FOLLOW US
Get the latest news in Application Packaging