Run program from within program

This is a discussion on Run program from within program within the Windows Programming forums, part of the Platform Specific Boards category; I'm developing an application installer, and I'm just about done, but when the installer finishes up I want it to ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    8

    Run program from within program

    I'm developing an application installer, and I'm just about done, but when the installer finishes up I want it to run the application it just installed. Is there a function I can use to do this.

    I'm quite expierienced with windows programming, but I've had no luck searching through MSDN.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

    Re: Run program from within program

    Originally posted by beem
    I'm developing an application installer, and I'm just about done, but when the installer finishes up I want it to run the application it just installed. Is there a function I can use to do this.

    I'm quite expierienced with windows programming, but I've had no luck searching through MSDN.
    For lots of power - CreateProcess()

    For ease - ShellExecuteEx()

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 02:42 AM
  2. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 03:30 PM
  3. Re-doing a C program to run in Win2000 or XP
    By fifi in forum C Programming
    Replies: 5
    Last Post: 08-17-2007, 06:32 PM
  4. Replies: 3
    Last Post: 07-11-2005, 04:07 AM
  5. plz help me run this program!!!
    By galmca in forum C Programming
    Replies: 8
    Last Post: 02-01-2005, 01:00 PM

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