PDA

View Full Version : How to delete files during unistallation of project



athulms
4th November 2011, 06:02
I have created an .exe file for my project a word search game. I have use xml creation in the home directory of the system to save the last played game details like sound, music, theme, player name, etc. This file is created when the application launch. (called xml creation in the constructor and in close event to save setting during closeing of application). These all works fine. The problem is that when i uninstall the project the xml file created is not deleted from the home directory. How can i delete this during the uninstall process?? When i again install the project after uninstallation the previous value(during the first installation) gets loaded since the files are not removed during the uninstallation process.


How can i rectify this problem?? pls help

ChrisW67
4th November 2011, 06:20
You delete the file however you want, usually with the uninstaller created by whatever installer mechanism you are using.