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...!
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.
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.