Execute a program

This action lets you execute a program file (executable file .EXE). This function is useful if you want to launch additional applications or run several Setup programs.

Property Name

Data Type

Description

DisplaydwWindowStateDefines the state of the program's window. There is a defined set of window states from which you you can choose in the list box.

Filename

String

Full path to the file you would like to execute. Example: %DESTPATH%\Setup.exe

Parameters

String

If you would like to pass any command line options to your program. Optional.
WaitUntilEndBooleanDefines whether the package has to wait until the end of execution or continue without waiting.

Notes:

  • this feature is also available in the Program/Setup Execution panel.

  • this action does not support opening document files (like text, HTML files...). Click here to go to the "Open a document file" action's help topic.

Exit code for the executed program:

The package automatically sets the variable %PEXITCODE% to the exit code returned by the process. If you know the possible exit codes for the program you run, you can perform some additional actions according to the value of %PEXITCODE%.

Note that %PEXITCODE% is not initialized before the "Execute a program" is executed. It's your job to initialize it if you use it.


  Paquet Builder Help - Copyright © G.D.G. Software. All rights reserved.