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 an Executable File

Running an Executable File

Running an Executable File

Document ID: IR10014
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 an executable file.

DISCUSSION

AutoPlay Media Studio 5.0 includes an action to launch an executable file. This is useful, for example, when creating a front end for your installer. When the user clicks on a button labeled "Install", your application launches your setup program. This is accomplished in AutoPlay Media Studio 5.0 by using the File.Run action.

To launch an executable file when the user clicks a button, place the File.Run action in the On Click event of the button's actions:

File.Run("c:\\your_file.exe", "", "", SW_SHOWNORMAL, false);

Or, to have your application wait until the executable has exited, change the WaitForReturn property to true:

File.Run("c:\\your_file.exe", "", "", SW_SHOWNORMAL, true);

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, Open, Run, EXE, Executable


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 07:32 PM.


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