
AnswerList of Questions
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);
Applies to:
Standard Edition
Professional Edition