Skip to main content
Astraport2012
Known Participant
July 16, 2011
Answered

An unexpected error occurred. Error# 16828 - Air Update

  • July 16, 2011
  • 1 reply
  • 3653 views

I am trying to create an update system of my Air program. The first application (release) is created in EXE (native installer). The new version is made to a Air file (AIR package). I get an error in the and of installation - An unexpected error occurred. Error# 16828 - Air Update.

If I make the first releaseas as AIR package, then this error does not occur and the updates take place correctly.

This topic has been closed for replies.
Correct answer chris.campbell

Hi,

I'm exactly sure what you're trying to do, but the error you mentioned (16828) equals:

Cannot update application, usually because the application is running in the AIR Debug Launcher (ADL)

Is your app still running while you're trying to do the update?  You might want to take a look at the following developer article that discusses techniques available for updating natively installed applications.

Updating Adobe AIR applications packaged with a native installer

fwiw, I tried a simple test where I created a native installer app, installed, launched, quit, then created a .air version of the installer and "replaced" the version I had previously installed by double clicking the .air file.  That worked fine and the app launched as expected.

Thanks,

Chris

1 reply

chris.campbell
chris.campbellCorrect answer
Legend
July 18, 2011

Hi,

I'm exactly sure what you're trying to do, but the error you mentioned (16828) equals:

Cannot update application, usually because the application is running in the AIR Debug Launcher (ADL)

Is your app still running while you're trying to do the update?  You might want to take a look at the following developer article that discusses techniques available for updating natively installed applications.

Updating Adobe AIR applications packaged with a native installer

fwiw, I tried a simple test where I created a native installer app, installed, launched, quit, then created a .air version of the installer and "replaced" the version I had previously installed by double clicking the .air file.  That worked fine and the app launched as expected.

Thanks,

Chris

Astraport2012
Known Participant
July 19, 2011

Hi, Chris.

Thank you very much for the article. This helped my problem. All is fine.

I like to use a badge on my site for apps installation (like this http://www.adobe.com/devnet/air/articles/badge_for_air.html). Can I use the badge to install an application created with the native istaller (*.exe file) not tell me?

chris.campbell
Legend
July 19, 2011

Thanks for the update, I'm glad to hear that the article helped.  As to your follow up question, unfortunately the seamless badge install does not support native installers.

Chris