• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

ApplicationUpdaterUI worked in 1.5 not Air 2.0.3

Guest
Aug 16, 2010 Aug 16, 2010

Copy link to clipboard

Copied

We  have been having issues since Air 2.0 if we do not  call the

ApplicationUpdaterUI during the

The  updater screen appears real quick and this closes it self.

We can not call it during the completion event we have several environments that use different versions.

Right now I use

isNewerVersionFunction as well ,  i can compare a value from the database which is already been called during the login process.

This works fine in 1.5 Air, we started having the problem when Air 2.0 came out but now ist each time in 2.0.3

http://forums.adobe.com/thread/699518?tstart=0

Thanks

Steve Hahn

creationComplete event:

TOPICS
Performance issues

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 16, 2010 Aug 16, 2010

Copy link to clipboard

Copied

Hi Steve,

I've forwarded this along to our updater api experts.  They should get back to you soon.

Thanks,

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

Hi Steve,

This looks like an issue with the Application Updater UI that we've fixed in the AIR 2 SDK. It should also be fixed starting with Flex SDK 3.5a.

Here are a few steps to troubleshoot this:

1. What is the version of the Flex SDK you are using to build your project?

You can find this out by going to the flex sdk folder and calling

bin/mxmlc -version

2. What version of the AIR SDK is used to build the project? Have you overlaid the AIR 2 SDK over your Flex SDK?

You can check the version of the AIR SDK on top of your Flex SDK by running

bin/adt -version

3. What applicationupdater_ui.swc is used by your project? Is it the one  included with the Flex SDK?

Thanks,

Horia

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

Horia,


1. What is the version of the Flex SDK you are using to build your project?
MXMLC - version = 3.2.0 build 3958

2. What version of the AIR SDK is used to build the project?
adt -version = 1.5.0.7220
Have you overlaid the AIR 2 SDK over your Flex SDK? No

3. What applicationupdater_ui.swc is used by your project? Yes
Is it the one  included with the Flex SDK? Yes

sdks.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

In order to fix this issue, you should update the applicationupdater_ui.swc used to build your project. You can do this in more than one way:

1. Update your project to build with the Flex 3.5a SDK

http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3

2. Overlay the AIR 2 SDK over your existing Flex SDK

See this article: http://kb2.adobe.com/cps/495/cpsid_49532.html

3. Copy only the applicationupdater_ui.swc from the AIR 2 SDK over the one inside the Flex SDK.

- The applicationupdater_ui.swc can be found in <Flex/AIR SDK>/frameworks/libs/air/applicationupdater_ui.swc

- Get the AIR 2 SDK from here http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk

- Copy the applicationupdater_ui.swc from the AIR 2 SDK over the one inside the Flex SDK

4. Remove the reference to the Flex SDK applicationupdater_ui.swc from the Flex project and add a new swc reference to the one in the AIR 2 SDK (this swc can be copied in a 'libs' folder directly into your project).

Please let me know how it goes.

Horia

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

What you recommended worked with a slight modification.  Build several builds today and it seems to work perfect each time.

1. Update your project to build with the Flex 3.5a SDK

http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3

2. Overlay the Flex 3.5a SDK over your existing Flex SDK

3. Copy only the applicationupdater_ui.swc from the AIR 2 SDK over the one inside the Flex SDK.

- The applicationupdater_ui.swc can be found in <Flex/AIR SDK>/frameworks/libs/air/applicationupdater_ui.swc

- Get the AIR 2 SDK from here http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk

- Copy the applicationupdater_ui.swc from the AIR 2 SDK over the one inside the Flex SDK

4. Remove the reference to the Flex SDK applicationupdater_ui.swc from the Flex project and add a new swc reference to the one in the AIR 2 SDK (this swc can be copied in a 'libs' folder directly into your project).

setup.png

Steve

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 16, 2011 Aug 16, 2011

Copy link to clipboard

Copied

LATEST

Hi,

I tried suggestion given above step by step, but still I cannot find auto-update popup on my application, code is executing properly: -

//basic code start hints

appUpdater.updateURL = updateXMLURL; // Server-side XML file describing update

appUpdater.isCheckForUpdateVisible = false; // We won't ask permission to check for an update

appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate); // Once initialized, run onUpdate

appUpdater.addEventListener(ErrorEvent.ERROR, onError); // If something goes wrong, run onError

appUpdater.initialize();

//basic code End

//Handler for update

private function onUpdate(event:Event):void { appUpdater.checkNow();}

I have tried below information to make it compactable: - http://kb2.adobe.com/cps/873/cpsid_87300.html

Please suggest me if I missed something which is required to call Auto-update Popup.

Is there any setting changes need to be done or any work around for the solution?

Environment: - Flex 3.5 SDK (applicationupdater_ui.swc copied from Flex 3.5a SDK), Flex 3 Builder, AIR 2.7 SDK.

Reason: - Our current(age of project 3-years) project is build on Flex 3, SDK 3.0 and AIR 1.5 and we are planning to make it compactable with Flex 3/Flex 4, SDK 3.5 and AIR 2.7(Latest) where we don’t have to change much code, which will help us to make our application more feasible.

Thanks,

Mahesh P.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines