SMS: Using Execute.exe to Install ApplicationsLast reviewed: April 15, 1997Article ID: Q158734 |
The information in this article applies to:
SUMMARYExecute.exe is used to run a two-phase Setup program under the Package Command Manager (PCM) program of SMS. A two-phase Setup is one that is actually two different programs; the first program starts the second one, and then it stops itself. When the first program ends, PCM severs its network connection, leaving the second program without a network connection.
MORE INFORMATIONExecute.exe runs the command-line for a Windows program, and then polls for its end. When it ends, it temporarily pauses, and waits until no window possessing a given window title and window class can be found. Use the Spy.exe program (distributed with Microsoft Visual C++ 1.5) to determine the Window class and title for the second phase of a Setup application. The Execute.exe program must reside in either the root directory of the package share, or the logon server MSTEST directory (logon.srv\MSTEST). NOTE: Execute is only for 16-bit applications running under Windows 3.1, Windows NT, or Windows 95. The syntax of Execute.exe is:
Execute.exe "command_line" "window_caption" "window_classname"where:
The following lines are examples of Execute.exe:
Execute "Setup.exe /B4" "Microsoft PowerPoint" "PPApplicationClass" -or- Execute "Setup.exe /B4" "" "PPApplicationClass" |
Additional query words: prodsms visual basic wizard synchronous
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |