6 Replies Latest reply on Apr 6, 2014 11:07 PM by Carl Sun

    $indesign folder for 64 and 32 bit

    mineus PS

      I'm trying to include both 64 and 32 builds of C++ plugin into zxp package. Here is my mxi configuration:

      <macromedia-extension

              name="Plugin-Name"

              requires-restart="true"

              version="1.0.0">

          <author name="My-Name"/>

          <products>

              <product familyname="InDesign" version="9" required="true" />

          </products>

          <files>

              <!-- inDesign CC win 32 -->

              <file products="InDesign32" platform="win" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>

              <file products="InDesign32" platform="win" minVersion="9" file-type="plugin" source="win/cc/x86/MyPlugin.pln" destination="$indesign/Plug-Ins/My-Plugin"/>

              <file products="InDesign32" platform="win" minVersion="9" source="win/cc/x86/(MyPlugin Resources)/" destination="$indesign/Plug-Ins/My-Plugin"/>

              <!-- inDesign CC win 64 -->

              <file products="InDesign64" platform="win" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>

              <file products="InDesign64" platform="win" minVersion="9" file-type="plugin" source="win/cc/x64/MyPlugin.pln" destination="$indesign/Plug-Ins/My-Plugin"/>

              <file products="InDesign64" platform="win" minVersion="9" source="win/cc/x64/(MyPlugin Resources)/" destination="$indesign/Plug-Ins/My-Plugin"/>

              <!-- inDesign CC mac -->

              <file products="InDesign" platform="mac" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>

              <file products="InDesign" platform="mac" file-type="plugin" minVersion="9" source="mac/cc/MyPlugin.InDesignPlugin" destination="$indesign/Plug-Ins/My-Plugin"/>

          </files>

      </macromedia-extension>

       

      I'm packing it with CS5 Extension Manager, as CC doesn't have an option to pack extension anymore. Package is being generated just fine.

       

      When I'm trying to install the package with CC Extension Manager it throws an error, saying that DB could not be updated. But still, all files are copied as desired, except 32 bit inDesign has plugin from 64 bit version... Looks like $indesign folder is always mapped to 32 version and .pln file get's overwriten.

       

      Is it possible to package 64 and 32 bit plugins into same zxp package? Should I use some specific package software (instead on Extension Manager CS5)?

        • 1. Re: $indesign folder for 64 and 32 bit
          Carl Sun Level 4

          The product name of InDesign 32 bit is “InDesign” instead of “InDesign32”. So Please change products=“InDesign32” to products=“InDesign”.

          • 2. Re: $indesign folder for 64 and 32 bit
            mineus PS Level 1

            Thank you for your help.

             

            I fixed “InDesign32” -> “InDesign”, but it did not solve the main issue.

             

            Furthermore, for an experiment I completely removed section with 64 from mxi, like this:

            <macromedia-extension

                    name="Plugin-Name"

                    requires-restart="true"

                    version="1.0.0">

                <author name="My-Name"/>

                <products>

                    <product familyname="InDesign" version="9" required="true" />

                </products>

                <files>

                    <!-- inDesign CC win 32 -->

                    <file products="InDesign" platform="win" minVersion="9" source="static/" destination="$indesign/Plug-Ins/My-Plugin"/>

                    <file products="InDesign" platform="win" minVersion="9" file-type="plugin" source="win/cc/x86/MyPlugin.pln" destination="$indesign/Plug-Ins/My-Plugin"/>

                    <file products="InDesign" platform="win" minVersion="9" source="win/cc/x86/(MyPlugin Resources)/" destination="$indesign/Plug-Ins/My-Plugin"/>

                </files>

            </macromedia-extension>

             

            I didn't get any error message from Extension Manager CC and plugin is now listed in installed plugins. But it was installed for both 32 and 64 bit versions of inDesign.

            Same work vice versa - if I leave only 64 version it still get's installed to both 64 and 32 inDesign.

            • 3. Re: $indesign folder for 64 and 32 bit
              mineus PS Level 1

              By the way, it seems there is an "InDesign32" product after all: http://helpx.adobe.com/extension-manager/kb/general-mxi-elements.html#id_64891

              InDesign (InDesign in Mac OS)

              InDesign32 (32-bit InDesign in Windows)

              InDesign64(64-bit InDesign in Windows)

              • 4. Re: $indesign folder for 64 and 32 bit
                mineus PS Level 1

                OK, I've found a problem. It's about Extention Manager CS5 I'm using to create a package. I tried to unzip generated zxp and it appeared that all "products" attributes were removed from "file" elements in mxi. So, I added them back manually, zipped it and installed - now it works as expected.

                 

                Probably, Extension Manager CS5 just too old to support it. There should be a better way to pack CC extensions now...

                • 5. Re: $indesign folder for 64 and 32 bit
                  Carl Sun Level 4

                  The document is incorrect. “InDesign32” should be “InDesign”.  You can check the “ProductName” attribute for InDesign 32 bit at “C:\ProgramData\Adobe\Extension Manager CC\Configuration\XManConfig.xml”.

                  • 6. Re: $indesign folder for 64 and 32 bit
                    Carl Sun Level 4

                    Extension Manager CS5/5.5/6 will re-generate mxi file when creating package and remove all attributes it doesn’t support.

                     

                    If you want to create CC only extensions, you can use Adobe Exchange Packager.