简体   繁体   中英

Adobe AIR Updater Problem

i just wanted to update an AIR Application for a client. But when the update framework (i'm using the ApplicationUpdaterUI) has downloaded the AIR file and wants to install it, it says that the AIR file is damaged. When i'm installing the downloaded file (copied it from the #ApplicationUpdate dir) by hand everything works fine. Wiredly enough, everything worked fine the last time.

Any idea what maybe be the cause to this problem?

Adobe AIR 2.0.2.12610 App compiled with Flex 4.0

Thanks in advance

Edit: This is whats in the Logfile when the updating process fails:

[2010-09-01:14:09:20] Starting update of c:\programme\myapp\myapp.exe
[2010-09-01:14:09:20] Updating from file:///C:/Dokumente%20und%20Einstellungen/VAdmin/Anwendungsdaten/myapp.4BCA79BE2D83E8B0AFDB124EAD7E123E1B6A1E28.1/Local%20Store/%23ApplicationUpdater/update.air
[2010-09-01:14:09:20] Updating to version 0.9.509
[2010-09-01:14:09:20] UI SWF load is complete
[2010-09-01:14:09:21] UI initialized
[2010-09-01:14:09:21] beginning UI styling
[2010-09-01:14:09:21] UI styling complete
[2010-09-01:14:09:21] Unpackaging to C:\Dokumente und Einstellungen\VAdmin\Lokale Einstellungen\Temp\fla1E6.tmp
[2010-09-01:14:09:21] failed while unpackaging: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032" errorID=2032]

Timo

For everyone interested in the solution: I was doing this:

            try {
                for each (var win:NativeWindow in NativeApplication.nativeApplication.openedWindows) {
                    winClosingEvent = new Event(Event.CLOSING, false, true);
                    win.dispatchEvent(winClosingEvent);
                    if (!winClosingEvent.isDefaultPrevented()) {
                        win.close();
                    }
                }
            } catch (e:Error) {
            }

when i was closing my application. After removing this source it worked.... again. Still, i have no idea why this seems to break the air app now.

很难说,但似乎是当前的AIR版本存在错误,无论如何都要检查一下

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM