views:

1335

answers:

3

I am Creating a Visual Studio Setup project. I want to un-install another component from the system on the install of my component. And the another component is installed from my own setup created using Visual Studio.

Currently when I am doing calling the un-insatll of the other component from the install action of the component. But this is giving error code: 1618 (another msi already running).

Could anyone suggest me alternative way to solve this problem?

A: 
PersistenceOfVision
A: 

I think you can run "uninst.exe" of that program through the shell command while setup starts.....

A: 

I ran into a similar problem that required several installs to run together and could find no way to run MsiExec recursively. The solution I used was to bundle the installer with a script that would run MsiExec once to install/uninstall the old package, then again to run the new installer. Clients had to run the script to install.

If you find a better way, let me know.

Dour High Arch

related questions