Indigo Rose Software
  #1  
Old 09-26-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin Running a Program and Waiting for it to Finish

Running a Program and Waiting for it to Finish

Running a Program and Waiting for it to Finish

Document ID: IR10017
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to run a program and have your application wait until the program exits before continuing.

DISCUSSION

Using AutoPlay Media Studio 5.0, you can launch an executable file, and have your application wait until that executable file exits.

As an example we will run the executable example.exe, and have the application wait until example.exe is closed. This is accomplished by using the File.Run action, and setting the WaitForReturn property to true:

File.Run("c:\\example.exe", "", "", SW_NORMAL, true);

This action will launch example.exe, and wait until example.exe is terminated.

MORE INFORMATION

For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | File | File.Run

KEYWORDS: AutoPlay Media Studio 5.0, Actions, Wait, Run, Finish, Exit


Last reviewed: September 26, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software