Auto Updating Air App
Does anyone know of a good example of how to auto update an
AIR application? we will be doing several releases and dont want
our users to have to re - install. Thank you Mike
You can generate an installation log and take a look at it.
To generate an installation log, please look at:
http://blogs.adobe.com/simplicity/installers/
You might not set the version number correctly from what you
says.
But please look at the log to find out.
-ted
Similar Messages
-
Do i have to log in to my apple id in order to use "auto updates for apps" in ios 7
do i have to log in to my apple id in order to use "auto updates for apps" in ios 7
This same exact thing started happening to me a few days ago.
Every time I open the iPod app - I'm prompted for User/Password. I even changed my password, thinking I forgot it, and still - insists that I enter this information. If i hit OK or Cancel it just keeps asking like a never ending loop.
Eventually, when I do fill out the info, it will go away until I re-open the iPod app. This is more of an annoyance than a real issue - but if it's a bug, I hope it gets resolved.
Any support in this matter would be greatly appreciated. -
Droid X won't download auto updates for apps from Marketplace
I'm having problems with my Droid x auto downloading app update from marketplace. When I try to update an app that is supposed to auto update, my Droid X says "starting download" then goes no farther, even if I let it sit for hours.
On those apps that require a manual update, I have no problems. They download just fine when I tell them to.
Is there anyway to set all my apps to manual update, or does anyone have any idea why the auto downloads won't work?
Thanks.OK, I figured it out. With the auto download hung up, I hit the cancel button, and then it let me do a manual download that worked just fine.
-
How to auto update AIR runtime when installing with native installer?
Hi, we recently changed our app to a native installer for both Windows and OS X.
It seemed that when we distributed a .air file the install process would upgrade the installed version of the AIR runtime (if necessary) before installing our application.
Now it seems that if AIR is installed with an old version (say 2.5) and the native installer app is installed (requiring AIR 3.0) an error message appears that says "Sorry, an error has occurred. The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author".
My question is how can we have our native installer bring the user's version of the AIR runtime to the minimum required (3.0) or the latest version (3.6)?
The error message displayed to the user does not provide meaningful info.
Thank you so much for your help with this!Hi Chris, thank you for the response. I've spent quite a bit of time browsing the forum and you're sort of a celebrity to me ;-)
The "installer damaged" error message is happening on the first install of our application with older version of the AIR runtime. The app is using the nativeapplicatoinupdater ( http://code.google.com/p/nativeapplicationupdater/ ) project for updates (which is working great once the app is installed).
I performed a few tests on OS X (10.8.2) this evening and here are my results.
AIR 1.5: app install dialog with option to download AIR 3.6 is shown. INSTALL OK
AIR 2.04.: app install dialog with option to download AIR 3.6 IS NOT shown. INSTALL FAILS
AIR 2.5.: app install dialog with option to download AIR 3.6 IS NOT shown. INSTALL FAILS
AIR 2.6: app install dialog with option to download AIR 3.6 is shown. INSTALL OK
AIR 2.7: app install dialog with option to download AIR 3.6 is shown. APP INSTALL OK
So it seems the problem is with AIR 2.04 and 2.5. I uninstalled and reinstalled the AIR runtime for each test. I can consistently reproduce the failed install with 2.04 and 2.5. The same DMG file was used in each test. I have seen similar error messages on Windows 7 when AIR 2.5 was installed, though I didn't get a chance to look at the log to confirm it's the same migration error.
The failed installs seem to drop out because of: "failed while validating native package: Error: invalid migration signature".
Tomorrow I can create a version without the migration certificate to see if it can be successfully installed on 2.04 and 2.5. It's "interesting" that the other versions of the runtime do not fail on this condition.
Here are details from the log:
Here is the log with AIR 1.5 (install Adobe AIR 3.6 (required) is checked and displayed: INSTALL OK
Feb 28 22:43:22 collings-4.local mds[36]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query
Feb 28 22:43:23 collings-4.local Finder[371]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 1. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
Feb 28 22:43:24 collings-4.local Dock[368]: no information back from LS about running process
Feb 28 22:43:25 collings-4.local Install [APP_NAME][5921]: Bootstrapper begin with version (null) on Mac x86
Feb 28 22:43:25 collings-4.local Install [APP_NAME][5921]: Installed runtime (1.5.3.9130) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:43:25 collings-4.local Install [APP_NAME][5921]: Begin runtime download from http://airdownload.adobe.com/air/3/nai/macos10.8/x86/installer
Feb 28 22:43:25 collings-4.local Install [APP_NAME][5921]: Download destination is /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/installer
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download success
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Begin signature download from http://airdownload.adobe.com/air/3/nai/macos10.8/x86/installer.p7
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download destination is /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/installer.p7
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download success
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Begin crl download from http://crl.adobe.com/prodSvce.crl
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download destination is /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/prodSvce.crl
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download success
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Begin crl download from http://crl.adobe.com/cds.crl
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download destination is /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/cds.crl
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Download success
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Begin cert chain validation
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Cert chain validation succeeded
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Detached signature verified
Feb 28 22:43:36 collings-4.local Install [APP_NAME][5921]: Launching subprocess with commandline "AIR Runtime Installer" -x1 /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]
Feb 28 22:43:44 collings-4.local Adobe AIR Installer[5928]: Runtime Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:43:44 collings-4.local Adobe AIR Installer[5928]: Commandline is: -x1 "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:43:44 collings-4.local Adobe AIR Installer[5928]: Installed runtime (1.5.3.9130) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:43:44 collings-4.local Adobe AIR Installer[5928]: Invoking Application Installer for combined install
Feb 28 22:43:44 collings-4.local Adobe AIR Installer[5928]: Launching subprocess with commandline /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks" -withRuntime -url "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:43:44 collings-4.local Adobe AIR Application Installer[5930]: Application Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:43:44 collings-4.local Adobe AIR Application Installer[5930]: Commandline is: -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks" -withRuntime -url "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:43:44 collings-4.local Adobe AIR Application Installer[5930]: Installed runtime (1.5.3.9130) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:43:46 collings-4.local Adobe AIR Application Installer[5930]: Validating app in folder /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]/Contents/Resources
Feb 28 22:43:55 collings-4.local Adobe AIR Application Installer[5930]: Application signature verified
Feb 28 22:43:55 collings-4.local Adobe AIR Application Installer[5930]: Unpackaging/validation complete
Feb 28 22:43:55 collings-4.local Adobe AIR Application Installer[5930]: No app located for appID 'com.[APP_NAME].[APP_NAME]' and pubID ''
Feb 28 22:43:58 collings-4.local Finder[371]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 1. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
Feb 28 22:43:59 collings-4.local Adobe AIR Application Installer[5930]: Launching subprocess with commandline /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:43:59 collings-4.local Adobe AIR Application Installer[5930]: Relaunching with elevation
Feb 28 22:44:03 collings-4.local auditd[5934]: Auditing enabled
Feb 28 22:44:03 collings-4.local auditd[5934]: Got low space trigger
Feb 28 22:44:03 collings-4.local auditd[5934]: auditd_read_dirs(): all audit log directories over soft limit
Feb 28 22:44:04 collings-4.local auditd[5934]: renamed /var/audit/20130301084246.not_terminated to /var/audit/20130301084246.20130301084403
Feb 28 22:44:04 collings-4.local auditd[5934]: New audit file is /var/audit/20130301084403.not_terminated
Feb 28 22:44:04 collings-4.local _securityagent[5938]: audit warning: allsoft
Feb 28 22:44:04 collings-4.local _securityagent[5941]: audit warning: closefile /var/audit/20130301084246.20130301084403
Feb 28 22:44:04 collings-4.local _securityagent[5940]: audit warning: soft /var/audit
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): Got user: [USER_NAME]
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): Got ruser: (null)
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): Got service: authorization
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in od_principal_for_user(): No authentication authority returned
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in od_principal_for_user(): failed: 7
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): Done cleanup3
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): Kerberos 5 refuses you
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_authenticate(): pam_sm_authenticate: ntlm
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_acct_mgmt(): OpenDirectory - Membership cache TTL set to 1800.
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in od_record_check_pwpolicy(): retval: 0
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in od_record_attribute_create_cfstring(): returned 2 attributes for dsAttrTypeStandard:AuthenticationAuthority
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Establishing credentials
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Got user: [USER_NAME]
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Context initialised
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Got euid, egid: 0 0
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Done getpwnam()
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Done setegid() & seteuid()
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): pam_sm_setcred: krb5 user [USER_NAME] doesn't have a principal
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Done cleanup3
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Done seteuid() & setegid()
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): Done cleanup4
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): pam_sm_setcred: ntlm
Feb 28 22:44:04 collings-4.local authorizationhost[5935]: in pam_sm_setcred(): pam_sm_setcred: no domain found skipping
Feb 28 22:44:04 collings-4.local com.apple.SecurityServer[27]: UID 501 authenticated as user [USER_NAME] (UID 501) for right 'system.privilege.admin'
Feb 28 22:44:04 collings-4.local com.apple.SecurityServer[27]: Succeeded authorizing right 'system.privilege.admin' by client '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5930] for authorization created by '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5930] (13,0)
Feb 28 22:44:04 collings-4.local coreservicesd[67]: Application App:"Adobe AIR Application Installer" [ 0x0/0x41a41a] @ 0x0x7fe548ca9570 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x41b41b:) ), so denying.
Feb 28 22:44:04 collings-4.local WindowServer[116]: [cps/setfront] Failed setting the front application to Adobe AIR Application Installer, psn 0x0-0x41a41a, securitySessionID=0x186a4, err=-13066
Feb 28 22:44:04 collings-4.local com.apple.SecurityServer[27]: Succeeded authorizing right 'system.privilege.admin' by client '/usr/libexec/security_authtrampoline' [5942] for authorization created by '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5930] (3,0)
Feb 28 22:44:04 collings-4.local authexec[5942]: executing /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
Feb 28 22:44:04 collings-4.local Adobe AIR Application Installer[5942]: Application Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:44:04 collings-4.local Adobe AIR Application Installer[5942]: Commandline is: -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyBgifj/Adobe AIR Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:44:04 collings-4.local Adobe AIR Application Installer[5942]: Installed runtime (1.5.3.9130) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:44:05 collings-4.local Adobe AIR Application Installer[5942]: Validating app in folder /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]/Contents/Resources
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Application signature verified
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Unpackaging/validation complete
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: No app located for appID 'com.[APP_NAME].[APP_NAME]' and pubID ''
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/Shared/Library/Application Support/Adobe"
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /usr/sbin/chown -hfRP [USER_NAME] "/Users/[USER_NAME]/Library/Application Support/Adobe"
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/[USER_NAME]/Library/Application Support/Adobe"
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /usr/sbin/chown -hfRP [USER_NAME] "/Users/[USER_NAME]/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin"
Feb 28 22:44:12 collings-4.local Adobe AIR Application Installer[5942]: Starting silent combined runtime update and app install.
Updating runtime from version 1.5.3.9130 to version 3.6.0.5970.
Installing app com.[APP_NAME].[APP_NAME] version 1.3.7 to /Applications using the source file at /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]
Feb 28 22:44:22 collings-4 kernel[0]: Sandbox: sandboxd(5950) deny mach-lookup com.apple.coresymbolicationd
Feb 28 22:44:22 collings-4.local sandboxd[5950] ([5920]): mdworker(5920) deny file-read-data /Users/[USER_NAME]/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/fpupdatepl (pre-ls-info fstype:hfs fsflag:480D000 flags:240000005E diag:0 uti:com.apple.application-file plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 15941757)
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Subprocess chown succeeded
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Subprocess chown succeeded
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
Feb 28 22:44:52 collings-4.local Adobe AIR Application Installer[5942]: Subprocess chown succeeded
Feb 28 22:44:53 collings-4.local mdworker[5920]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 1. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
Feb 28 22:44:53 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel /Applications/[APP_NAME].app
Feb 28 22:44:53 collings-4.local Adobe AIR Application Installer[5942]: Subprocess chown succeeded
Feb 28 22:44:53 collings-4.local Adobe AIR Application Installer[5942]: Launching subprocess with commandline /bin/chmod -R ugo+rx /Applications/[APP_NAME].app
Feb 28 22:44:53 collings-4.local Adobe AIR Application Installer[5942]: Subprocess chmod succeeded
Feb 28 22:44:53 collings-4.local Adobe AIR Application Installer[5942]: Application Installer end with exit code 0
Feb 28 22:44:53 collings-4.local Adobe AIR Application Installer[5930]: Elevated install completed
Feb 28 22:44:54 collings-4.local Adobe AIR Application Installer[5930]: Launching subprocess with commandline /Applications/[APP_NAME].app
Feb 28 22:44:54 collings-4.local Dock[368]: no information back from LS about running process
Feb 28 22:44:54 collings-4.local Adobe AIR Application Installer[5930]: Application Installer end with exit code 0
Feb 28 22:44:54 collings-4.local Adobe AIR Installer[5928]: Subprocess app installer failed (-1)
Feb 28 22:44:54 collings-4.local Adobe AIR Installer[5928]: Runtime Installer end with exit code 7
Feb 28 22:44:54 collings-4.local Install [APP_NAME][5921]: Subprocess Runtime Installer failed (7)
Feb 28 22:44:54 collings-4.local Install [APP_NAME][5921]: Bootstrapper end with exit code 7
Feb 28 22:44:54 collings-4 com.apple.launchd.peruser.501[353] ([0x0-0x416416].com.[APP_NAME].[APP_NAME].installer[5921]): Exited with code: 7
Here is the log with AIR 2.0.4 (the dialog to install the app and option to download 3.6 is not displayed): INSTALL FAILED
Feb 28 21:34:11 collings-4.local Install [APP_NAME][4367]: Bootstrapper begin with version (null) on Mac x86
Feb 28 21:34:11 collings-4.local Install [APP_NAME][4367]: Installed runtime (2.0.4.13090) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 21:34:11 collings-4.local Install [APP_NAME][4367]: Launching subprocess with commandline "AIR Application Installer" /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]
Feb 28 21:34:11 collings-4.local Adobe AIR Application Installer[4369]: Starting app install of file:///Volumes/Install%20[APP_NAME]/Install%20[APP_NAME].app/Contents/Resources/[APP_NAM E]
Feb 28 21:34:11 collings-4.local Adobe AIR Application Installer[4369]: UI SWF load is complete
Feb 28 21:34:12 collings-4.local Adobe AIR Application Installer[4369]: UI initialized
Feb 28 21:34:12 collings-4.local Adobe AIR Application Installer[4369]: Detected native app installer
Feb 28 21:34:12 collings-4.local Adobe AIR Application Installer[4369]: style being loaded from stylesNative.swf
Feb 28 21:34:12 collings-4.local Adobe AIR Application Installer[4369]: beginning UI styling
Feb 28 21:34:12 collings-4.local Adobe AIR Application Installer[4369]: UI styling complete
Feb 28 21:34:12 collings-4.local Adobe AIR Application Installer[4369]: Validating the native package at file:///Volumes/Install%20[APP_NAME]/Install%20[APP_NAME].app/Contents/Resources/[APP_NAM E]
Feb 28 21:34:20 collings-4.local Adobe AIR Application Installer[4369]: failed while validating native package: Error: invalid migration signature
Here is the log with AIR 2.5 (the dialog to install the app and option to download 3.6 is not displayed): INSTALL FAILED
Feb 28 21:37:38 collings-4.local Install [APP_NAME][4428]: Bootstrapper begin with version (null) on Mac x86
Feb 28 21:37:38 collings-4.local Install [APP_NAME][4428]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 21:37:38 collings-4.local Install [APP_NAME][4428]: Launching subprocess with commandline "AIR Application Installer" /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]
Feb 28 21:37:39 collings-4.local Adobe AIR Application Installer[4430]: Application Installer begin with version 2.5.0.16600 on Mac OS 10.8.2 x86
Feb 28 21:37:39 collings-4.local Adobe AIR Application Installer[4430]: Commandline is: "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 21:37:39 collings-4.local Adobe AIR Application Installer[4430]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 21:37:40 collings-4.local Adobe AIR Application Installer[4430]: Validating app in folder /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]/Contents/Resources
Feb 28 21:37:47 collings-4.local Adobe AIR Application Installer[4430]: Migration signature validation failed
Feb 28 21:37:47 collings-4.local Adobe AIR Application Installer[4430]: Got an unexpected fatal error while validating native package: Error: invalid migration signature
Feb 28 21:37:50 collings-4.local Adobe AIR Application Installer[4430]: Application Installer end with exit code 7
Feb 28 21:37:50 collings-4.local Install [APP_NAME][4428]: Subprocess Application Installer failed (7)
Feb 28 21:37:50 collings-4.local Install [APP_NAME][4428]: Bootstrapper end with exit code 7
Feb 28 21:37:50 collings-4 com.apple.launchd.peruser.501[353] ([0x0-0x28d28d].com.[APP_NAME].[APP_NAME].installer[4428]): Exited with code: 7
Here is the log with AIR 2.6 (the dialog to install the app and option to download 3.6 is displayed): INSTALL OK
Feb 28 22:19:39 collings-4.local Install [APP_NAME][5321]: Installed runtime (2.6.0.19140) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:19:39 collings-4.local Adobe AIR Application Installer[5323]: Application Installer begin with version 2.6.0.19140 on Mac OS 10.8.2 x86
Feb 28 22:19:39 collings-4.local Adobe AIR Application Installer[5323]: Commandline is: "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:19:39 collings-4.local Adobe AIR Application Installer[5323]: Installed runtime (2.6.0.19140) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:19:40 collings-4.local Adobe AIR Application Installer[5323]: Validating app in folder /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]/Contents/Resources
Feb 28 22:19:48 collings-4.local Adobe AIR Application Installer[5323]: Application signature verified
Feb 28 22:19:48 collings-4.local Adobe AIR Application Installer[5323]: Unpackaging/validation complete
Feb 28 22:19:48 collings-4.local Adobe AIR Application Installer[5323]: Application has unknown namespace http://ns.adobe.com/air/application/3.1. Attempting immediate runtime update
Feb 28 22:19:48 collings-4.local Adobe AIR Application Installer[5323]: Begin runtime update download from http://airdownload.adobe.com/air/3/macos/x86/add/3.1/update
Feb 28 22:19:48 collings-4.local Adobe AIR Application Installer[5323]: Download destination is /Users/[USER_NAME]/Library/Application Support/Adobe/AIR/Updater/Update
Feb 28 22:19:48 collings-4.local Adobe AIR Application Installer[5323]: Unpackaging http://airdownload.adobe.com/air/3/macos/x86/add/3.1/update to /Users/[USER_NAME]/Library/Application Support/Adobe/AIR/Updater/Update
Feb 28 22:20:12 collings-4.local Adobe AIR Application Installer[5323]: Unpackaging complete
Feb 28 22:20:12 collings-4.local Adobe AIR Application Installer[5323]: Download success
Feb 28 22:20:12 collings-4.local Adobe AIR Application Installer[5323]: Successfully downloaded immediate update. Invoking downloaded installer
Feb 28 22:20:13 collings-4.local Adobe AIR Application Installer[5323]: Launching subprocess with commandline /Users/[USER_NAME]/Library/Application Support/Adobe/AIR/Updater/Update/updater -x1 -deleteInput /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:20:13 collings-4.local Adobe AIR Application Installer[5323]: Application Installer end with exit code 0
Feb 28 22:20:20 collings-4.local Adobe AIR Installer[5330]: Runtime Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:20:20 collings-4.local Adobe AIR Installer[5330]: Commandline is: -x1 -deleteInput /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:20:20 collings-4.local Adobe AIR Installer[5330]: Installed runtime (2.6.0.19140) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:20:20 collings-4.local Adobe AIR Installer[5330]: Invoking Application Installer for combined install
Feb 28 22:20:20 collings-4.local Adobe AIR Installer[5330]: Launching subprocess with commandline /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks" -withRuntime -deleteInput -url /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:20:20 collings-4.local Adobe AIR Application Installer[5331]: Application Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:20:20 collings-4.local Adobe AIR Application Installer[5331]: Commandline is: -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks" -withRuntime -deleteInput -url /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:20:20 collings-4.local Adobe AIR Application Installer[5331]: Installed runtime (2.6.0.19140) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:20:22 collings-4.local Adobe AIR Application Installer[5331]: Validating app in folder /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0/Content s/Resources
Feb 28 22:20:30 collings-4.local Adobe AIR Application Installer[5331]: Application signature verified
Feb 28 22:20:30 collings-4.local Adobe AIR Application Installer[5331]: Unpackaging/validation complete
Feb 28 22:20:30 collings-4.local Adobe AIR Application Installer[5331]: No app located for appID 'com.[APP_NAME].[APP_NAME]' and pubID ''
Feb 28 22:20:33 collings-4.local Adobe AIR Application Installer[5331]: Launching subprocess with commandline /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:20:33 collings-4.local Adobe AIR Application Installer[5331]: Relaunching with elevation
Feb 28 22:20:39 collings-4.local com.apple.SecurityServer[27]: Succeeded authorizing right 'system.privilege.admin' by client '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5331] for authorization created by '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5331] (13,0)
Feb 28 22:20:39 collings-4.local coreservicesd[67]: Application App:"Adobe AIR Application Installer" [ 0x0/0x382382] @ 0x0x7fe549928a40 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x383383:) ), so denying.
Feb 28 22:20:39 collings-4.local WindowServer[116]: [cps/setfront] Failed setting the front application to Adobe AIR Application Installer, psn 0x0-0x382382, securitySessionID=0x186a4, err=-13066
Feb 28 22:20:39 collings-4.local com.apple.SecurityServer[27]: Succeeded authorizing right 'system.privilege.admin' by client '/usr/libexec/security_authtrampoline' [5342] for authorization created by '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5331] (3,0)
Feb 28 22:20:39 collings-4.local authexec[5342]: executing /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
Feb 28 22:20:39 collings-4.local Adobe AIR Application Installer[5342]: Application Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:20:39 collings-4.local Adobe AIR Application Installer[5342]: Commandline is: -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/air9paHcd/Adobe AIR Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:20:39 collings-4.local Adobe AIR Application Installer[5342]: Installed runtime (2.6.0.19140) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:20:40 collings-4.local Adobe AIR Application Installer[5342]: Validating app in folder /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0/Content s/Resources
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Application signature verified
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Unpackaging/validation complete
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: No app located for appID 'com.[APP_NAME].[APP_NAME]' and pubID ''
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/Shared/Library/Application Support/Adobe"
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /usr/sbin/chown -hfRP [USER_NAME] "/Users/[USER_NAME]/Library/Application Support/Adobe"
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/[USER_NAME]/Library/Application Support/Adobe"
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /usr/sbin/chown -hfRP [USER_NAME] "/Users/[USER_NAME]/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin"
Feb 28 22:20:48 collings-4.local Adobe AIR Application Installer[5342]: Starting silent combined runtime update and app install.
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Subprocess chown succeeded
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Subprocess chown succeeded
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
Feb 28 22:21:32 collings-4.local Adobe AIR Application Installer[5342]: Subprocess chown succeeded
Feb 28 22:21:33 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel /Applications/[APP_NAME].app
Feb 28 22:21:33 collings-4.local Adobe AIR Application Installer[5342]: Subprocess chown succeeded
Feb 28 22:21:33 collings-4.local Adobe AIR Application Installer[5342]: Launching subprocess with commandline /bin/chmod -R ugo+rx /Applications/[APP_NAME].app
Feb 28 22:21:33 collings-4.local Adobe AIR Application Installer[5342]: Subprocess chmod succeeded
Feb 28 22:21:34 collings-4.local Adobe AIR Application Installer[5342]: Application Installer end with exit code 0
Feb 28 22:21:34 collings-4.local Adobe AIR Application Installer[5331]: Elevated install completed
Feb 28 22:21:34 collings-4.local Adobe AIR Application Installer[5331]: Launching subprocess with commandline /Applications/[APP_NAME].app
Feb 28 22:21:35 collings-4.local Adobe AIR Application Installer[5331]: Application Installer end with exit code 0
Feb 28 22:21:35 collings-4.local Adobe AIR Installer[5330]: Subprocess app installer succeeded
Feb 28 22:21:35 collings-4.local Adobe AIR Installer[5330]: Runtime Installer end with exit code 0
Here is the log with AIR 2.7 (the dialog to install the app and option to download 3.6 is displayed): INSTALL OK
Feb 28 22:30:27 collings-4.local Install [APP_NAME][5591]: Installed runtime (2.7.1.19610) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:30:28 collings-4.local Adobe AIR Application Installer[5593]: Application Installer begin with version 2.7.1.19610 on Mac OS 10.8.2 x86
Feb 28 22:30:28 collings-4.local Adobe AIR Application Installer[5593]: Commandline is: "/Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]"
Feb 28 22:30:28 collings-4.local Adobe AIR Application Installer[5593]: Installed runtime (2.7.1.19610) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:30:28 collings-4.local Adobe AIR Application Installer[5593]: Validating app in folder /Volumes/Install [APP_NAME]/Install [APP_NAME].app/Contents/Resources/[APP_NAME]/Contents/Resources
Feb 28 22:30:37 collings-4.local Adobe AIR Application Installer[5593]: Application signature verified
Feb 28 22:30:37 collings-4.local Adobe AIR Application Installer[5593]: Unpackaging/validation complete
Feb 28 22:30:37 collings-4.local Adobe AIR Application Installer[5593]: Application has unknown namespace http://ns.adobe.com/air/application/3.1. Attempting immediate runtime update
Feb 28 22:30:37 collings-4.local Adobe AIR Application Installer[5593]: Begin runtime update download from http://airdownload.adobe.com/air/3/macos/x86/add/3.1/update
Feb 28 22:30:37 collings-4.local Adobe AIR Application Installer[5593]: Download destination is /Users/[USER_NAME]/Library/Application Support/Adobe/AIR/Updater/Update
Feb 28 22:30:37 collings-4.local Adobe AIR Application Installer[5593]: Unpackaging http://airdownload.adobe.com/air/3/macos/x86/add/3.1/update to /Users/[USER_NAME]/Library/Application Support/Adobe/AIR/Updater/Update
Feb 28 22:31:04 collings-4.local Adobe AIR Application Installer[5593]: Unpackaging complete
Feb 28 22:31:04 collings-4.local Adobe AIR Application Installer[5593]: Download success
Feb 28 22:31:04 collings-4.local Adobe AIR Application Installer[5593]: Successfully downloaded immediate update. Invoking downloaded installer
Feb 28 22:31:04 collings-4.local Adobe AIR Application Installer[5593]: Launching subprocess with commandline /Users/[USER_NAME]/Library/Application Support/Adobe/AIR/Updater/Update/updater -x1 -deleteInput /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:31:04 collings-4.local Adobe AIR Application Installer[5593]: Application Installer end with exit code 0
Feb 28 22:31:11 collings-4.local Adobe AIR Installer[5604]: Runtime Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:31:11 collings-4.local Adobe AIR Installer[5604]: Commandline is: -x1 -deleteInput /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:31:11 collings-4.local Adobe AIR Installer[5604]: Installed runtime (2.7.1.19610) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:31:11 collings-4.local Adobe AIR Installer[5604]: Invoking Application Installer for combined install
Feb 28 22:31:11 collings-4.local Adobe AIR Installer[5604]: Launching subprocess with commandline /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks" -withRuntime -deleteInput -url /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:31:12 collings-4.local Adobe AIR Application Installer[5605]: Application Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:31:12 collings-4.local Adobe AIR Application Installer[5605]: Commandline is: -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks" -withRuntime -deleteInput -url /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:31:12 collings-4.local Adobe AIR Application Installer[5605]: Installed runtime (2.7.1.19610) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:31:13 collings-4.local Adobe AIR Application Installer[5605]: Validating app in folder /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0/Content s/Resources
Feb 28 22:31:23 collings-4.local Adobe AIR Application Installer[5605]: Application signature verified
Feb 28 22:31:23 collings-4.local Adobe AIR Application Installer[5605]: Unpackaging/validation complete
Feb 28 22:31:23 collings-4.local Adobe AIR Application Installer[5605]: No app located for appID 'com.[APP_NAME].[APP_NAME]' and pubID ''
Feb 28 22:31:28 collings-4.local Adobe AIR Application Installer[5605]: Launching subprocess with commandline /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:31:28 collings-4.local Adobe AIR Application Installer[5605]: Relaunching with elevation
Feb 28 22:31:33 collings-4.local com.apple.SecurityServer[27]: Succeeded authorizing right 'system.privilege.admin' by client '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5605] for authorization created by '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5605] (13,0)
Feb 28 22:31:33 collings-4.local coreservicesd[67]: Application App:"Adobe AIR Application Installer" [ 0x0/0x3c53c5] @ 0x0x7fe548e920f0 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x3c63c6:) ), so denying.
Feb 28 22:31:33 collings-4.local WindowServer[116]: [cps/setfront] Failed setting the front application to Adobe AIR Application Installer, psn 0x0-0x3c53c5, securitySessionID=0x186a4, err=-13066
Feb 28 22:31:33 collings-4.local com.apple.SecurityServer[27]: Succeeded authorizing right 'system.privilege.admin' by client '/usr/libexec/security_authtrampoline' [5617] for authorization created by '/private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app' [5605] (3,0)
Feb 28 22:31:33 collings-4.local authexec[5617]: executing /var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
Feb 28 22:31:33 collings-4.local Adobe AIR Application Installer[5617]: Application Installer begin with version 3.6.0.5970 on Mac OS 10.8.2 x86
Feb 28 22:31:33 collings-4.local Adobe AIR Application Installer[5617]: Commandline is: -runtime "/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/T/airyCunbe/Adobe AIR Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0
Feb 28 22:31:33 collings-4.local Adobe AIR Application Installer[5617]: Installed runtime (2.7.1.19610) located at /Library/Frameworks/Adobe AIR.framework
Feb 28 22:31:34 collings-4.local Adobe AIR Application Installer[5617]: Validating app in folder /private/var/folders/r3/sysmrw8s4f1f18wvfk79zwrw0000gn/0/TemporaryItems/FlashTmp0/Content s/Resources
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Application signature verified
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Unpackaging/validation complete
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: No app located for appID 'com.[APP_NAME].[APP_NAME]' and pubID ''
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/Shared/Library/Application Support/Adobe"
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /usr/sbin/chown -hfRP [USER_NAME] "/Users/[USER_NAME]/Library/Application Support/Adobe"
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/[USER_NAME]/Library/Application Support/Adobe"
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /usr/sbin/chown -hfRP [USER_NAME] "/Users/[USER_NAME]/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin"
Feb 28 22:31:41 collings-4.local Adobe AIR Application Installer[5617]: Starting silent combined runtime update and app install.
Feb 28 22:32:18 collings-4.local Adobe AIR Application Installer[5617]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Subprocess chown succeeded
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Subprocess chown succeeded
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Subprocess chown succeeded
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel /Applications/[APP_NAME].app
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Subprocess chown succeeded
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Launching subprocess with commandline /bin/chmod -R ugo+rx /Applications/[APP_NAME].app
Feb 28 22:32:19 collings-4.local Adobe AIR Application Installer[5617]: Subprocess chmod succeeded
Feb 28 22:32:20 collings-4.local Adobe AIR Application Installer[5617]: Application Installer end with exit code 0
Feb 28 22:32:20 collings-4.local Adobe AIR Application Installer[5605]: Elevated install completed
Feb 28 22:32:20 collings-4.local Adobe AIR Application Installer[5605]: Launching subprocess with commandline /Applications/[APP_NAME].app
Feb 28 22:32:21 collings-4.local Adobe AIR Application Installer[5605]: Application Installer end with exit code 0
Feb 28 22:32:21 collings-4.local Adobe AIR Installer[5604]: Subprocess app installer succeeded
Feb 28 22:32:21 collings-4.local Adobe AIR Installer[5604]: Runtime Installer end with exit code 0 -
Hi everyone! I work in Flash Builder...
Can't find how to update my air app: i have air app v.1 and i want to update it to v.2
This my test examle:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
applicationComplete="init()">
<fx:Declarations>
<!-- Разместить невизуальные элементы (например, службы или объекты значений) -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import air.update.ApplicationUpdaterUI;
import air.update.events.UpdateEvent;
private var updater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
private function init():void
updater.configurationFile = new File("app:/config/updaterConfig.xml");
updater.addEventListener(UpdateEvent.INITIALIZED, updaterInitialized);
updater.initialize();
private function updaterInitialized(event:UpdateEvent):void
isFirstRun.text = event.target.isFirstRun;
previousVersion.text = event.target.previousVersion;
currentVersion.text = event.target.currentVersion;
]]>
</fx:Script>
<s:Group width="300" height="200" horizontalCenter="0" verticalCenter="0">
<s:layout>
<s:BasicLayout/>
</s:layout>
<s:Label text="isFirstRun:" x="80" y="45" />
<s:Label id="isFirstRun" x="180" y="45" />
<s:Label text="previousVersion:" x="78" y="75" />
<s:Label id="previousVersion" x="180" y="75" />
<s:Label text="currentVersion:" x="78" y="105" />
<s:Label id="currentVersion" x="180" y="105" />
<s:Button click="updater.checkNow();" label="Check for Update" x="88" y="135" />
</s:Group>
</s:WindowedApplication>
I have "updaterConfig.xml":
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns="http://ns.adobe.com/air/framework/update/configuration/1.0">
<url>http://mydomain.com/myairapp/update.xml</url>
<delay>1</delay>
<defaultUI>
<dialog name="checkForUpdate" visible="true" />
<dialog name="downloadUpdate" visible="true" />
<dialog name="downloadProgress" visible="true" />
<dialog name="instalUpdate" visible="true" />
</defaultUI>
</configuration>
witch plase in my project: src\config\updaterConfig.xml
in this srting "<url>http://mydomain.com/myairapp/update.xml</url>" i show way to find "update.xml" file on my server, then i'll show code of this file:
<?xml version="1.0" encoding="utf-8" ?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/1.0">
<version>1.0.1</version>
<url>http://mydomain.com/air/myapplicationV2.air</url>
<description><![CDATA[Varios bug fixes ]]></description>
</update>"src/config/updaterConfig.xml"
in this srting " <url>http://mydomain.com/air/myapplicationV2.air</url>" i show way to find my app v.2 on my server...
If I correctly understand im doing all quite true, but it's not working(((
Somebody, please, show my how to uppdate air app!) It will be perfect if you email me to [email protected] working project, or contact with my on skype absolut545...
And looking forward thaks to every one!) PS: sorry for my eng)))If you are installing via a bootstrap, sub installer, this should be doable. Please take a look at our distribution agreement form, it's a simple process and once completed you'll get instructions that detail how to accomplish silent installs.
Thanks,
Chris -
Phantom Usage - iPhone Auto Update of Apps - How to turn off?
Since upgrading to 2.2 the "Usage" of my phone has gone way up. Example, my phone since last charge has been on for 2 day 17 hours 15 minutes. My call time has been 35 minutes, however my usage time has been 2 hours 55 minutes. I talked to Apple and they have had reports on "Phantom" usage. That is Apps and system software not shutting down. All the rep could do was to make me an appointment with the Apple Store 3 hours away.
Under setting's I have about 10 Apps that are in the "AutoUpdate Settings List". I think this could be the problem. How the heck do I turn this Auto Update Off????
ThanksI've had my phone come back from sleep with the red number around app store when I haven't opened app store lately. I thought that was a normal feature, like mail.
You mean it should not do that?
I cannot find any setting which controls it however.
PS. I have no idea if maybe it is getting that info through itunes sync or wifi or wireless or what -- I just know it mysteriously pops up without me looking. -
I've had updating working fine until I recently started using
a secure digital certificate. I realize that I can't update from
the an old version that had the certificate I generated myself, but
even after uninstalling the old version and installing a new
version that was created with the new certificate and then trying
to update it give's me this error:
Sorry, and error has occured.
This application cannot be installed because this installer
has been mis-configured. Please contact the application author for
assistance.
For my update process I'm downloading the updated .AIR file,
saving it to the applicationStorageDirectory and then calling the
updater. Once the update fails, if I then browse to the updated
.AIR file and run it directly, it works fine and I'm able to update
that way, so I know that the .AIR file isn't corrupted.
Is there some other important element I'm missing that could
be causing this to fail?The most common cause of a failed update with the same
certificate is that the version number passed to the Updater API
doesn't match the version number in the AIR file.
BTW, starting with AIR 1.1, you can perform an update between
two different certificates. See e.g.
http://blogs.adobe.com/simplicity/2008/09/switching_certificates.html -
Hi guys,
I have read this tutorial:
http://www.adobe.com/devnet/air/ajax/quickstart/articles/update_framework.html
but the url of update/description is old:
http://www.adobe.com/air/framework/update/description/1.0
What is the correct url?
http://www.adobe.com/air/framework/update/description/2.7 and 2.7.1 doesn't works.
Thanks.Hum, I don't see the link you mentioned (http://www.adobe.com/air/framework/update/description/1.0) in the article on http://www.adobe.com/devnet/air/ajax/quickstart/articles/update_framew ork.html
If you have questions on the article, you can try posting a comment at the bottom of the article. -
How can you tell if apps have auto updated?
When turning on Auto Update of apps in iOS 7, will iOS tell you if it has actually done an auto update? If so, how will it do this? Notification Center?
Go to App Store>Update
When app is updated, you will see "Open" on the righ of screen.
http://i1224.photobucket.com/albums/ee374/Diavonex/d32a51b2816feef7d289eb142699f 232_zpsdfa5bd48.jpg -
Auto uodate of apps on the store
I am using a Lumia 920 since over a year now and I am pretty satisfied with WP 8.1. All what it offers is something that is good and although there is a lot of room for improvements.. I was disappointed today morning.
My store settings say that apps will be updated over wifi only but Alphalt 8 was updated over my mobile network. This update exhausted my built in limit on one day. Why does this happen? I am sure I had auto update of apps "off" because when I opened settings to check.. It was at off.
Does this happen everytime? Or did I go wrong somewhere?Nice to see you posting on our community forum. When you say WP 8.1, are you referring to the Lumia Cyan update? Does it only happen in this particular app?
You may also post your ideas here: http://windowsphone.uservoice.com/forums/101801-feature-suggestions .
Keep us posted. -
How to Auto Update an air app created in flash cs5
i have an application that needs to check auto update everytime it starts. but i have only found how to do it in fleash builder. sin ce im working in flash professional cs5 I DONT KNOW WHAT TO DO
any heads up?The same techniques work in Flash/ActionScript. See http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff2.html. Although some of the examples are written in MXML, the relevant code is all ActionScript.
-
Air Auto Update Error -- Flash Builder Burrito.
This is my first attempt at this, so I may be missing something simple.
I'm not having any luck getting an Air app to automatically update.
If I manually go to http://localhost/air1/air1.air and redownload the file I will get a popup that asks if I want to update the app, but when I say ok I get this error.
"There was an error checking for updates. Error# 16816"
I haven't found a reason yet,
Any ideas?
update.xml
<?xml version="1.0" encoding="UTF-8"?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
<version>2.0</version>
<url>http://localhost/air1/air1.air</url>
<description>1.0 - First version</description>
</update>
file -- air1.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
applicationComplete="init()">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import air.update.events.UpdateEvent;
import air.update.ApplicationUpdaterUI;
import mx.controls.Alert;
protected var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI(); // Used for auto-update
protected function init():void
// Check for update
this.checkUpdate();
Alert.show("checking update");
// This function is triggered when the application finished loading.
// Initialize appUpdater and set some properties
protected function checkUpdate():void
// set the URL for the update.xml file
appUpdater.updateURL = "http://localhost/air1/update.xml";
appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate);
appUpdater.addEventListener(ErrorEvent.ERROR, onUpdaterError);
// Hide the dialog asking for permission for checking for a new update.
// If you want to see it just leave the default value (or set true).
appUpdater.isCheckForUpdateVisible = true;
appUpdater.initialize();
// Handler function triggered by the ApplicationUpdater.initialize.
// The updater was initialized and it is ready to take commands.
protected function onUpdate(event:UpdateEvent):void
// start the process of checking for a new update and to install
appUpdater.checkNow();
// Handler function for error events triggered by the ApplicationUpdater.initialize
protected function onUpdaterError(event:ErrorEvent):void
Alert.show(event.toString());
]]>
</fx:Script>
<s:Button x="47" y="55" label="Button"/>
<mx:ColorPicker x="61" y="119"/>
<s:ComboBox x="77" y="216"/>
<s:ComboBox x="77" y="185"/>
<s:ComboBox x="77" y="154"/>
</s:WindowedApplication>
file -- air1-app.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.5">
<!-- Adobe AIR Application Descriptor File Template.
Specifies parameters for identifying, installing, and launching AIR applications.
xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
The last segment of the namespace specifies the version
of the AIR runtime required for this application to run.
minimumPatchLevel - The minimum patch level of the AIR runtime required to run
the application. Optional.
-->
<!-- A universally unique application identifier. Must be unique across all AIR applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>air1</id>
<!-- Used as the filename for the application. Required. -->
<filename>air1</filename>
<!-- The name that is displayed in the AIR application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>air1</name>
<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
<versionNumber>2.0.0</versionNumber>
<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
<!-- <versionLabel></versionLabel> -->
<!-- Description, displayed in the AIR application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<!-- <description></description> -->
<!-- Copyright information. Optional -->
<!-- <copyright></copyright> -->
<!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
<!-- <publisherID></publisherID> -->
<!-- Settings for the application's initial window. Required. -->
<initialWindow>
<!-- The main SWF or HTML file of the application. Required. -->
<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<!-- The title of the main window. Optional. -->
<!-- <title></title> -->
<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
<!-- <systemChrome></systemChrome> -->
<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
<!-- <transparent></transparent> -->
<!-- Whether the window is initially visible. Optional. Default false. -->
<!-- <visible></visible> -->
<!-- Whether the user can minimize the window. Optional. Default true. -->
<!-- <minimizable></minimizable> -->
<!-- Whether the user can maximize the window. Optional. Default true. -->
<!-- <maximizable></maximizable> -->
<!-- Whether the user can resize the window. Optional. Default true. -->
<!-- <resizable></resizable> -->
<!-- The window's initial width in pixels. Optional. -->
<!-- <width></width> -->
<!-- The window's initial height in pixels. Optional. -->
<!-- <height></height> -->
<!-- The window's initial x position. Optional. -->
<!-- <x></x> -->
<!-- The window's initial y position. Optional. -->
<!-- <y></y> -->
<!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
<!-- <minSize></minSize> -->
<!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
<!-- <maxSize></maxSize> -->
<autoOrients>false</autoOrients>
<fullScreen>false</fullScreen>
<visible>false</visible>
</initialWindow>
<!-- We recommend omitting the supportedProfiles element, -->
<!-- which in turn permits your application to be deployed to all -->
<!-- devices supported by AIR. If you wish to restrict deployment -->
<!-- (i.e., to only mobile devices) then add this element and list -->
<!-- only the profiles which your application does support. -->
<!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
<!-- The subpath of the standard default installation location to use. Optional. -->
<!-- <installFolder></installFolder> -->
<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
<!-- <programMenuFolder></programMenuFolder> -->
<!-- The icon the system uses for the application. For at least one resolution,
specify the path to a PNG file included in the AIR package. Optional. -->
<!-- <icon>
<image16x16></image16x16>
<image32x32></image32x32>
<image36x36></image36x36>
<image48x48></image48x48>
<image72x72></image72x72>
<image128x128></image128x128>
</icon> -->
<!-- Whether the application handles the update when a user double-clicks an update version
of the AIR file (true), or the default AIR application installer handles the update (false).
Optional. Default false. -->
<!-- <customUpdateUI></customUpdateUI> -->
<!-- Whether the application can be launched when the user clicks a link in a web browser.
Optional. Default false. -->
<!-- <allowBrowserInvocation></allowBrowserInvocation> -->
<!-- Listing of file types for which the application can register. Optional. -->
<!-- <fileTypes> -->
<!-- Defines one file type. Optional. -->
<!-- <fileType> -->
<!-- The name that the system displays for the registered file type. Required. -->
<!-- <name></name> -->
<!-- The extension to register. Required. -->
<!-- <extension></extension> -->
<!-- The description of the file type. Optional. -->
<!-- <description></description> -->
<!-- The MIME content type. -->
<!-- <contentType></contentType> -->
<!-- The icon to display for the file type. Optional. -->
<!-- <icon>
<image16x16></image16x16>
<image32x32></image32x32>
<image48x48></image48x48>
<image128x128></image128x128>
</icon> -->
<!-- </fileType> -->
<!-- </fileTypes> -->
<!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
<!--<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-configuration android:reqFiveWayNav="true"/>
<supports-screens android:normalScreens="true"/>
<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
<application android:enabled="true">
<activity android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
</android> -->
<!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
</application>This appears to be a Flex question. Please try posting to the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion for better response.
-
Adobe air 2.6 auto update problem..
hi friends,
i am writing a multitouch application for like kiosk machine..
and i want to add auto update functionally,
i write this codes, but i am getting There was an error downloading the update. Error# 16824 error after downloading update...
update_2_6.xml :
<?xml version="1.0" encoding="utf-8"?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
<versionNumber>0.0.4</versionNumber>
<url>http://www.abc.com/updates/RixossIBoard_v004.air.zip</url>
<description>This is an AIR2.6 release of my application</description>
</update>
update_config.xml :
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://ns.adobe.com/air/framework/update/configuration/1.0">
<url>http://www.abc.com/updates/update_2_6.xml</url>
<delay>0</delay>
<defaultUI>
<dialog name="checkForUpdate" visible="false" />
<dialog name="downloadUpdate" visible="true" />
<dialog name="downloadProgress" visible="true" />
<dialog name="installUpdate" visible="true" />
</defaultUI>
</configuration>
in flash code:
var updater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
updater.configurationFile = new File("app:/update_config.xml");
updater.addEventListener(UpdateEvent.INITIALIZED, updaterInitialized);
updater.addEventListener(ErrorEvent.ERROR, hatavarupdate);
//updater.addEventListener(ErrorEvent.ERROR.hatavarupdate);
updater.initialize();
function hatavarupdate(evt:ErrorEvent):void
//trace (evt.type);
function updaterInitialized(e:UpdateEvent):void{
updater.checkNow();
what is problem?
it check update ok, download update ok, but after download update i get the There was an error downloading the update. Error# 16824
Thanks for relation,
ErcanWhy don't you post some of the relevant lines for your application?
Makes hard to guess what the issue is otherwise.
The first line of your matching app file (<appname>-app.mxml) must have the same matching air sdk version as in...
<application xmlns="http://ns.adobe.com/air/application/2.6">
The version number if that same file must match the versionNumber in your update file, as in
<versionNumber>0.0.4</versionNumber>
Compile it and distribute it to the url specified in your update xml file
http://www.abc.com/updates/RixossIBoard_v004.air.zip
Manually check your app:/update_config.xml - make sure it is what you think it is
Don -
Flash Builder 4.5.1 - Air ApplicationUpdaterUI Auto Update Fails
I just reinstalled my FlashBuilder 4.5.1 and built a new HelloWorld App
in order to test the SDK 2.6 with the Air ApplicationUpdaterUI.
I get no errors but it won't update using the 2.6 namespace in both the -app.mxml and update.xml on server.
A trace in the StatusUpdateEvent never shows up in debug mode.
The only window that pops up is the one asking to Check for Update?
Pulling my hair out - must be something obvious I'm doing wrong here - can a new set of eyes spot something?
Main xml file:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete = "checkForUpdate();" title="Test Air Updater">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import air.net.URLMonitor;
import air.update.ApplicationUpdaterUI;
import air.update.events.StatusUpdateErrorEvent;
import air.update.events.StatusUpdateEvent;
import air.update.events.UpdateEvent;
import flash.events.ErrorEvent;
import mx.controls.Alert;
import mx.events.CloseEvent;
import mx.events.FlexEvent;
private const APP_VERSION_FILE:String = "http://www.public-knowledge.com/Quest/Timesheets/new_app_version.xml";
private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
private function checkForUpdate():void {
// Add events
appUpdater.addEventListener(UpdateEvent.INITIALIZED, onInitialized);
appUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateStatusError);
appUpdater.addEventListener(StatusUpdateEvent.UPDATE_STATUS, updateStatusHandler);
appUpdater.addEventListener(ErrorEvent.ERROR, onError); // If something goes wrong, run onError
appUpdater.isCheckForUpdateVisible = true;
appUpdater.isUnexpectedErrorVisible = true;
appUpdater.isDownloadUpdateVisible= true;
appUpdater.isDownloadProgressVisible=true;
appUpdater.isInstallUpdateVisible = true;
appUpdater.updateURL = APP_VERSION_FILE; // Server-side XML file describing update
trace(APP_VERSION_FILE);
appUpdater.initialize();
private function onError(event:ErrorEvent):void {
Alert.show('ERROR: ' + event.toString());
private function onUpdateStatusError(event:StatusUpdateErrorEvent):void {
Alert.show('Error Checking For Update: ' + event.toString());
private function onInitialized(event:UpdateEvent):void {
trace('Checking For Updates ...');
appUpdater.checkNow();
private function updateStatusHandler(event:UpdateEvent):void {
//var descriptor:XML = NativeApplication.nativeApplication.applicationDescriptor;
//var ns:Namespace = descriptor.namespaceDeclarations()[0];
//var verNum:String = descriptor.ns::versionNumber;
trace('Update Event Reached ...');
]]>
</fx:Script>
<s:TitleWindow x="63" y="35" width="250" height="200" title="Hello">
<s:Label x="24" y="80" text="Hello World"/>
</s:TitleWindow>
</s:WindowedApplication>
-App.MXML File: (first part)
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
<!-- Adobe AIR Application Descriptor File Template.
Specifies parameters for identifying, installing, and launching AIR applications.
xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.6
The last segment of the namespace specifies the version
of the AIR runtime required for this application to run.
minimumPatchLevel - The minimum patch level of the AIR runtime required to run
the application. Optional.
-->
<!-- A universally unique application identifier. Must be unique across all AIR applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>ca.questgeomatics.testairapp</id>
<!-- Used as the filename for the application. Required. -->
<filename>TestAirUpdater</filename>
<!-- The name that is displayed in the AIR application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>TestAirUpdater</name>
<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
<versionNumber>1.0.0</versionNumber>
<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
<versionLabel>v 1.0.0</versionLabel>
Updater XML file (new_app_version.xml):
<?xml version="1.0" encoding="utf-8"?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/2.6">
<versionNumber>1.0.1</versionNumber>
<versionLabel>v 1.01</versionLabel>
<url>http://www.public-knowledge.com/Quest/Timesheets/TestAirUpdater.air</url>
<description><![CDATA[
* First official release that implemements Auto Updating feature
]]></description>
</update>
Bolded appl descriptor versions
Message was edited by: DonMitchinsonStatus Update - don't know if this is a bug, design flaw, install problem or my misunderstanding.
I got it to work by first changing my Flex library to 4.5.0 - still didn't work with current
app and update mxml files using "2.6" for their namespace versions. But I did at least
get the popup error number 16815 - indicating an error in the update version namespace.
By leaving my application namespace version at "2.6" and changing the update version to "2.5" ... bingo!
I got my new update installed autiomatically.
Is this how it's supposed to work - or are my runtimes mixed up?
Will this work the same using the Flex 4.5.1 SDK? I'll find out shortly
Hope this helps others. -
Windows XP Permissions vs AIR Auto Update
Hello All,
I've just started getting into AIR, and I've run into an
issue. I'm planning an app that would be distributed to Windows XP
users with limited accounts. The issue I'm currently trying to
tackle is how to get the application to auto update when a user
opens it from a limited account. Currently it gives me the error:
"An error occurred while updating the application. Try updating it
again. If the problem persists, contact the application author.
Error# 0".
Since I'm a Mac guy, I don't know too much about permissions
and account settings in XP. Is there a way to simply give the
application the necessary permissions without having the user have
to login every time like the "Run with different credentials"
option.No, there's no way around this. Prevent applications from
updating themselves is part of what limited accounts are supposed
to do.
You might try finding out how software is normally updated
for these machines. That's probably the path you want to take for
this application, too.
Maybe you are looking for
-
Buffer error using APEX_ITEM
I have this query on a apex report: select APEX_ITEM.TEXT(1, ATRIBUTO, 30) "Attributes" ,ATRIBID ,VALOR "Actual Value" ,APEX_ITEM.SELECT_LIST_FROM_QUERY(2 ,ATRIB_VLR_ID ,'select VALOR ,ID from ATRIBBVAL where ATRIB_ID = ' || ATRIBID||' order by valor
-
How do I avoid rendering in Final Cut Express 4 ?
Someone mentioned synchronizing movie files and sequences but I am not sure what type of files either should be and how to do that. As of now I am using h.264 compressor for movie clips but I don't know if that is good.
-
I was using my iphone 4 and it just reset its self now its saying i need to take it in
so i was texting on my phone and it turned to no service so i closed everything off and turned it off to reset it to see if that i just lost my connection when i turned it back on it was at the screen to configure it. i followed it and pluged it into
-
Preserve the layer order imported from photoshop
Is there a way to import photoshop files to after effects and keep the layer order from photoshop? I don't want to have to go back to all of my photoshop files and rename them. And I'd like to use the folders instead of compositions (the ones that ar
-
The computer 'RpcSs' preference item in the 'Default Domain Policy {31B2F340-016D-11D2-945F-00C04FB984F9}' Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.