Program Installer

This is a discussion on Program Installer within the C++ Programming forums, part of the General Programming Boards category; Hey all I was wondering if any one new a good sight or book that explains in depth how to ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    102

    Program Installer

    Hey all I was wondering if any one new a good sight or book that explains in depth how to create an automatic installer for windows on a program(Such as installing a new game, or new program).
    My Favorite Programming Line:
    Code:
    #define true ((rand() % 2) ? true : false)

  2. #2
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Until later in your programs life when you have more things like registry/per user data, I would recommend just archiving all of the runtime files and distributing that.

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    There are free installers. I don't understand what you would get out of making your own, except a possible waste of time.

    Wraithan's idea is good for small games or programs. Just put everything in a zip file. Since, installers are usually much bigger in filesize and not needed unless it's a large program.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  4. #4
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    Theres a tutorial/article on codeproject.com if I remember correctly.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    102
    Quote Originally Posted by l2u View Post
    Theres a tutorial/article on codeproject.com if I remember correctly.
    Sounds good, thanks I'll look at it.
    I am handling large game files and plan to distribute them to my friends so a zip file will not be efficient.
    My Favorite Programming Line:
    Code:
    #define true ((rand() % 2) ? true : false)

  6. #6
    Registered User
    Join Date
    Jun 2005
    Posts
    6,194
    Two free programs that can be used to create installers are InnoSetup and nsis. A google search will find them.

    Both are pretty reasonable, in my experience. Of the two nsis is more powerful (more configurable) but somewhat more difficult to use.

  7. #7
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    If you have MSVC standard edition you can create a setup and deployment project which makes this task a snap. That is so long as you don't want any flashy custom dialogs.

  8. #8
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,235
    Quote Originally Posted by JJFMJR View Post
    I am handling large game files and plan to distribute them to my friends so a zip file will not be efficient.
    Can you expand on that statement? I've always considered .zip a good format for distributing files.

  9. #9
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Quote Originally Posted by brewbuck View Post
    Can you expand on that statement? I've always considered .zip a good format for distributing files.
    Yes, it's good for distributing, but not for installing. Someone would have to manually drag the files into a separate folder for installation.

    Inno uses scripts in which you can plan how your installation functions and displays. The best free one, IMO. Usually these types of installation programs are very expensive, like those by Wise Installation.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  10. #10
    Registered User
    Join Date
    Aug 2007
    Posts
    13
    I prefer InnoSetup over NSIS though.
    Learn programming and web design from professionals at FuriX.net! Join FuriX.net and apply for the FuriX Team, join the forum community, and improve your skills with FuriX articles and tutorials | Age of Empires IGZones.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  2. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  3. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21