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...!
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.