Running .exe file on uninstallation

onggie80

Newcomer
Joined
Jan 26, 2004
Messages
8
Hi,

Can someone tell me how i can set an .exe file to run when my .NET application is uninstalled. I've tried using Custom Actions, but it doesn't seem to be working. Please help...!

Onggie:confused:
 
If I understand you correctly the problem is that you can't shell .exe files from managed code. Perhaps you could try making a COM dll wrapper to shell your executable. You should be able to install the dll and invoke it on uninstall. This depends upon your uninstall custom action ocurring before the standard actions which will remove your dll! I'd say it's odds-on it would work, but no warranty.
 
Back
Top