Skip to main content
Stefan Riedmann
Inspiring
June 18, 2018
Answered

Hybrid extension status code -160 or -252

  • June 18, 2018
  • 1 reply
  • 650 views

Hi!

I'm working on a hybrid extension, and followed and tried all the documentations that I've found. Still, the installation of my 'final' zxp file ends with a -160 error (after some more tries it's -252). The html zxp file alone works fine! I'm just not sure about the native plugins and the mxi file.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<macromedia-extension

    id="com.ciclosoftware.YGContras"

    name="YG Contras" requires-restart="true" version="0.114">

    <author name="Ciclo Software"/>

    <description><![CDATA[Managing labels]]></description>

    <license-agreement><![CDATA[Free for trials]]></license-agreement>

    <products>

        <product familyname="Illustrator" maxversion="" primary="true" version="22.0"/>

    </products>

    <files>

        <!-- The HTML panel, for 15.0 onwards -->

        <file destination=""

                file-type="CSXS"

                products="Illustrator"

                source="HTML-cs-extensions/ygcontras_v0.114.zxp"/>

       

        <!-- MAC plugin -->

        <file   source="MAC/"

                destination="$pluginsfolder/YGContrasFolder"

                file-type="ordinary"

                products="Illustrator,Illustrator32,Illustrator64"

                platform="mac"/>

   

        <!-- WIN plugin, 64bit -->

        <file   source="WIN/"

                destination="$pluginsfolder/YGContrasFolder"

                file-type="ordinary"

                products="Illustrator,Illustrator64"

                platform="win"/>

   

        <!-- WIN plugin, 32bit -->

        <file   source="WIN/"

                destination="$pluginsfolder/YGContrasFolder"

                file-type="ordinary"

                products="Illustrator,Illustrator32"

                platform="win"/>

    </files>

</macromedia-extension>

My folder structure looks like this:

This topic has been closed for replies.
Correct answer Ten A

Probably, You need to add plugins source filepath.

Here is my case,

<files>

    <file destination="" file-type="CSXS" products="" source="ScriptSlotUI.zxp"/>

    <file destination="$plugin/extensions" maxVersion="22.9" minVersion="18.0" platform="mac" products="Illustrator" shared="true" source="plugin/mac/ScriptSlots.aip"/>

    <file destination="$plugin/Extensions" maxVersion="22.9" minVersion="18.0" platform="win" products="Illustrator64" shared="true" source="plugin/win/x64/ScriptSlot.aip"/>

</files>

1 reply

Ten A
Community Expert
Ten ACommunity ExpertCorrect answer
Community Expert
June 19, 2018

Probably, You need to add plugins source filepath.

Here is my case,

<files>

    <file destination="" file-type="CSXS" products="" source="ScriptSlotUI.zxp"/>

    <file destination="$plugin/extensions" maxVersion="22.9" minVersion="18.0" platform="mac" products="Illustrator" shared="true" source="plugin/mac/ScriptSlots.aip"/>

    <file destination="$plugin/Extensions" maxVersion="22.9" minVersion="18.0" platform="win" products="Illustrator64" shared="true" source="plugin/win/x64/ScriptSlot.aip"/>

</files>

Stefan Riedmann
Inspiring
June 19, 2018

Hey great, finally that did it. I was just stuck a while longer because of a typo in the extension (.api instead of .aip)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<macromedia-extension

    id="com.ciclosoftware.YGContras"

    name="YG Contras" requires-restart="true" version="0.114">

    <author name="Ciclo Software"/>

    <description><![CDATA[Managing labels]]></description>

    <license-agreement><![CDATA[Free for trials]]></license-agreement>

    <products>

        <product familyname="Illustrator" maxversion="" primary="true" version="22.0"/>

    </products>

    <files>

        <!-- The HTML panel, for 15.0 onwards -->

        <file destination=""

                file-type="CSXS"

                products="Illustrator"

                maxVersion="22.9" minVersion="22.0"

                source="HTML/ygcontras_v0.114.zxp"/>

       

        <!-- MAC plugin -->

        <file   source="MAC/ScriptMessage.aip"

                destination="$plugin/extensions"

                products="Illustrator"

                maxVersion="22.9" minVersion="22.0"

                platform="mac"

                shared="true"/>

   

        <!-- WIN plugin, 64bit -->

        <file   source="WIN_64/ScriptMessage.aip"

                destination="$plugin/extensions"

                products="Illustrator64"

                maxVersion="22.9" minVersion="22.0"

                platform="win"

                shared="true"/>

   

        <!-- WIN plugin, 32bit -->

        <file   source="WIN_32/ScriptMessage.aip"

                destination="$plugin/extensions"

                products="Illustrator32"

                maxVersion="22.9" minVersion="22.0"

                platform="win"

                shared="true"/>

    </files>

</macromedia-extension>