Adobe 29180248 User Guide - Page 62

\, Return code(Extension Manager CS5 only), Execute command through BridgeTalk, Examples:

Page 62 highlights

"-from" parameter If "-from" parameter is specified in the command. Extension Manager passes execution result through BridgeTalk to command originator specified by "product" or "pcdentry" attribute. If execution succeeds, the result is "0". Otherwise, the result is "'error code' 'localized UTF16(Windows)/UTF-8(Mac OS) encoded error message'". Return code(Extension Manager CS5 only) 0 -- Succeeded 1 -- Install extension failed 2 -- Remove extension failed 3 -- Enable extension failed 4 -- Disable extension failed 5 -- Package extension failed 101 -- Incorrect CLI Format 102 -- The specified product not exist 103 -- The specified extension not exist 104 -- The specified extension is already enabled, 105 -- The specified extension is already disabled. 7 -- There is already an instance of Extension Manager. Execute command through BridgeTalk Extension Manager can execute command passed through BridgeTalk. All command sent through BridgeTalk must begin with "-EMBT" parameter. To send command to Extension Manager, specify the target BridgeTalk Identifier as "exman-5.0". Examples: Install extension through CLI • Windows: "Adobe Extension Manager CS5.exe" -install mxp="d:\test.mxp" • Mac OS: "/Applications/Adobe Extension Manager CS5/Adobe Extension Manager CS5.app/ Contents/MacOS/Adobe Extension Manager CS5" -install zxp="/Volumns/x1/forcequit.zxp" timeout=30 "Package extension through CLI • Windows: "Adobe Extension Manager CS5.exe" -package mxi="d:\test.mxi" zxp="d:\test.zxp" • Mac OS: "/Applications/Adobe Extension Manager CS5/Adobe Extension Manager CS5.app/ Contents/MacOS/Adobe Extension Manager CS5" -package mxi="/Volumns/x1/test.mxi" mxp="/Volumns/x1/test.mxp" 62 Packaging Extensions with Extension Manager CS5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

62
Packaging Extensions with Extension Manager CS5
"-from"
parameter
If "-from" parameter is specified in the command. Extension Manager passes execution result
through BridgeTalk to command originator specified by "product" or "pcdentry" attribute. If
execution succeeds, the result is "0". Otherwise, the result is "'error code' 'localized UTF-
16(Windows)/UTF-8(Mac OS) encoded error message'".
Return code(Extension Manager CS5 only)
0 -- Succeeded
1 -- Install extension failed
2 -- Remove extension failed
3 -- Enable extension failed
4 -- Disable extension failed
5 -- Package extension failed
101 -- Incorrect CLI Format
102 -- The specified product not exist
103 -- The specified extension not exist
104 -- The specified extension is already enabled,
105 -- The specified extension is already disabled.
7 -- There is already an instance of Extension Manager.
Execute command through BridgeTalk
Extension Manager can execute command passed through BridgeTalk. All command sent
through BridgeTalk must begin with "-EMBT" parameter. To send command to Extension
Manager, specify the target BridgeTalk Identifier as "exman-5.0".
Examples:
Install extension through CLI
Windows: "Adobe Extension Manager CS5.exe" -install mxp="d:\test.mxp"
Mac OS: "/Applications/Adobe Extension Manager CS5/Adobe Extension Manager CS5.app/
Contents/MacOS/Adobe Extension Manager CS5" -install zxp="/Volumns/x1/forcequit.zxp"
timeout=30
"Package extension through CLI
Windows: "Adobe Extension Manager CS5.exe" -package mxi="d:\test.mxi" zxp="d:\test.zxp"
Mac OS: "/Applications/Adobe Extension Manager CS5/Adobe Extension Manager CS5.app/
Contents/MacOS/Adobe Extension Manager CS5" -package mxi="/Volumns/x1/test.mxi"
mxp="/Volumns/x1/test.mxp"