Skip navigation
Peter Celuch 505 posts
Nov 17, 2005
Currently Being Moderated

Updating Creative Suite Extensions

Apr 27, 2011 3:02 AM

Hi, I'm building an InDesign extension via Adobe Extension Builder.

The extension should be able to check for updates and, if available, download ZXP file and openWithDefaultApplication. Everything works fine up to the moment of installation itself. The Adobe Extension Manager CS5 tells me that there is a conflict and I need to uninstall previous version of the extension first.

The exact message:

This extension cannot be installed, since it conflicts with an existing one. To install this extension, please remove the extension 'ExtensionName' which has been installed in 'InDesign CS5', then install again.

The only differences beteween the two are:

 

./csxs/manifest.xml

<Extension Id="ExtensionID" Version="0.5.0"/>

<Extension Id="ExtensionID" Version="0.5.1"/>

./extensionApp.xml

<version>0.5.0</version>

<version>0.5.1</version>

 

And of course, the SWF files are different

 

Did I forget something or is it impossible to create self-updating CS5 extensions? Of course, I tried googling first but found absolutely nothing on the matter.

 

Thanks,

Peter

 
Replies
  • Currently Being Moderated
    Apr 27, 2011 6:29 AM   in reply to Peter Celuch

    Hi Peter,

    it's not clear to me whether you use Adobe Extension Manager to manage the updates (see http://forums.adobe.com/thread/795999?tstart=0 and/or "Packaging Extensions with ADOBE® EXTENSION MANAGER CS5" user guide) or you've written custom code for your extension to update itself (which may lead to the AEM conflict, possibly)

     

    Davide

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2011 10:02 AM   in reply to Peter Celuch

    Hello Peter,

    me too I'm not a big AEM fan, I've slowly been accustomed to it

     

    I see no way to bypass the AEM alert, though - it has its own logic, perhaps: you make the program to install a newer version of an already installed extension, so it alerts a conflict. Yes, I agree, it should be a little bit smarter (it's ok to automatically remove version 1 if you're about to install version 1.1 of the very same panel) maybe it doesn't recognize the process as an update.

    As a side note, it doesn't prompt anything strange when you update an extension via AEM, it works as expected.

    Cheers,

     

    Davide

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2011 11:02 AM   in reply to Peter Celuch

    If you are handling the updating yourself, you can drive Extension Manager using NativeProcess. First remove the old one and then instal the new one.

     

    I created my own updater and IIRC, that's how I did it.

     

    Next time around I might bypass Extension Manager altogether...

     

    Harbs

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points