Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using VS 2010, setup and deployment project to create MSI. It is per user installtion.

I am having custom action to run <my prrocess> on commit. It is working fine on installation. I have to support Upgrade as well.

At the time of upgradation, I have to check for running process and if "My Process" is running I have to kill the process and continue installation.

Added a custom action to kill the process by using the methods "OnBeforeInstall", "Install", "OnBeforeUninstall" and "Uninstall" none of them are getting triggered and getting the Files in use dialog of Windows installer.

Using orca tool changed the custom action sequence to just before the InstallValidate in "InstallExecuteSequence". Still it is not working.
In the CustomAction section my custom action Type is 51

Can any one help me to solve the problem?
Posted
Updated 22-Sep-13 18:51pm
v3

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900