OverviewExamples
Runs the Windows Installer program "msiexec.exe" with the specified arguments.
(string) The arguments you want to pass to "msiexec.exe". For example, "-i \""C:\Temp\Example.msi"\" PROPERTY=VALUE"
(boolean) Whether the application will wait until the executable has exited before continuing:
VALUE |
DESCRIPTION |
true |
Wait. (Default) |
false |
Don't wait. |
Note: This parameter must be set to true if you want to receive a process return code.
(number) The process return code if the WaitForReturn parameter is set to true. If WaitForReturn is set to false 0 is returned. You can use Application.GetLastError to determine whether this action failed, and why.
Note: On Windows Vista or later, if this action fails due to requiring elevation, error code 1045 is returned.
Note: If the specified
process has not terminated, the termination status returned is STILL_ACTIVE.
If the process has terminated, the termination status returned may be
one of the following:
The exit value specified in the ExitProcess or TerminateProcess function.
The return value from the main or WinMain function of the process.
The exception value for an unhandled exception that caused the process
to terminate.
See also: Related
Actions
MSDN Online: Command-Line Options