Various problems using extension manager with command line

Hello all,
We are installing our plugins  to CS4/5/5.1 version of Adobe Photoshop as part of our installer and  allow the users to select specific versions of Photoshop to install the  panel for. There are a few old problems that I wanted to rant about for  quite some while and now with a whole bunch of problems that the 5.1  update introduced I feel I just have to voice them. I will limit it to  PC only as it seems to be the most troubled platform
#1 As we cannot install our plugin only by using the  Extension Manager (simply because it cannot handle all we've to do upon  the installation) we have to run commands from within the our installer,  non-interactively, of course.
The interface to command line installation is xmancommand.exe (or "Extension manager (Version). exe" - not sure whether it makes any difference. ). Now the first question is how to find this executable on   the target machine, from an installer. Users may specify different  locations to install the Creative Suite and it certainly does NOT have  to  be  C:\Program Files\...(or %PRGRAMFILES% in general). ATM we are using an odd place in the registry  to to find the path to the most recent Extension Manager but first its  sometimes overwritten by another installation and in any case it  only shows ONE version of the extension manager which of course cannot  handle other versions (see #2)
#2 Why the most recent version of  Adobe Extension Manager (5.5) cannot install the extension for 5.0?  Well, install it actually does, however its disabled for CS5 and it  seems that the only way to enable it on this platform is to find  previous (CS5) extension manager and to enable it. Oh, actually no - it  doesn't work! The only way that I found here working is to find CS5  extension manager first, install the extension there and then use CS5.5  extension manager to enable it. Why do I need both utilities to manage  my extensions?!
#3 The program is severely lacking in  documentation AND it doesn't produce reasonable output messages, so  determining what it can actually support is a puzzle. For example, why  "Dreamweaver CS5" is a correct product name and "Photoshop CS5" is not (don't different teams talk to each other)? Ok, lets forget the consistency, but how do I make the utility output the list of all products it supports, in their  magic token form that it will actually be understood if passed in in the  command line? By trial and error? This menthod btw is also extremely painful: nany times when  specifying wrong parameters the program doesn't provide any output and just shrugs "whatever, go figure it yourself"...
#4 Why the only way to enable/disable an extension in Photoshop  seems to be using magic "productfamily" keyword that is not even listed  on Adobe's help page for command line options (here:  http://help.adobe.com/en_US/extensionmanager/cs/using/WSB4845EDD-14E5-476a-B749-FF328830D1 4F.html).?  E.g. "xmancommand.exe" -suppress -remove  product=Photoshop  extension=OurExtension" will ALWAYS fail with a lovely "'Photoshop is  not supported by Extension Manager CS5.5." error; I've tried "PhotoshopCS5", "Photoshop CS5", "PhotoshopCS5.1"  "Photoshop CS5.1", "Photoshop-12" (mentioned in examples section in  http://help.adobe.com/en_US/extensionmanager/cs/using/packaging_extension.pdf )  and a whole bunch of other permutations - none  seem to work (see #3). Magic "productfamily=Photoshop" does work. But  then it only aims the current version ("CS5.1") and I need it to work  for CS5 (I'm not even mentioning CS4...."). Would there be any suggestions?
Really, the question is, how do we, third-party developers, are  supposed to interact with the command-line utility without knowing where  it is, what product names is capable to work with and without being  able to target specific platforms (i86 vs x64 anyone  (http://forums.adobe.com/thread/672537)? CS5 vs CS5.1 (above)?). I don't  know what your test cases are for the command line tool (if any!), but this is simply insane, folks, simply  insane.

I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find  previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk.

Similar Messages

  • Problem using extension manager CS5 with command line

    Hi All,
    I had posted my question here : http://forums.adobe.com/message/4695419#4695419, but was advised to do so here as well..
    I have a requirement to get the path of all the installed Extension Managers on any Windows system for the purpose of installing an extension.. I thought, there would be no problem in getting the path from the registry. There was no problem in Win XP, but the same does not work for Win 7.. I googled, and found alternate ways to get the path.
    Here is the link : http://forums.adobe.com/thread/851359. I followed the instructions in this post, but failed to get this working for CS5 as mentioned in my previous thread... No problem for CS5.1 and CS6.. Why is that?
    I want to get this working for CS5, CS5.1, CS6... How can I get the path of all the Extension Manager versions installed on a Windows system?
    Please refer to the following screenshots to get a better understanding of my problem,
    I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
    resultFile = new File("D:/result.log");
    resultFile.open("w");
    resultFile.write(BridgeTalk.__diagnostics__);
    resultFile.close();
    If I run this directly from ESTK CS5, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
    On executing the above, I got the following error,
    What is going wrong?
    Please help!

    I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
    1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
    2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find  previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
    3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
    4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk.

  • Picture Manager with command line for Bat files

    Hello 
    I am wondering if Microsoft Picture manager has any command line switches i could use.
    I resize thousands of photos weekly using Picture manager for a semi automated process. The resize is the part that is not automated. For some reason when using image magik the resize is done but it does not accept some images where i upload them, yet if
    i do it in parallel with Office picture manager the Microsoft re-sized always work. 
    The process uses VB Access, downloads all images changes the extension from one card extensions to jpg and ammends the name. sorts the images to two folders.
    Then i resize as a batch manually. Not difficult but needs hands on and have you tried changing the dimensions in picture manager when all are selected. tedious!
    Then the final bat uploads to correct locations. 
    So my question, how to use command line with Microsoft picture manager. If not command line Powershell. I can not beleive that the program can not be opened specifying a folder and resize image dimension to use. I cant see the source code where i believe
    it would be apparent to me how to do so.
    Thank you
    Sometimes the answer is so blindingly obvious i fail to see!

    I have done it before on BOXI R2 with the IW, and it works fine
    But any how, this is the way that we have to work with, since it is part of a customer product and the link universe and it's reports  is an additional part of the product.
    So is there a way that I can pull just the main universe and it's reports?

  • Auto close Extension Manager from Command Line?

    I'm putting together a simple shell script to build a tool so that our Continuous Integraion system can build this tool.  The scirpt works but I can't figure out how to close Extension Manager once the job is done...
    Shell Script:
    #!/usr/bin/env bash
    app="/Applications/Adobe/Adobe Extension Manager CS5.5/Adobe Extension Manager CS5.5.app/Contents/MacOS/Adobe Extension Manager CS5.5"
    filename=MyToolsName
    srcMxiPath="$filename.mxi"
    outMxpPath="$PWD/$filename".mxp
    echo "Outputting Adobe Extention Here: $outMxpPath"
    "$app" -package mxi="$srcMxiPath" mxp="$outMxpPath" timeout=30

    I needed to add:
    -suppress
    Here is the completed script:
    #!/usr/bin/env bash
    app="/Applications/Adobe/Adobe Extension Manager CS5.5/Adobe Extension Manager CS5.5.app/Contents/MacOS/Adobe Extension Manager CS5.5"
    filename=MyToolsName
    srcMxiPath="$filename.mxi"
    outMxpPath="$PWD/$filename".mxp
    if [ -f $outMxpPath ]; then
              echo Deleting old MXP.
              rm $outMxpPath
    fi
    echo "Outputting Adobe Extention Here: $outMxpPath"
    "$app" -suppress -package mxi="$srcMxiPath" mxp="$outMxpPath"

  • How do I install an extension for Fireworks using Extension Manager?

    When you install an extension using Extension Manager in Windows 7 or Vista, the following error message appears: "You do not have the appropriate permissions required to perform this operation. Contact your system administrator to obtain permission."
    To solve this issue, run the Extension Manager as administrator and then install the extension.
    (Right-click the Extension Manager and select Run as Administrator.)

    It seems the SpringIDE comes with JBuilder is not compatible with OEPE.
    Try download the OEPE plugins from
    http://download.oracle.com/otn_software/oepe/ganymede/oepe-ganymede-11.1.1.1.1.200904131333.zip
    and unzip it into the /dropins folder of the JBuilder Eclispe installation directory. Then restart with -clean command line option.

  • How to change a setting in the Java Control Panel with command line

    Hi,
    I am trying to figure out how to change a setting in the Java Control Panel with command line or with a script. I want to enable "Use SSL 2.0 compatible ClientHello format"
    I can't seem to find any documentation on how to change settings in the Java Control Panel via the command line
    Edited by: 897133 on Nov 14, 2011 7:15 AM

    OK figured it out. This is for the next person seeking the same solution.
    When you click on the Java Control Panel (found in the Control panel) in any version of Windows, it first looks for a System Wide Java Configuration (found here: C:\Windows\Sun\Java\Deployment). At this point you must be wondering why you don't have this folder (C:\Windows\Sun\Java\Deployment) or why its empty. Well, for an enterprise environment, you have to create it and place something in it - it doesn't exist by default. So you'll need a script (I used Autoit) to create the directory structure and place the the two files into it. The two files are "deployment.properties" and "deployment.config".
    Example: When you click on the Java Control Panel it first checks to see if this directory exists (C:\Windows\Sun\Java\Deployment) and then checks if there is a "deployment.config". If there is one it opens it and reads it. If it doesn't exist, Java creates user settings found here C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7.
    __deployment.config__
    It should look like this inside:
    *#deployment.config*
    *#Mon Nov 14 13:06:38 AST 2011*
    *# The First line below specifies if this config is mandatory which is simple enough*
    *# The second line just tells Java where to the properties of your Java Configuration*
    *# NOTE: These java settings will be applied to each user file and will overwrite existing ones*
    deployment.system.config.mandatory=True
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    If you look in C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7 for example you will find "deployment.properties". You can use this as your default example and add your settings to it.
    How?
    Easy. If you want to add *"Use SSL 2.0 compatible ClientHello format"*
    Add this line:
    deployment.security.SSLv2Hello=true
    Maybe you want to disable Java update (which is a big problem for enterprises)
    Add these lines:
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked=
    Below is a basic AutoIt script you could use (It compiles the files into the executable. When you compile the script the two Java files must be in the directory you specify in the FileInstall line, which can be anything you choose. It will also create your directory structure):
    #NoTrayIcon
    #RequireAdmin
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_UseX64=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    Func _JavaConfig()
         $ConfigFile_1 = @TempDir & "\deployment.properties"
         $ConfigFile_2 = @TempDir & "\deployment.config"
         FileInstall ("D:\My Documents\Autoit\Java config\deployment.properties", $ConfigFile_1)
    FileInstall ("D:\My Documents\Autoit\Java config\deployment.config", $ConfigFile_2)
         FileCopy($ConfigFile_1, @WindowsDir & "\Sun\Java\Deployment\", 9)
         FileCopy($ConfigFile_2, @WindowsDir & "\Sun\Java\Deployment\", 9)
         Sleep(10000)
         FileDelete(@TempDir & "\deployment.properties")
         FileDelete(@TempDir & "\deployment.config")
    EndFunc
    _JavaConfig()
    Now if you have SCUP and have setup Self Cert for your organization, you just need to create a SCUP update for JRE.
    Edited by: 897133 on Nov 16, 2011 4:53 AM

  • Can you push install an extension without using Extension Manager?

    I'm looking for a way to deploy a CS5 extension en mass using an unattended network push install utility (i.e. LanDesk). I have not been able to find any documentation yet on how to do this and our corporate customers do not want to send someone to every desktop to install or upgrade extensions manually using Extension Manager (in some cases they can have over 1000 end users spread across the country). Please help me locate some documentation on how to do this.
    Thanks,
    Dwane Ferry

    Extension Manager supports updatable extension. If your existing extension specifies update URL in its mxi file, when the new version of the extension is available, you can put the update information file to the URL. Extension Manager will detect the extension update during launch and notify users. After user clicks the "Update" button, the updated extension will be downloaded and installed.
    Extension Manager also supports command line interface. You can put the extension to a shared loacation, and write a batch file using commands. Send the batch file to all customers to run.
    More detailed information about updatable extension can be found in http://www.adobe.com/go/em_file_format .
    About command line interface, please see http://help.adobe.com/en_US/extensionmanager/cs/using/WSB4845EDD-14E5-476a-B749-FF328830D1 4F.html .

  • Launch executable with command line arguments

    I have a programmer that I need to launch in my cvi code.  I tried the system command and lauchexecutable command but cannot get the programmer to lauch correctly.  If I run it from the command prompt or create a windows shortcut it works fine.  Here is the shortcut I created:
    C:\TPD\SAVS20P3\asix\up\up.exe /e c:\tpd\savs20p3\q33.hex/erase /q /p
    I'm trying to run the up.exe software with /e c:\tpd\v20_hex\v20.hex /erase /q /p as the command line paramters.
    I tried the following code which created the above path with command line
     strcpy(filename,"C:\\tpd\\savs20p3\\asix\\up\\up.exe /e c:\\tpd\\savs20p3\\hex_ee\\");   ///e c:\\tpd\\savs20p3\\hex_ee\\"");
      strcat(filename, hfile);//hex file name will change dynamically
      strcat(filename, "/q /p");
    I then tried LaunchExecutable(filename) and system(filename).  The system functions gives an error.  Its trying to lauch the /e c:\tpd\v20_hex\v20.hex file
    any suggestions.  I beieve its a simple syntax error.

    Well, apart evident typos in the code you posted, which is not creating the command line you stated, I can only think that before "/q" you should add a space to separate the option from the filename.
    This code should create the correct command line:
    strcpy (hfile, "c:\\tpd\\v20_hex\\v20.hex");
    strcpy (filename, "C:\\tpd\\savs20p3\\asix\\up\\up.exe /e ");
    strcat (filename, hfile);
    strcat (filename, " /erase /q /p");
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How To Run An External .exe File With Command Line Arguments

    Hiya, could anyone tell me how I can run an external .exe file with command line arguments in Java, and if possible catch any printouts the external .exe file prints to the command line.
    Thanks.

    Using the Runtime.exec() command. And read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Problem using SQL Loader with ODI

    Hi,
    I am having problems using SQL Loader with ODI. I am trying to fill an oracle table with data from a txt file. At first I had used "File to SQL" LKM, but due to the size of the source txt file (700MB), I decided to use "File to Oracle (SQLLDR)" LKM.
    The error that appears in myFile.txt.log is: "SQL*Loader-101: Invalid argument for username/password"
    I think that the problem could be in the definition of the data server (Physical architecutre in topology), because I have left blank Host, user and password.
    Is this the problem? What host and user should I use? With "File to SQL" works fine living this blank, but takes to much time.
    Thanks in advance

    I tried to use your code, but I couldn´t make it work (I don´t know Jython). I think the problem could be with the use of quotes
    Here is what I wrote:
    import os
    retVal = os.system(r'sqlldr control=E:\Public\TXTODI\PROFITA2/Profita2Final.txt.ctl log=E:\Public\TXTODI\PROFITA2/Profita2Final.txt.log userid=MYUSER/myPassword @ mySID')
    if retVal == 1 or retVal > 2:
    raise 'SQLLDR failed. Please check the for details '
    And the error message is:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 5, in ?
    SQLLDR failed. Please check the for details
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • How to use magic move with connection lines?

    When I use magic move with connection lines, they disappear and reappear in the next slide. It seems like magic move doesn't recognize the connection lines (or can't match them), so it just redraws them, instead of leaving them there.
    I'm trying to use magic move to make a nice presentation that includes connection lines. How can I make without the lines disappearing every time something moves?

    Group the shapes and connection line together:
    select the objects then Arrange > Group (alt Command G)

  • Import biar file with command line

    Hi
    I am trying to import biar file with command line on unix environment with BOXI R3.1 and Oracle DB
    The biar file include one universe and it's connection (eFashion), one report and one user
    when I run the command line:
    java -jar /BO/boxi/bobje/java/lib/biarengine.jar /BO/boxi/test.properties
    I recive the following error:
    Failed to commit objects to server : Undefined Info Store error
    An error occurred at the server during security batch commit:
    Request 6 of type 36 failed with server error : Object not found (1433)
    Request 11 of type 36 failed with server error : Object not found (1433)
    Request 20 of type 38 failed with server error : Object not found (1433)
    Request 26 of type 38 failed with server error : Object not found (1433)
    Do you have any idea , what is the problem?
    Thank you

    Hi Denis
    I found out after I create a biar file ,with only the user, through a command line. that the user did import since it was in a concurrent connectiontype , a type that not exit in the target environment.
    But after I fix this in the source environment and saw that a biar file with only the user is loaded , I recreate the biar file with all the objects as before (user, universe, report , folder) and I still got the same error message as before.
    So now I try to create the biar file with all those object through the command line. and I get a new errer message "Required dependencies not found on target system : '[AZK_.9sbf_lMgdQRpsbZfVw]"
    I check it , and understand that the object is the report , but I do not see what missing..... : (
    Those are the quries in the properties file:
    exportQuery= SELECT * FROM CI_APPOBJECTS where si_kind = 'Universe' and si_name='eFashion'
    exportQuery= SELECT  * FROM CI_APPOBJECTS WHERE SI_ID in ( 894,926)
    exportQuery= SELECT * from CI_SYSTEMOBJECTS WHERE SI_KIND = 'user' and SI_Name='repadmin'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE si_kind= 'Folder' and SI_name = 'test'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE      SI_ID IN (2188)
    Can you tell what is missing?

  • Migration (BOXI3.1 - BI4.1) using UMT via Linux command lines

    I have BO4.1 hosted on linux. I am currently doing migration from BOXI3.1 to BI4.1 and need to use linux scripts to call upgrade mgmt tool.
    This is possible only for complete migration.
    However I wanted to know:
    If it is possible to do incremental migration as well using command lines.
    What is the impact on Security Model in case of Complete Migration using command lines. Is it recommended?
    Is it possible to do incremental migration with command lines keeping BIAR file as source?

    Hi,
    Dennis is right. You can install the UMT only on Windows. With this variant you can also use an increment Upgrade even if your Destination BI 4.1 System is on LINUX.
    Doing a Full Stack installation will do the trick. You can also go ahead and install the UMT only but you need additional components (as desribed from Denis). For more info check:
    http://service.sap.com/sap/support/notes/1743789
    And as always, when i read Upgrade Threads, i recommend you follow the Best Pactices for the UMT...makes live easier:
    http://service.sap.com/sap/support/notes/1904814
    Regards
    -Seb.

  • Compare two pdf files using adobe acrobat through command line

    Does anyone know how to compare two pdf files using adobe acrobat through command line. I want to do this via command line because we want to compare hundreds of file every day through some automated windows tasks.
    If command line option is not available in acrobat, then is it feasible to make use of acrobat javascript API to do this task?
    Any kind of help will be greatly.

    Command-line: Not possible.
    JavaScript: Possible, but very limited. Basically the only thing you can do is simulate clicking the Compare Documents button. The rest has to be done manually.
    However, it *might* be possible to automate this process a bit more using a plugin. Ask over at the Acrobat SDK forum for more information...

  • How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    Hello,
    How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    It is not good. If I need to export some hundred of separate *.XPS files to hundred separate *.PDF files, I need to do this manually with each file. It is stone age.

Maybe you are looking for