Silent AIR Update
Hi Guys,
I am able to add Auto update feature into my AIR application, work great!
Now I got a new requirement: enable Silent update, in case we have just small update, we just want to update the application behind the scenes.
I am able to implement most of the requrement. However, at the end of updating, there is a dialog as shown below:
I think this dialog comes from AIR Runtime instead of update framework. Is there a way I can hide this dialog? Or is there any documentation we can custom this action?
Thanks,
George
I believe this dialog come from the update framework.
-ted
Similar Messages
-
Adobe Air updater goes Error #1034
Hi,
we've packaged an air application with an old version of air runtime that is automatically deployed to our customer computer.
Everything goes well on install, but when we launch our application, it logically propose our customer to update to the last version of Air.
The problem is that during the update process of air runtime (our application is still running), we have an error #1034 appearing.
the Adobe Air Updater logs are the following :
[2012-01-06:10:40:11] Runtime Installer begin with version 3.0.0.4080 on Windows 7 x86
[2012-01-06:10:40:11] Commandline is: -silent -eulaAccepted
[2012-01-06:10:40:11] Installed runtime (3.0.0.4080) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-01-06:10:40:11] Runtime Installer end with exit code 0
[2012-01-06:10:40:42] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -updatecheck
[2012-01-06:10:40:42] Runtime Installer begin with version 3.0.0.4080 on Windows 7 x86
[2012-01-06:10:40:42] Commandline is: -updatecheck
[2012-01-06:10:40:42] Installed runtime (3.0.0.4080) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-01-06:10:40:42] Performing pingback request
[2012-01-06:10:40:43] Pingback request completed with HTTP status 200
[2012-01-06:10:40:43] Starting runtime background update check
[2012-01-06:10:40:43] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.0.0.4080/update
[2012-01-06:10:40:43] Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.0.0.4080/update to C:\Users\ksaidi\AppData\Roaming\Adobe\AIR\Updater\Background
[2012-01-06:10:40:44] Unpackaging complete
[2012-01-06:10:40:44] Download success
[2012-01-06:10:40:44] Runtime updated downloaded
[2012-01-06:10:40:44] Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception TypeError: Error #1034" errorID=1034]
[2012-01-06:10:41:05] Runtime Installer end with exit code 7
The most disturbing is that if we close our application and run the updater alone, everything goes well, and our application is running perfectly.
Anyone have a clue on what is happening?
Thanks a lot
AntoineI've seen this error before in a few posts, but I don't think I've seen a solution or exact cause. Are you seeing this on every system you try or is it isolated to particular machines? If it's occurring everywhere, would you be willing to send me ([email protected]) your installer so I can give it a try?
Thanks,
Chris -
Silent AIR application installation fails on AIR 3.9
I install my AIR application silently using the following command :
"/Volumes/Install Test/Install Test.app/Contents/MacOS/Install Test" -silent -location "/Applications/ABC"
It worked fine till AIR 3.8. With the new AIR update 3.9, this command fails with exit code 2 and error "too many arguments"Thanks Oliver. I uninstalled the application and then
uninstalled AIR 1.1. I then re-installed AIR 1.1 and attemped to
re-install the application. The error is still happening. Here is
the log file. Do you have any ideas?
Starting app install of <APP_URL> <-- let me know if
you need this url
UI SWF load is complete
UI initialized
Downloading file to
C:\Users\Rachel\AppData\Local\Temp\fla8B3E.tmp
Received HTTP Response Status event
Response URL is <APP_URL> <-- let me know if you
need this url
Waiting for user confirmation
User confirmed action: install
Unpackaging to C:\Users\Rachel\AppData\Local\Temp\fla9666.tmp
unpackaging is complete
application is bound to side-by-side version 1.0
application is bound to this version of the runtime
app id com.bridallive.Retailer
pub id 6341C81035B69B0DC07A41D6269B3F8B7C24EDE3.1
application not currently installed
Waiting for user confirmation
User confirmed action: install
creating native installer in:
C:\Users\Rachel\AppData\Local\Temp\flaAED7.tmp
native installer creation failed: [ErrorEvent type="error"
bubbles=false cancelable=false eventPhase=2 text="Unhandled
exception Error: Error #3003" errorID=3003]
starting cleanup of temporary files
application installer exiting -
Unable to install Adobe Air Update
I am unable to install an Adobe Air update. I am running Windows7, getting error code 80040154. Could it be Kapersky anti virus software blocking?
Thank you for your help. I have suspended Kapersky but I cannot find Air when I search in the Programs and when I try to install I now get a message saying 'it may be your administrator blocking you'. I am the only user and set up as the Administrator but do not know how to check if this is the case.
I have managed to install the application that needs Air on an old XP notebook. Much Appreciation for your help. RJ -
No WIFI after iOS 5.0.1 over-the-air update on original iPad
No WIFI after iOS 5.0.1 over-the-air update on original iPad. I have reset the network settings, power off the iPad, trying static IP and nothing, it's unable to join my wifi network. anybody with the same issue?
Great! Thanks, this works.
I have an old Linksys WRT54G in it I can select WPA Personal and AES as algorithm--it works for me (though maybe just changing to anything works! but I will not try anything different since I have spent already so much time with this problem.) Again, thanks for the solution Juan. -
Error 1620 During AIR Update and AIR App updates
On of our customers is having repeated problems installing our application update on Windows XP SP3. I checked the install.log and see that the most recent error he is getting is Windows Installer Error 1620, but my research has not turned up very much helpful information about that error. Do you know what might cause this?
An excerpt from his log file is below.
Many thanks for your help,
Taylor
Log File:
2010-12-04:20:09:15] Launching subprocess with commandline c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -updatecheck
[2010-12-04:20:09:16] Runtime Installer begin with version 2.5.0.16600 on Windows XP x86
[2010-12-04:20:09:16] Commandline is: -updatecheck
[2010-12-04:20:09:16] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-04:20:09:17] Performing pingback request
[2010-12-04:20:09:18] Starting runtime background update check
[2010-12-04:20:09:18] Clearing unused background update directory
[2010-12-04:20:09:18] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows5.1/x86/patch/2.5.0.16600/update
[2010-12-04:20:09:18] Unpackaging http://airdownload.adobe.com/air/3/background/windows5.1/x86/patch/2.5.0.16600/update to C:\Documents and Settings\jlane\Application Data\Adobe\AIR\Updater\Background
[2010-12-04:20:09:51] Application Installer begin with version 2.5.0.16600 on Windows XP x86
[2010-12-04:20:09:51] Commandline is: -update "d:\program files\ynab 3\ynab 3\ynab 3.exe" "C:\Documents and Settings\jlane\Application Data\com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1\Local Store\#ApplicationUpdater\update.air" 3.2.3.2698
[2010-12-04:20:09:51] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-04:20:09:51] Installed app (com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1) located at d:\program files\ynab 3\ynab 3\ynab 3.exe
[2010-12-04:20:09:52] Unpackaging file:///C:/Documents%20and%20Settings/jlane/Application%20Data/com.youneedabudget.YNAB3.L ive.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1/Local%20Store/%23ApplicationUpdater/update. air to C:\Documents and Settings\jlane\Local Settings\Temp\fla6D.tmp
[2010-12-04:20:09:58] Application signature verified
[2010-12-04:20:09:58] Unpackaging/validation complete
[2010-12-04:20:09:58] Converting unpackaged application to a native installation package in C:\Documents and Settings\jlane\Local Settings\Temp\fla6E.tmp
[2010-12-04:20:10:14] Native installation package creation succeeded
[2010-12-04:20:10:14] Starting app update of d:\program files\ynab 3. Updating from com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1 version 3.1.9.2503 to com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1 version 3.2.3.2698 using the source file at file:///C:/Documents%20and%20Settings/jlane/Application%20Data/com.youneedabudget.YNAB3.L ive.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1/Local%20Store/%23ApplicationUpdater/update. air
[2010-12-04:20:10:14] Installing msi at C:\Documents and Settings\jlane\Local Settings\Temp\fla6E.tmp\setup.msi with guid {F4E5BC2E-2C23-9DAC-66D6-793C49DE6C10}
[2010-12-04:20:10:14] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-04:20:10:14] Rolling back install of C:\Documents and Settings\jlane\Local Settings\Temp\fla6E.tmp\setup.msi
[2010-12-04:20:10:14] Rollback complete
[2010-12-04:20:10:14] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-04:20:10:32] Launching subprocess with commandline d:\program files\ynab 3\ynab 3\ynab 3.exe
[2010-12-04:20:10:53] Application Installer end with exit code 7
[2010-12-04:20:11:03] Launching subprocess with commandline c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -updatecheck
[2010-12-04:20:11:04] Runtime Installer begin with version 2.5.0.16600 on Windows XP x86
[2010-12-04:20:11:04] Commandline is: -updatecheck
[2010-12-04:20:11:04] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-04:20:11:05] Performing pingback request
[2010-12-04:20:11:05] Starting runtime background update check
[2010-12-04:20:11:05] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows5.1/x86/patch/2.5.0.16600/update
[2010-12-04:20:11:05] Unpackaging http://airdownload.adobe.com/air/3/background/windows5.1/x86/patch/2.5.0.16600/update to C:\Documents and Settings\jlane\Application Data\Adobe\AIR\Updater\Background
[2010-12-04:20:11:43] Unpackaging complete
[2010-12-04:20:11:43] Download success
[2010-12-04:20:11:43] Runtime updated downloaded
[2010-12-04:20:11:48] User has selected immediate install of the update
[2010-12-04:20:11:48] Starting runtime background update installation
[2010-12-04:20:11:48] Launching subprocess with commandline C:\Documents and Settings\jlane\Application Data\Adobe\AIR\Updater\Background\updater -update
[2010-12-04:20:11:49] Runtime updater successfully launched
[2010-12-04:20:11:49] Runtime Installer end with exit code 0
[2010-12-04:20:12:01] Runtime Installer begin with version 2.5.1.17730 on Windows XP x86
[2010-12-04:20:12:02] Commandline is: -update
[2010-12-04:20:12:02] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-04:20:12:10] Starting runtime update. Updating runtime from version 2.5.0.16600 to version 2.5.1.17730
[2010-12-04:20:12:10] Reinstalling c:\docume~1\jlane\locals~1\temp\air72.tmp\setup.msi
[2010-12-04:20:12:10] Error occurred during msi repair operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-04:20:12:10] Rollback complete
[2010-12-04:20:12:10] Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-04:20:12:20] Runtime Installer end with exit code 7
[2010-12-04:20:13:16] Unpackaging complete
[2010-12-04:20:13:16] Download success
[2010-12-04:20:13:16] Runtime updated downloaded
[2010-12-04:20:13:44] User has selected immediate install of the update
[2010-12-04:20:13:44] Starting runtime background update installation
[2010-12-04:20:13:44] Launching subprocess with commandline C:\Documents and Settings\jlane\Application Data\Adobe\AIR\Updater\Background\updater -update
[2010-12-04:20:13:44] Runtime updater successfully launched
[2010-12-04:20:13:44] Runtime Installer end with exit code 0
[2010-12-04:20:13:54] Runtime Installer begin with version 2.5.1.17730 on Windows XP x86
[2010-12-04:20:13:54] Commandline is: -update
[2010-12-04:20:13:54] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-04:20:14:02] Starting runtime update. Updating runtime from version 2.5.0.16600 to version 2.5.1.17730
[2010-12-04:20:14:02] Reinstalling c:\docume~1\jlane\locals~1\temp\air73.tmp\setup.msi
[2010-12-04:20:14:03] Error occurred during msi repair operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-04:20:14:03] Rollback complete
[2010-12-04:20:14:03] Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-04:20:14:07] Runtime Installer end with exit code 7
[2010-12-05:20:36:57] Application Installer begin with version 2.5.0.16600 on Windows XP x86
[2010-12-05:20:36:57] Commandline is: -update "d:\program files\ynab 3\ynab 3\ynab 3.exe" "C:\Documents and Settings\jlane\Application Data\com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1\Local Store\#ApplicationUpdater\update.air" 3.2.3.2698
[2010-12-05:20:36:57] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-05:20:36:57] Installed app (com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1) located at d:\program files\ynab 3\ynab 3\ynab 3.exe
[2010-12-05:20:36:58] Unpackaging file:///C:/Documents%20and%20Settings/jlane/Application%20Data/com.youneedabudget.YNAB3.L ive.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1/Local%20Store/%23ApplicationUpdater/update. air to C:\Documents and Settings\jlane\Local Settings\Temp\flaDB.tmp
[2010-12-05:20:37:09] Application signature verified
[2010-12-05:20:37:09] Unpackaging/validation complete
[2010-12-05:20:37:09] Converting unpackaged application to a native installation package in C:\Documents and Settings\jlane\Local Settings\Temp\flaDC.tmp
[2010-12-05:20:37:19] Native installation package creation succeeded
[2010-12-05:20:37:19] Starting app update of d:\program files\ynab 3. Updating from com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1 version 3.1.9.2503 to com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1 version 3.2.3.2698 using the source file at file:///C:/Documents%20and%20Settings/jlane/Application%20Data/com.youneedabudget.YNAB3.L ive.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1/Local%20Store/%23ApplicationUpdater/update. air
[2010-12-05:20:37:19] Installing msi at C:\Documents and Settings\jlane\Local Settings\Temp\flaDC.tmp\setup.msi with guid {F4E5BC2E-2C23-9DAC-66D6-793C49DE6C10}
[2010-12-05:20:37:20] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-05:20:37:20] Rolling back install of C:\Documents and Settings\jlane\Local Settings\Temp\flaDC.tmp\setup.msi
[2010-12-05:20:37:20] Rollback complete
[2010-12-05:20:37:20] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-05:20:37:32] Launching subprocess with commandline d:\program files\ynab 3\ynab 3\ynab 3.exe
[2010-12-05:20:37:52] Application Installer end with exit code 7
[2010-12-08:13:28:56] Application Installer begin with version 2.5.0.16600 on Windows XP x86
[2010-12-08:13:28:56] Commandline is: -update "d:\program files\ynab 3\ynab 3\ynab 3.exe" "C:\Documents and Settings\jlane\Application Data\com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1\Local Store\#ApplicationUpdater\update.air" 3.2.3.2698
[2010-12-08:13:28:56] Installed runtime (2.5.0.16600) located at c:\Program Files\Common Files\Adobe AIR
[2010-12-08:13:28:56] Installed app (com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1) located at d:\program files\ynab 3\ynab 3\ynab 3.exe
[2010-12-08:13:28:57] Unpackaging file:///C:/Documents%20and%20Settings/jlane/Application%20Data/com.youneedabudget.YNAB3.L ive.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1/Local%20Store/%23ApplicationUpdater/update. air to C:\Documents and Settings\jlane\Local Settings\Temp\fla7F.tmp
[2010-12-08:13:29:19] Application signature verified
[2010-12-08:13:29:19] Unpackaging/validation complete
[2010-12-08:13:29:19] Converting unpackaged application to a native installation package in C:\Documents and Settings\jlane\Local Settings\Temp\fla80.tmp
[2010-12-08:13:29:31] Native installation package creation succeeded
[2010-12-08:13:29:31] Starting app update of d:\program files\ynab 3. Updating from com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1 version 3.1.9.2503 to com.youneedabudget.YNAB3.Live.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1 version 3.2.3.2698 using the source file at file:///C:/Documents%20and%20Settings/jlane/Application%20Data/com.youneedabudget.YNAB3.L ive.9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1/Local%20Store/%23ApplicationUpdater/update. air
[2010-12-08:13:29:31] Installing msi at C:\Documents and Settings\jlane\Local Settings\Temp\fla80.tmp\setup.msi with guid {F4E5BC2E-2C23-9DAC-66D6-793C49DE6C10}
[2010-12-08:13:29:31] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-08:13:29:31] Rolling back install of C:\Documents and Settings\jlane\Local Settings\Temp\fla80.tmp\setup.msi
[2010-12-08:13:29:31] Rollback complete
[2010-12-08:13:29:32] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1620" errorID=0]
[2010-12-08:13:44:09] Launching subprocess with commandline d:\program files\ynab 3\ynab 3\ynab 3.exe
[2010-12-08:13:44:55] Application Installer end with exit code 7Hi Chris,
Thanks so much for the quick response. After he investigated further, he determined that it was Comodo Internet Security Premium. He disabled it, uninstalled, and then reinstalled both AIR and You Need a Budget (our product), and it worked great after that! Thanks again for the quick response.
Best regards,
Taylor -
I can't find the software update for the ios5 on air update
Where can I find the software update option for iOS 5 on air update on iPad2. Not able to find it in current settings menu
If it's not available within Settings->General->Update, have patience. The Apple servers in your area don't have it for your region yet.
-
An unexpected error occurred. Error# 16828 - Air Update
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.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 -
AIR Update framework with Flash Builder
Hi,
I am not sure if this is the right place but since this problem happens with the new Flash Builder 4 and AIR, I am putting it here :
When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
The error is
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::ProgressBar/createChildren()
at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
at mx.states::AddChild/createInstance()
at mx.states::AddChild/set targetFactory()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
at ApplicationUpdaterDialogs()
at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
The code is the exact same give in the example i mentioned above.
This works fine in my Flex Builder 3.
Thanks
Hironmay Basuthe issue is already reported here:
http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
As a workaround, you can try using:
http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/ -
Flash Builder and Adobe AIR update framework
Hi,
I posted this in AIR forum , but thought it happens with new flash builder and flex 4 beta , i should do here also
When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
The error is
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::ProgressBar/createChildren()
at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
at mx.states::AddChild/createInstance()
at mx.states::AddChild/set targetFactory()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
at ApplicationUpdaterDialogs()
at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
The code is the exact same given in the updater example i mentioned in the link above. Only difference is i am using spark framework. The appUpater.initialize() never seem to work and keeps throwing an exception. Any alternatives so suggestions ?
This works fine in my Flex Builder 3.
Thanks
Hironmay Basuthe issue is already reported here:
http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
As a workaround, you can try using:
http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/ -
I installed the AIR update for flash cs3, when I boot flash
on the welcome screen there is now a "create new Air document"
option in it to create new air documents.
However if I already have a file open in flash I cannot see
the welcome screen and when I go to FILE>NEW there is still no
option for a new AIR document. this is becoming very frustarting
because if I have several files open I have to close everyone to
get the welcome screen back so I can create a new Air File.
Is there a way to atleast get the welcome screen to show up
when other files or open or any other way to create a new air file
without having to close every other open file???
Thanks!You can, instead, create a new standard Flash document then
go to the "publish settings" and select the AIR profile. This
should convert the Flash doc to an AIR doc. You still may have to
edit the the "AIR - Application and Installer Settings", though.
-KGA -
Adobe AIR update for Flash CS3
Hi, i'm having some trouble installing the adobe air update
for flash CS3.
I've installed it like 5 times, it always says that the
installation is complete.
But when i go to flash and try to make an AIR file it's not
in the list, the only things i see are those:
imageow, totally my bad, i switched the splash screen and that
screen.
Problem solved -
Android: This app requires a newer version of Adobe AIR - update now?
Trying to run an app on the Emulator for Android:
and I get this message.
This app requires a newer version of Adobe AIR - update Adobe AIR now?
of course when I do click on the Update button - nothing happens, it just goes back to the main screen of the Emulator.
How do I update it. I now know how to install Adobe AIR runtime into the Emulator, but I can't find how one updates it?
I only installed "adt-bundle-windows-x86_64-20130219" a few days ago...
thanksOk, got it.
Anyone else need help .. you can get the latest runtimes here.
http://www.adobe.com/devnet/air/air-sdk-download-win.html
It's packaged in the AIR SDK.
Nice. -
Air Update Framework Issue... Help please!
The following code is from the Air Employee Directory example
to which I have added an Update Object, the app installs and
updates with no problem, but as soon as the update is done and it's
time for the app to start, the app just doesn't come up. It was
working fine before I added the update object... Any idea on what I
could be doing wrong?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" xmlns:ui="com.adobe.empdir.ui.*"
applicationComplete="onApplicationComplete()" height="100%"
width="100%" frameRate="45"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
visible="false"
showEffect="Fade" xmlns:local="*"
creationComplete="checkUpdate()">
<mx:Script>
<![CDATA[
import mx.logging.Log;
import com.adobe.empdir.commands.ui.CloseApplicationCommand;
import mx.binding.utils.BindingUtils;
import mx.events.StateChangeEvent;
import mx.events.ResizeEvent;
private function onApplicationComplete() : void
callLater( ui.init );
// We listen to CLOSING fromboth the stage and the UI. If
the user closes the app through the taskbar,
// Event.CLOSING is emitted from the stage. Otherwise, it
could be emitted from TitleConrols.mxml.
ui.addEventListener( Event.CLOSING, onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSING,
onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSE,
onWindowClose );
private function onWindowClose( evt:Event ) : void
NativeApplication.nativeApplication.exit();
private function onWindowClosing( evt:Event ) : void
evt.preventDefault();
var cmd : CloseApplicationCommand = new
CloseApplicationCommand();
cmd.execute();
]]>
</mx:Script>
<mx:Script>
<![CDATA[
import air.update.events.UpdateEvent;
import mx.controls.Alert;
import flash.events.ErrorEvent;
import air.update.ApplicationUpdaterUI;
* @var the object that that handles the update related
actions
private var appUpdater:ApplicationUpdaterUI = new
ApplicationUpdaterUI();
* This function is triggered when the application finished
to load;
* Here we initialize <code>appUpdater</code> and
set some properties
private function checkUpdate():void {
setApplicationVersion();
// we set the URL for the update.xml file
appUpdater.updateURL = "
http://localhost/updater/update.xml";
//we set the event handlers for INITIALIZED nad ERROR
appUpdater.addEventListener(UpdateEvent.INITIALIZED,
onUpdate);
appUpdater.addEventListener(ErrorEvent.ERROR, onError);
//we can 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 = false;
//if isFileUpdateVisible is set to true, File Update, File
No Update,
//and File Error dialog boxes will be displayed
appUpdater.isFileUpdateVisible = false;
//if isInstallUpdateVisible is set to true, the dialog box
for installing the update is visible
appUpdater.isInstallUpdateVisible = false;
//we initialize the updater
appUpdater.initialize();
* Handler function triggered by the
ApplicationUpdater.initialize;
* The updater was initialized and it is ready to take
commands
* (such as <code>checkNow()</code>
* @param UpdateEvent
private 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
* @param ErrorEvent
private function onError(event:ErrorEvent):void {
Alert.show(event.toString());
* A simple code just to read the current version of the
application
* and display it in a label.
private function setApplicationVersion():void {
var appXML:XML =
NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = appXML.namespace();
]]>
</mx:Script>
<mx:TraceTarget level="0" includeDate="false"
includeTime="false"
includeCategory="true" includeLevel="true">
<mx:filters>
<mx:Array>
<mx:String>*</mx:String>
</mx:Array>
</mx:filters>
</mx:TraceTarget>
<ui:ApplicationUI id="ui" width="100%" height="100%"
/>
</mx:Application>This was an issue with the Update Framework in AIR SDK 1.5.3, which has been fixed. If you still want to use the ApplicationUpdaterUI, you can replace the swc in Flex SDK 3.6 with an applicationupdater_ui.swc from a newer version of AIR.
Have a look at solution 3 in this post for some details on where to find the applicationupdater_ui.swc and how to replace it.
http://forums.adobe.com/message/3060118#3060118
Hope this helps!
Horia -
I am about to cry...or break something atleast.
VerifyError: Error #1014: Class air.update::ApplicationUpdaterUI could not be found.
I am on cs5.5 flash pro.
I am creating an updater.
Library path set for:
applicationupdater_ui.swc
code:
var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
appUpdater.configurationFile = new File("app:/updateConfig.xml");
appUpdater.initialize();
appUpdater.checkNow();
updateConfig:
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://ns.adobe.com/air/framework/update/configuration/1.0">
<url>http://afiadesign.com/vislaw/update.xml</url>
<delay>0</delay>
</configuration>
app descriptor:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
<id>HeartMonitor</id>
<versionNumber>1.0</versionNumber>
<filename>HeartMonitor</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>HeartMonitor</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>HeartMonitor.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>auto</renderMode>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
</application>
update:
<?xml version="1.0" encoding="utf-8"?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
<version>1.1</version>
<url>http://afiadesign.com/vislaw/HeartMonitor.air</url>
<description>This is the latest version of the Sample application.</description>
</update>
I don't know what to do?!?!?!?! Please save me from jumping out a windows!Ya I did.....
import flash.display.MovieClip;
import com.vislaw.utils.LoadImgSet;
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.display.Sprite;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.events.SliderEvent;
import flash.display.SimpleButton;
import com.vislaw.utils.DragButton;
import com.vislaw.utils.playControl;
import com.vislaw.utils.LoadingALL;
import com.vislaw.utils.Eraser;
import com.vislaw.utils.magnify;
import flash.net.SharedObject;
import com.vislaw.utils.penTool;
import com.vislaw.utils.highlightTool;
import com.vislaw.utils.lineButton;
import air.update.ApplicationUpdaterUI; <<<<<<HERE
import flash.filesystem.File;
This is very strange.....I had it working on my computer, than I went online and it started failing. I went through a couple issues that i fixed and this "VerifyError: Error #1014: Class air.update::ApplicationUpdaterUI could not be found." is were I got stuck..Any other suggestions?
The wierd thing is that i am using a cs5.5 and i am using applicationupdater_ui.swc..I thought this was something you can import without using a swc in the library path. Is there differnet applicationupdater_ui.swc, one for air 1.5 and one for air 2.5 and higher or do you use the same one?
Maybe you are looking for
-
How do I make a facetime call to my macbook pro
How do I place a facetime call to my laptop from my iphone. Thx, Steve
-
Satellite A100-795 - Hard disk replacement
Hi, I have a Satellite A100-795 (model: PSAANE-02D00JBT). HD = Toshiba MK1237GSX HD can only be partly read with recovery software (Active@undelete) and makes bad noises too. Wich SATA harddisk are possible and supported by the bios? I want to avoid
-
How to get the file path from HTML input form in Firefox3
In IE7 (and probably all famous browsers, including old Firefox 2), if we submit a file like 'C:\folder1\folder2\folder3\filename' it works properly and gives the full path to the file and the filename. In Firefox 3, it returns only 'filename', becau
-
Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also k
-
Macbook pro's doesn't send display to LCD or external monitor
Hi, A few weeks back my macbook pro stopped sending output to LCD or external monitor and local apple support guys said that it had a problem in its logic board that needed to be replaced. Since my notebook was long out of warranty and the new logic