zhiyong201
Posts: 3
Joined: Thu Nov 20, 2008 10:29 am

HOW CAN I DELETE SOME FOLDERS

HELLO ,
THANK YOU FOR FOLLOWING MY QUESTIONS CLOSELY!
When I Finish all the steps ,and sucessfully make a .exe program to run , I found that when my program
make some new folders or some new files in the path for install , when I uninstall the program,these are not be
deleted , How can I delete these folders and files when uninstalling ?

Thanks you again !
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: HOW CAN I DELETE SOME FOLDERS

Hi,

During an uninstall Windows Installer will remove only the files and folders created by the MSI. In order to remove the files and folders created by the application you can use a custom action. For more details please see the Remove a file or a folder during installation how-to.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”