Skip navigation
Currently Being Moderated

Error while installign AIR Application (invalid package signature errorID=5022)

Jun 7, 2009 1:43 AM

Hi All,


I am new to Adobe AIR and facing error while Installing AIR application. This specially happens when in include a folder named "htmls" in the assets directory in my project.


This folder have lots of html files and others folders. These file names have some special characters as well like ". & - _".


However I can install the Application when I exclude this folder and everything works fine. Not able to find out the exact problem.

Looking forward for help !!



Log contents:


failed while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="invalid package signature" errorID=5022]
starting cleanup of temporary files
application installer exiting



App installer failed; exit code 7
begin quitting

  • Currently Being Moderated
    Jun 8, 2009 2:07 PM   in reply to Hitesh_Patel

    You may have found a bug in the AIR installer or packager. Given that the signature is an XML file, the "&" character seems the most likely culprit.

    The only short-term workaround is to identify which characters cause the problem and avoid using it.



    You should avoid the following characters in any case, since these cannot be used in file names on all platforms:

    Character            Hexcode

    various     0x00 - x1F

    *           x2A

    "           x22

    :           x3A

    >           x3C

    <           x3E

    ?           x3F

    \           x5C

    |           x7C

    Mark as:
  • Currently Being Moderated
    Jun 8, 2009 5:09 PM   in reply to Hitesh_Patel

    no need for the file now. Thanks.



    Mark as:
  • Currently Being Moderated
    Sep 19, 2009 4:18 AM   in reply to Joe ... Ward

    after scratching my head for quite some time, I eventually ran across this post. Having tried uninstalling *everything* (I was using Eclipse+Aptana, and Air SDK 1.5.2) and reinstalling... then trying another computer that installed from scratch Eclipse+Aptana (deleted all metadata in my project folder copy).


    Simple - the ampersand that I had introduced in a filename. I hadn't thought of that as being a problem.


    So this answer is true - there does seem to be an issue with the packager/installer in terms of filenames with 'special' characters.

    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