-
I have created a setup using Setup project in VS 2010. It install my application into program files folder lets say XXX. My application further creates some files and folder into XXX folder. At the time of uninstall it delete every thing whatever create by setup while files and folder created by my application remains there in XXX.
-
I wrote some custom code to delete the folder (XXX) using installerclass but does not executes when user uninstall from control panel while executed successfully when uninstall from Setup created by me.
I have created a setup using Setup project in VS 2010. It install my
Share
I don’t think you should write any custom code for that, if all your files are marked as temporary and not permanent, this will be handled directly by the MSI engine.
Play with the configuration and properties of folders, files and the setup project itself and you will get what you need with no code to be written.