Running .exe file on uninstallation

onggie80

Member
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. Ive tried using Custom Actions, but it doesnt seem to be working. Please help...!

Onggie:confused:
 
If I understand you correctly the problem is that you cant 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! Id say its odds-on it would work, but no warranty.
 
Back
Top