install

This is a discussion on install within the Windows Programming forums, part of the Platform Specific Boards category; Does anyone know how to go about making a program to install another program. If someone could point me in ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    126

    install

    Does anyone know how to go about making a program to install another program. If someone could point me in the right direction it would be great.

    Thanks!

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    You use a setup compiler. Most people use InstallShield, which I hate, although it's been a long time since I've used it.

    However, you can get an excellent free setup compiler from:

    www.innosetup.com

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    are you looking to make the code yourself? If not, do what Davros says, it's easiest anyway. If you actually want to code the installer, it is certainly possible. In fact I've done it myself. Basics:

    you need a zip library to compress all the files.

    you need the compressed files to be stored as a resource in the project.

    LoadResource() and LockResource() I believe are the names of the API calls.

    with that information, a stand alone installer exe should certainly be possible for you.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    126
    I tried the inno setup one, and it was good. But, I am going to go ahead and create my own. I think that that is the best way to go.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Out of space when compiling kernel
    By NuNn in forum Linux Programming
    Replies: 3
    Last Post: 04-01-2009, 02:43 PM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Linux install
    By moi in forum Tech Board
    Replies: 0
    Last Post: 12-08-2002, 09:35 AM
  4. Cant install visual studio .net!!
    By end0 in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 11-30-2002, 01:36 PM
  5. trying to install linux
    By task in forum Linux Programming
    Replies: 19
    Last Post: 10-28-2002, 08:42 AM

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