The Add Actions - Launch Executable dialog box lets you specify the Windows executable, command line parameters, and additional optional settings. You can also specify the specific requirements that a device must meet for the action to be executed on the device.
To access this dialog box in ZENworks Control Center, click the Bundles tab. Click the underlined link of a bundle in the Name column of the Bundles list, click the Actions tab, click one of the action set tabs (Distribute, Install, Launch, Repair, Uninstall, Terminate, or Preboot), click the Add drop-down list, then select an available action.
The following sections contains additional information:
The General page lets you specify the location of the Windows executable, the command line parameters to run when the executable launches, the working directory for the executable, and the non-zero success codes that the executable returns.
Field |
Description |
---|---|
Command |
Specify the location of the Windows executable, including its filename. You can specify a local path or a network drive. If you specify the local path, you must include the executable’s full path, unless the executable is included in the workstation’s search path. If you specify a network drive, you can use a mapped drive or a UNC path, if the workstation can resolve the path. If you have not installed ZCC Helper on this device, you must do so before you can browse for a file path. |
Command Line Parameters |
Specify the command line parameters that you want to run when the executable launches. |
Working Directory |
Specify the working directory for the executable. |
Success Return Codes |
Specify the non-zero success codes that the executable returns. You can specify multiple success codes separated by commas. If an executable returns non-zero success codes, you should specify these non-zero success codes while launching the action. For example, explorer.exe in Windows returns a success code of 1. To successfully launch the Explorer application, you should add 1 as the success code while launching the action. If you leave this field blank, zero will be considered as the success code. Specify the Success Return Code as * to enable any non-zero code returned by a script to be treated as success. |
Environment Variables |
Lets you add, edit or remove the environment variables as follows:
|
The Advanced page lets you specify the Window executable’s security level and the wait time after launch of windows executable and before proceeding to the next action.
Field |
Description |
---|---|
Wait Before Proceeding to Next Action |
Click More Options to specify how long to wait after launching the Windows executable and before proceeding to the next action. Specify what happens after the executable launches: No wait: The next action in the list is immediately performed. When launch action is complete: The next action in the list is performed after the launch action completes. For example, enable this option if you are running the action as a dynamic administrator and you want the profile cleaned up and deleted immediately. If you do not enable this option, the profile is cleaned up and deleted at the device’s next reboot. Wait for _ seconds: Wait the specified number of seconds before proceeding to the next action.
|
Executable Security Level |
The executable can run in either the “user” space or the “system” space. By default, the Run normal option is selected, which causes the application to run in the “user” space and inherit the same workstation security level as the logged-in user. If the logged-in user's security level does not provide sufficient rights and file access to run the executable, you can configure the executable to run in the “system” space or as a dynamic administrator, as described below:
|
The Launch Options page lets you specify the Window executable’s compatibility mode, display settings, and the input settings.
Field |
Description |
---|---|
Compatibility Mode |
Click More Options to specify the Window executable’s compatibility mode. Launches the executable in a contained environment. Some executables cannot run on workstations with newer versions of Microsoft* Windows because of incompatibility issues. The drop-down list is available after you select the Compatibility mode option. Select this option if you successfully ran an executable on a previous Windows version but you are unable to run the executable on the device’s current Windows version. Select the desired platform from the list. |
Display |
Click More Options to specify the Window executable’s display settings.Select the desired display options: Run in 256 colors: Sets the color quality setting to 256 colors while this executable is running. The color quality setting reverts back to your default setting when you close the executable. Run in 640 × 480 screen resolution: Sets the screen resolution setting to 640 × 480 while this executable is running. The color quality setting reverts back to your default setting when you close the executable. Disable visual themes: Disables visual themes from being applied to the executable. If you are experiencing problems with menus or buttons on the title bar of the executable, this setting might solve these problems. The theme settings revert back to your default setting when you close the executable. |
Input Settings |
Click More Options to specify the Window executable’s input settings. Temporarily turns off handwriting recognition, speech recognition, and some accessibility features. Turning off text services does not affect multiple languages or keyboards that you have added. |
Use the operating system shell to start the process |
This option is enabled by default and allows the executable specified in the action to be launched through the operating system shell. Deselect this option to prevent the executable specified in the action from being launched through the operating system shell. Consequently, the executable can now be launched only through the applications configured in the system’s list of allowed applications. To add applications to the system’s list of the allowed applications:
You can now launch the executable only if it is available in the NAL window. |
The Requirements page lets you define specific requirements that a device must meet for the action to be enforced on it. For information about the requirements, see Requirements.