I have something like this:
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallValidate"/>
</InstallExecuteSequence>
Since one of the unsuccessful attempts to uninstall, I need to perform a custom action to solve the problem before uninstalling ExistingProducts. Something in the lines:
<CustomAction Id="FixStuff" .. />
<InstallExecuteSequence>
<Custom Action="FixStuff" Before="RemoveExistingProducts" />
<RemoveExistingProducts After="InstallValidate"/>
</InstallExecuteSequence>
This, of course, does not work, since Custom Action cannot be prior to InstallInitialize. I would really like to remove existing products between InstallValidate and InstallInitialize, but I want to run FixStuff before uninstalling existing products.
Is it possible to do this?
source
share