Skip to main content
Participant
December 19, 2010
Question

Error 16828 when update from native Windows installer

  • December 19, 2010
  • 4 replies
  • 5248 views

Dears,

I have noticed error 16828 when I tried to update AIR application.

Steps to reproduce (AIR 2.5.1):

1. Prepare AIR

2. Prepare Native windows installer (*.exe)

3. Install application from native windows installer

4. Run application updater

5. Download new application air file and start install

6. You will get 16828 error.

Does anybody know how to solve this problem?

I know (too late) that updating native application with build-in updater (air.update.ApplicationUpdaterUI) is not possible and I have to use NativeApplicationUpdater library.

Unfortunately we have many users with installed Windows native application with buggy updater class. Each time when they tried to update they will get this an error with so misleading error description.

thanks in advance

Adam

This topic has been closed for replies.

4 replies

Inspiring
May 27, 2012

Hi Adam,

Did you ever find a solution to this?

I'm trying to solve the same problem.  I'd appreciate any direction you can give me.

Thanks,

Chris

Participant
May 28, 2012

No, only way was installing new version from exe or air directly.

Adam

chris.campbell
Legend
May 30, 2012

Assuming we're talking about updating a native installer AIR app, please see this ADC doc for more details:

Updating Adobe AIR applications packaged with a native installer

Participant
January 24, 2011

I am also running into this problem.

I found the following statement in the AS3 Reference materials. "The AIR update framework is only supported in the desktop profile. It is not supported for extended desktop applications (applications installed with a native installer), and it is not supported on the mobile profile (iPhone applications written with ActionScript 3.0). Check the Updater.isSupported property at runtime to see if the update framework is supported."

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/air/update/ApplicationUpdaterUI.html

Does this mean that it is not possible to automatically update from within an air application installed from a flash compiled exe?

Thanks,

Brad

chris.campbell
Legend
January 24, 2011

Hi Brad,

The built in AIR Updater Framework does not have support for native applications (built using native installers and the extended desktop profile.)  However, should be able to implement this functionality yourself by either using the separate NativeApplicationUpdater API built by Piotr Walczyszyn or having your app determine when an update is available, download then launch the installer using the native process api.

I'd also like to recommend checking out and voting for the feature request for this issue on our ideas.adobe.com site.

Thanks,

Chris

Participant
January 14, 2011

Hello.
I too have this problem 16828 and AIR 2.5.1

How to solve this problem?

Thank you in advance

chris.campbell
Legend
January 14, 2011

Hi Adam,

Have you gotten any help with this yet?  Error 16828 comes out to be "Cannot update application, usually because the application is running in the AIR Debug Launcher (ADL)."  So, it sounds like your app is still running.  Would it be possible to exit the app as soon as the update process is started?

Chris

Participant
January 14, 2011

Chris,

no I did not find a solution for this issue.

All I can do is only... send appologies to all users and ask to install new

version from exe file again.

thanks

Adam