DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Deleting the setup file

  1. #1
    Join Date
    Apr 2010

    Deleting the setup file

    How can I delete the setup file off the computer after the program is installed. Using VS2005 and coding in vb.

  2. #2
    Join Date
    Feb 2004
    Longueuil, Québec
    Basically, you can't. It is up to the user to do that. By the way, I do not know of any commercial program that does that. They delete the files they create while installing, but the setup file itself is not deleted.

    The main problem is that you do not know in which directory the user saved the setup file before running it.

    There is a good reason too to let the user take care of the Setup file. He may want to archive the file in case he needs to reinstall the program. If you automatically delete it, he will be stuck without that possibility. Personnaly, I would not like a program I install on my computer to do that.
    Jacques Bourgeois

Similar Threads

  1. Replies: 8
    Last Post: 02-15-2010, 05:53 AM
  2. Replies: 0
    Last Post: 03-08-2007, 06:12 AM
  3. How To Make Setup File....
    By RoughGuy in forum VB Classic
    Replies: 2
    Last Post: 10-16-2006, 11:21 AM
  4. help reg setup file
    By vbcoder in forum VB Classic
    Replies: 2
    Last Post: 05-27-2005, 10:52 AM
  5. wav file fade in out help
    By jase_dukerider in forum C++
    Replies: 2
    Last Post: 04-14-2005, 07:48 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center