0 Replies Latest reply on Sep 13, 2012 5:43 AM by poortip87

    Problem using extension manager CS5 with command line

    poortip87 Level 1

      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,

       

      screen-shot-1.JPG

       

      On executing the above, I got the following error,

       

      screen-shot-2.JPG

       

      What is going wrong?

       

      Please help!