Reputation:
I am creating a Visual Studio Setup project. I want to un-install another component from the system from the install of my component. The other component is installed from my own setup created using Visual Studio.
Currently when I am calling the un-install of the other component from the install action of the component I get the error code: 1618 (another MSI already running).
Could anyone suggest an alternative way to solve this problem?
Upvotes: 6
Views: 336
Reputation: 59
you may add custom action but do remember add custom action in commit folder only .so that only after installation uninstall start
Upvotes: 3
Reputation: 11023
You don't need custom actions for that, you can use built-in support from Windows Installer: Can I configure an msi installer to remove any other installation with a different productcode but the same upgradecode before installation?
Upvotes: 4