Locate the point product in the Extension Manager workspace. Required attribute: product.

-from

(CS5 and later) Specifies the command originator when the command line parameter is passed through BridgeTalk. After executing the command, Extension Manager sends the result back to the specified originator. Required attributes: product or pcdentry.

-EMBT

Used only when the command line parameter is passed through BridgeTalk. "-EMBT" should appear before all other commands. Attributes: None.

-suppress

Suppress the Extension Manager user interface. Must precede all the other commands except -EMBT. Attributes: None.

(CS5 and later) Quit Extension Manager. This command should be used alone.

The following list describes the available attributes:

mxi

Specifies the name and location of the extension installation file.

mxp

Specifies the name and location of the package file in MXP format.

zxp

Specifies the name and location of the package file in ZXP format.

product

Specifies the product that uses the extension. The value should be the same as the product name displayed in the left panel of Extension Manager window.

extension

Specifies the name of the extension (as specified in the MXI file).

pcdentry

(CS5 and later) Specifies the BridgeTalk identifier of command originator.

suppresseula

(CS5.5 and later) Specifies whether to suppress the EULA dialog box when installing the extension. The valid values are “y” (suppress) or “n” (do not suppress). The default value is “n”.

forallusers

(CS6 and later) Specifies that the extension should be installed for all users if the value is "y" and the extension is a per-user extension. A per-user extension is a kind of extension whose files are copied to user-specific folders during installation. The default value is "n".

lang

Specifies the locale language code, such as en_US.

timeout

(CS5 and later) Specify the maximum seconds the Extension Manager waits for the product to quit before executing the next command. Must follow the install/enable/disable/remove commands, and must be a positive integer from 0 through 1000.

set

(CS6 and later) Specifies the set name to be activated.

setcfg

(CS6 or later) Specifies the name and location of the exported set configuration file.

Execute commands through BridgeTalk

Extension Manager can execute commands passed through BridgeTalk. All commands sent through BridgeTalk must begin with "-EMBT" parameter. To send commands to the Extension Manager, specify the target BridgeTalk Identifier as "exman-6.0".

Run the example script below in ExtendScript Toolkit CS6 to send a package command to Extension Manager through BridgeTalk.

Return codes after executing commands

Extension Manager provides return codes after executing commands when one of the following two parameters is included in the command:

"-suppress" (the Extension Manager user interface is not displayed when the command is executed)

"-from"

After executing the command, Extension Manager returns one of the following return codes:

0 - Command succeeded

1 - Install extension failed

2 - Remove extension failed

3 - Enable extension failed

4 - Disable extension failed

5 - Package extension failed

6 - Activate extension set failed

7 - There is already an instance of Extension Manager

8 - Import set configuration failed

101 - Incorrect CLI format

102 - The specified product does not exist

103 - The specified extension does not exist

104 - The specified extension is already enabled

105 - The specified extension is already disabled

106 - The specified extension set does not exist

107 - The specified set configuration file does not exist

108 - The specified set configuration file is invalid

109 - The specified extension cannot be enabled or disabled when the active extension set is a pre-defined extension set

Note: If the command execution requires administrative privileges and the current permission is insufficient, Extension Manager CS5.5 and later asks for administrator credentials when the user interface is not suppressed. When the user interface is suppressed (when the "-suppress" parameter is specified), the execution fails. In this case, open the command prompt as administrator (Windows) or use the sudo command in the Terminal window (Macintosh).