8 Replies Latest reply on Aug 14, 2014 8:05 PM by Willzhy

    Extension for CC and CC2014, files deployed on CC2014 only

    DBarranca Level 4

      Hi,

      I've built a hybrid extension for Photoshop but apparently Extension Manager has troubles deploying the HTML panel files to the CC path:

       

      /Users/Davide/Library/Application Support/Adobe/CEPServiceManager4/extensions
      

       

      while it succeed for CC 2014:

       

      /Users/Davide/Library/Application Support/Adobe/CEP/extensions
      

       

      In order to debug the issue, I've installed the ZXP of the HTML Panel only (not the hybrid: extra files, such as plugins, are correctly installed in both CC and CC2014).

      In fact, the panel only fails on CC. The manifest.xml is as follows:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <ExtensionManifest Version="4.0" ExtensionBundleId="com.KHT.wow" ExtensionBundleVersion="0.4.0" ExtensionBundleName="com.KHT.wow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <ExtensionList>
              <Extension Id="com.KHT.wow" Version="0.4.0" />
          </ExtensionList>
          <ExecutionEnvironment>
              <HostList>
                  <Host Name="PHXS" Version="14.0" />
                  <Host Name="PHSP" Version="14.0" />
              </HostList>
              <LocaleList>
                  <Locale Code="All" />
              </LocaleList>
              <RequiredRuntimeList>
                  <RequiredRuntime Name="CSXS" Version="4.0" />
              </RequiredRuntimeList>
          </ExecutionEnvironment>
          <DispatchInfoList>
              <Extension Id="com.KHT.wow">
                  <DispatchInfo >
                      <Resources>
                      <MainPath>./index.html</MainPath>
                      <ScriptPath>./jsx/Photoshop.jsx</ScriptPath>
                      </Resources>
                      <Lifecycle>
                          <AutoVisible>true</AutoVisible>
                      </Lifecycle>
                      <UI>
                          <Type>Panel</Type>
                          <Menu>WOW!</Menu>
                          <Geometry>
                              <Size>
                                  <Height>395</Height>
                                  <Width>296</Width>  
                              </Size>
                              <MaxSize>
                                  <Height>395</Height>
                                  <Width>296</Width>
                              </MaxSize>
                              <MinSize>
                                  <Height>395</Height>
                                  <Width>296</Width>
                              </MinSize>                      
                          </Geometry>
                          <Icons>
                              <Icon Type="Normal">./icons/DarkNormal.png</Icon>
                              <Icon Type="RollOver">./icons/DarkNormal.png</Icon>
                              <Icon Type="Disabled">./icons/DarkNormal.png</Icon>
                              <Icon Type="DarkNormal">./icons/Normal.png</Icon>
                              <Icon Type="DarkRollOver">./icons/Normal.png</Icon>
                          </Icons>                        
                      </UI>
                  </DispatchInfo>
              </Extension>
          </DispatchInfoList>
      </ExtensionManifest>
      

       

      Both the CSXS version (4.0) and the Host version (14.0 as the min version) should be fine for Photoshop CC.

      Extension Manager does his things, list the product as installed on both CC + CC2014 but in fact fails to deploy the panel on the CC folder.

       

      I can't say be 100% sure, but I think I used the very same xml some time ago and it worked (there's an Extension Manager update in between - could be that, possibly?)

       

      Thanks in advance

       

      Davide Barranca

      ---

      www.davidebarranca.com

      www.cs-extensions.com

        • 1. Re: Extension for CC and CC2014, files deployed on CC2014 only
          Willzhy Level 1

          Hi Davide,

           

          Your manifest.xml looks correct, and I have used it to create a hybrid extension. You can download it from https://dl.dropboxusercontent.com/u/39326331/CSXSTestHybridUser.zxp, and this extension can be installed correctly for both CC and CC 2014.

          It would be helpful if you can share the .mxi file of the hybrid extension.

           

          Thanks,

          Huiyong

          • 2. Re: Re: Extension for CC and CC2014, files deployed on CC2014 only
            DBarranca Level 4

            Thank you for the reply Huiyong,

            here it is the MXI (even if the pure HTML panel - not yours that installs, but mine - has errors).

            The command line (for the HTML panel only) that I've used is as follows:

             

            './ZXPSignCmd -sign src/com.KHT.wow src/com.KHT.wow.zxp KHT.p12 password -tsa https://timestamp.geotrust.com/tsa'
            

             

            The MXI:

             

            <?xml version="1.0" encoding="UTF-8"?>
            <macromedia-extension 
                id="com.KHT.wow"
                icon="icon.png"
                name="blabla" 
                requires-restart="true"
                version="0.4.0">
            
            
                <author name="blabla"/>
            
            
                <description href="http://www.google.com/">
                    <![CDATA[blabla]]>
                </description>
            
            
                 <ui-access>
                    <![CDATA[blabla]]>
                </ui-access>
            
            
                <license-agreement>
                    <![CDATA[blabla]]>
                </license-agreement>
            
            
                <products>
                    <product familyname="Photoshop" version="14.0"/>
                </products>
            
            
                <files>
                    <!-- The HTML panel, for 14.0 onwards -->
                    <file   source="HTML/com.KHT.wow.zxp"
                            destination=""
                            file-type="CSXS"
                            products="Photoshop,Photoshop32,Photoshop64"
                            minVersion="14.0" />
                
                    <!-- MAC plugin -->
                    <file   source="MAC/"
                            destination="$pluginsfolder/KnowHowTransfer" 
                            file-type="ordinary" 
                            products="Photoshop,Photoshop64" 
                            platform="mac"/>
            
            
                    <!-- WIN plugin -->
                    <file   source="WIN/"
                            destination="$pluginsfolder/KnowHowTransfer" 
                            file-type="ordinary" 
                            products="Photoshop,Photoshop64" 
                            platform="win"/>
            
            
                    <!-- Extension Manager icon -->
                    <file   source="icon.png"
                            destination="$ExtensionSpecificEMStore" />
            
            
                </files>
            
            
            </macromedia-extension>
            

             

            Thank you!

             

            Davide

            • 3. Re: Re: Extension for CC and CC2014, files deployed on CC2014 only
              Willzhy Level 1

              Hi Davide,

               

              In your MXI file, all native plugins are copied to the Application folder. So Extension Manager will install this extension as per-machine extension. In this cases, the HTML panel should be deployed to following path:

              CC:  /Library/Application Support/Adobe/CEPServiceManager4/extensions

              CC2014:  /Library/Application Support/Adobe/CEP/extensions

              Could you help to check if you html panel is in there? If not, could you send your trial extension to exman.beijing@gmail.com? So that we can do some further investigation.

               

              Thanks,

              Huiyong

              • 4. Re: Re: Extension for CC and CC2014, files deployed on CC2014 only
                DBarranca Level 4

                (by the way, if you give me your email I can send you the package that I built and don't install - it might be quicker for you to find out what's wrong)

                Thanks!

                 

                Davide

                • 6. Re: Extension for CC and CC2014, files deployed on CC2014 only
                  Willzhy Level 1

                  Hi Davide,

                   

                  With your extension, the html panel is copied to the right place for both CC and CC 2014.

                  CC:  /Library/Application Support/Adobe/CEPServiceManager4/extensions

                  CC2014:  /Library/Application Support/Adobe/CEP/extensions

                   

                  But the manifest.xml file use CSXS version 5, so it don't show up in Photoshop CC. Is it the same issue you encountered?

                   

                  Thanks,

                  Huiyong

                  • 7. Re: Extension for CC and CC2014, files deployed on CC2014 only
                    DBarranca Level 4

                    Hi,

                    actually not - I've changed the manifest version for both CSXS and ExtensionManifest to 4.0 and the problem is that the files aren't deployed to CEPServiceManager4 at all.

                    Might be a problem due to the latest update of ExtensionManager? I'm on OSX Mavericks and EM is version 7.2.1.6 - I'm almost sure that the same xml/mxi worked before.

                    Thank you very much for your support,

                     

                    Davide

                    • 8. Re: Extension for CC and CC2014, files deployed on CC2014 only
                      Willzhy Level 1

                      Hi Davide,

                       

                      I was also on OSX 10.9 and EM 7.2.1.6 when tested your extension, and there was no installation issue. Could you try to install the same extension on another machine?

                       

                      If it is not help, would you please collect log to us?

                      1. Launch Extension Manager, and checked the check box "Enable detailed logging(restart required)" under "Tools" -> "Preference".

                      2. Restart Extension Manager and reproduce your issue

                      3. Send us ExManCoreLibrary.log file in /Users/<name>/Library/Application Support/Adobe/Extension Manager CC/Log/ to exman.beijing@gmail.com

                       

                      Thanks,

                      Huiyong