Thread: Run program from within program

  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,793

    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, 01: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, 05:32 PM
  4. Replies: 3
    Last Post: 07-11-2005, 03: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