Thread: Moving Files

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    145

    Moving Files

    Okay, sorry to ask another question (at the time of writing this I had just posted), but anyhow.
    I was just starting to have one of my games create all of its files in a folder. Now, is there a way I can move the .exe to a folder I create? So, so they download it to C:\Downloads or whatever, and I want to move the Horizon.exe to C:\Horizon, is there a way I can do this?
    Also, how does having an uninstall option work? Since the .exe is running it, how does it delete itself? Or can it? Because with all the folders, I want a way to quickly clean everything up.
    "Um...well..."
    -Kyoto Oshiro

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Easiest way??

    Seperate installation from your app...

    Focus on your app.....then use an installer to create a setupfile...

    ::Assuming Windows::

    Personally I recommend Innosetup . Its free and is easy to learn once you have read the help files...

    All you do is dump the files you want distributed into a folder and save an Innosetup script in there.......then you can set the script to customize the install....You can;

    [list=1][*]Add an unistaller[*]Create desktop shortcuts[*]Edit the registry[*]Create a program group in the start menu[*]Setup directories[/list=1]

    There are tons of other things too...If I ever want to upload an app to my site, I use this app...give it a whirl!

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    145
    Okay, that sounds like a good idea. I will try that Innosetup out, thanks for the link.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 02:47 AM
  2. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  4. moving files
    By warney_out in forum C Programming
    Replies: 1
    Last Post: 08-23-2005, 08:06 AM
  5. Moving files/deleting files/ copying, etc
    By Nakeerb in forum C++ Programming
    Replies: 1
    Last Post: 10-11-2002, 05:45 PM