Thread: Installer

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Installer

    Hello again everyone!

    Today I has a little bit complicated thing to do.
    I am trying to make a program which install few other programs.
    I have already composed 2 Window Forms Applications (see picture links below)
    Step 2: http://www.daniweb.com/forums/attach...1&d=1255853689
    Step 3: http://www.daniweb.com/forums/attach...2&d=1255853717

    As you can see on picture of Step 2, I have few check boxes on it. I would like when I click Install, it installs selected components. Now problem is that setup.exe file of each program requires some user input (like installation path, create shortcuts or not,...) before it proceed with real installation, but I would like that when user click Install button it automatically sends him to Step 3 and start installing selected applications without any additional user input. Another problem is how to program Progress Bar to work properly...
    I hope you understand what kind of application I would like to make.
    However, it doesnt need to has all of above features in it. If some of them are too complicated to made (for example, it doesn't need progress bar, maybe for start I should just make that when I click install it just open setup.exe files for checked applications?...)

    Thanks.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Have you considered using some existing installer kit like NSIS?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    2
    Quote Originally Posted by laserlight View Post
    Have you considered using some existing installer kit like NSIS?
    Does it has an option which make me able to choose which files to install?

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Just use the setup and deployment wizard in MSVS. And as laserlight has pointed out there are many other installer packages you can use.

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Good job, providing a link to something only members of another forum can see

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making an installer need help
    By hackterr in forum C++ Programming
    Replies: 4
    Last Post: 11-01-2009, 11:01 AM
  2. Linux software installer recommendations
    By BobS0327 in forum Tech Board
    Replies: 13
    Last Post: 09-24-2006, 01:19 AM
  3. Visual Studio Installer Privilege Issue
    By mercury529 in forum Windows Programming
    Replies: 4
    Last Post: 01-30-2006, 01:48 PM
  4. Installer Program
    By Junior89 in forum C++ Programming
    Replies: 4
    Last Post: 01-17-2005, 01:49 AM
  5. Windows Installer Problem on XP
    By Sh0t in forum Tech Board
    Replies: 4
    Last Post: 10-14-2002, 02:11 PM

Tags for this Thread