Thread: Creating Install Programs...?

  1. #1
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001

    Creating Install Programs...?

    I have two executables (one dos based and one windows based) and a series of files i would like to all install on a client machine, i basically want the client to open my install.exe program, and have it extract files to the right locations, update the registry, etc. MS Visual C++ has a package and deployment wizard...but it only works with visual basic scripts. So if anyone knows how to create install files please help, or you can direct me to some information on it. thank you.
    PHP and XML
    Let's talk about SAX

  2. #2
    Unregistered
    Guest
    i just use installshield or wiseinstaller.....

    too lazy to figure out how to code it myself......not sure where u could get info on how to code an installer.. sorry...

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    you could code your installer to read *.cab files, and package the *.cab and the setup.exe (or whatever) together with a zip.
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  4. #4
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Lightbulb Here's another way!

    There IS a Setup API. I have it on my other computer, but I don't remember where I got it from. It has functions that read from an INF file and extract file information, to create setups yourself. YOu can check at MSDN because they show how to use these fuctions. It may have a link to where you can get the Setup API(setupapi.h etc.)
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: [email protected]

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    MSVC

    MSVC actually has an install builder (for MSIs) with it, I use that, but it took me forever to find out I had it.

  6. #6
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    thanks, i was hoping that msvc had an install builder, if it's called that like you wrote then i should be able to find it, if not could you tell me where it is?
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating DLL's to allow people to execute MFC programs
    By Jamsan in forum Windows Programming
    Replies: 1
    Last Post: 03-03-2003, 02:03 AM
  2. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  3. Programs opening programs
    By LinuxPLC in forum C Programming
    Replies: 1
    Last Post: 11-21-2002, 12:50 PM
  4. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM
  5. install error
    By c++.prog.newbie in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 02-26-2002, 03:58 AM