Skip to main content
SiddheshK09
Known Participant
October 21, 2022
Question

Ho to fix Hybrid extension installation status code -160!

  • October 21, 2022
  • 1 reply
  • 325 views

Hi All,
I'm working on a hybrid extension for Indesign CC2022 application. I have followed and tried all the steps mentioned in the documentations and "Getting-Started-guides"(from GitHub). Still, I'm getting -160! error for installation. I'm abled to install html zxp file but when I trying to intall it with the native plug-ins, it returns -160! status code. Please suggest me if  I'm missing something.

 

MXi File Data:

 

<?xml version="1.0" encoding="UTF-8"?>
<macromedia-extension

id="com.example.cepidtest"

name="CEPIDTestPkg" requires-restart="true" version="17.0.0">

<author name="mediawide"/>

<description><![CDATA[For Test]]></description>

<license-agreement><![CDATA[Test]]></license-agreement>

<products>

<product familyname="InDesign" maxversion="" primary="true" version="17.0"/>

</products>

<files>

<!-- The HTML panel, for 17.0 onwards -->
<file destination=""

file-type="CSXS"

products="InDesign64"

maxVersion="17.9" minVersion="17.0"

source="Extension/CEPIDTest.zxp" />

<!-- WIN plugin, 64bit -->
<file source="SDKSample/BasicDialog.sdk.pln"

destination="$indesign/Plug-Ins/SDKSample"

products="InDesign64"

maxVersion="17.9" minVersion="17.0"

platform="win"

shared="true" />

<file source="SDKSample/(BasicDialog.sdk Resources)"

destination="$indesign/Plug-Ins/SDKSample"

products="InDesign64"

maxVersion="17.9" minVersion="17.0"

platform="win"

shared="true" />

</files>

</macromedia-extension>

 

Pkg Folder Structure -

- Siddhesh

This topic has been closed for replies.

1 reply

Community Expert
October 21, 2022

160 means that it is not able to find the file. See the following

https://community.adobe.com/t5/exchange-discussions/every-exman-command-error-code-exmancmd-error-code-list/m-p/11386103#M1014

Now what I suspect is copying over of the resources folder. Try commenting it and see if the plugin is copied over or not

-Manan

-Manan
Community Expert
October 21, 2022

And I think the cause is that the source attribute for folder should end with a / according to the documentation.

If all files in a folder have to be installed to the same destination folder, you don't have to add all files individually. Put a slash at the end of folder name when specifying source attribute, then all files in that folder will be packaged into the extension. For example, if the folder name is "Resources", the following line will cause all files in this folder copied to the destination folder:

<file source="Resources/" destination="$dreamweaver/configuration/Resources"/>

-Manan

-Manan
SiddheshK09
Known Participant
January 5, 2023

Hi Manan, 

Thank you for immediate reply and sorry for late reply, I was busy in other work. I have did the changes in the mxi file as suggested but still getting same error. Please check below mxi file data and attached error screenshot.

 

MXI Data:

<?xml version="1.0" encoding="UTF-8"?>
<macromedia-extension

id="com.example.cepidtest"

name="CEPIDTestPkg" requires-restart="true" version="17.0.0">

<author name="mediawide"/>

<description><![CDATA[For Test]]></description>

<license-agreement><![CDATA[Test]]></license-agreement>

<products>

<product familyname="InDesign" maxversion="" primary="true" version="17.0"/>

</products>

<files>
<!-- The HTML panel, for 17.0 onwards -->
<file destination=""

file-type="CSXS"

products="InDesign64"

maxVersion="17.9" minVersion="17.0"

source="Extension/CEPIDTest.zxp" />

<!-- WIN plugin, 64bit -->
<file source="SDKSample/"

destination="$indesign/Plug-Ins/SDKSample/"

products="InDesign64"

maxVersion="17.9" minVersion="17.0"

platform="win"

shared="true" />
</files>

</macromedia-extension>