Results 1 to 2 of 2

Thread: How to delete files during unistallation of project

  1. #1
    Join Date
    Jul 2011
    Posts
    81
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default How to delete files during unistallation of project

    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

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to delete files during unistallation of project

    You delete the file however you want, usually with the uninstaller created by whatever installer mechanism you are using.

Similar Threads

  1. Replies: 1
    Last Post: 15th August 2011, 23:26
  2. How to delete created files while uninstallation??
    By ram4soft in forum General Programming
    Replies: 3
    Last Post: 6th March 2011, 12:39
  3. Not see *.cpp files in project viewer
    By Phalanx in forum Newbie
    Replies: 0
    Last Post: 4th January 2011, 08:53
  4. Replies: 1
    Last Post: 3rd December 2009, 23:34
  5. visual studio project files - adding extra files
    By luf in forum Qt Programming
    Replies: 3
    Last Post: 13th June 2008, 21:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.