AIR application Updating

Hi everybody!
I have one urgent question.
I'm developing some application which consists from main.swf,
modeule(1).swf... - module(N-K)- ...module(N).swf.
When first version will be released I'll have N-K modules.
After released v2 I'll have all N modules created. Than I need to
update my app. But I don't want to update all modules with v1, just
few of them and add all modules released with v2. In this way my
update would be faster. I don't want update whole app only small
piece(main.swf, few modules and add new modules). But it seems
Updater class doesn't accept files with not .air extension, and as
result, all app will be updated.
So, question!
Can we update in AIR app separate modules(a few, not all) and
main.swf which comunicates with these modules and loads them?
I've tried just download separate files from server and
change existing files with them. But then uninstall doesn't work
properly and I can't restart app automatically for show new version
of app
Any answer will be appreciated.
Thanks in advance!
Vova

Hi Vova,
The update support in AIR doesn't work for individual files
but only for the entire application. If you change it manually,
then you are on your own and the AIR uninstaller may behave
weirdly.
Though if you want this to be supported in later versions, do
post a feature request at:
http://www.adobe.com/go/wish/

Similar Messages

  • Shortcut broken on AIR application update

    When I push out an update for one of my desktop AIR apps that a client may have installed on a Windows 7 or 8 machine, the shortcuts to the app become broken and therefore useless. This gives my clients the appearance that my application is busted when it is not. I continuously have to instruct Windows 7 and 8 users to delete any shortcuts and go to the install directory and create a new shortcut.
    Note that I use the Apache Flex 4.13 build AND that I only tally the version number in the *-app.xml file as I always have.
    Thanks,
    Jack Ring

    Hi,
    We are not able to reproduce this issue on Ubuntu 9.0.4 at our end. It is a default installation with GNOME desktop environment.
    From the crash log, it seems that the update issue you are seeing is happening while AIR tries to find out the default application for .air extension. I would really appreciate if you could help me figuring out what could exactly be happening on your machine. I would need the following information:
    1. Which desktop environment are you running - GNOME, KDE, XFCE, OpenBox, or some other?
    2. Please run the following commands on your system and let me know the output:
                touch /tmp/test.air
                xdg-mime query filetype /tmp/test.air
                Expected output:   application/vnd.adobe.air-application-installer-package+zip
    3. Please run the following command on your system and let me know the output:
               xdg-mime query default "application/vnd.adobe.air-application-installer-package+zip"
                Expected output: AdobeAIR-application-vnd.adobe.air-application-installer-package+zip.desktop
    4. Please run the following command and let me know the output:
               locate .desktop | grep AdobeAIR
    Thanks.
    -romil

  • Adobe AIR runtime update dialog breaks application

    I'm working on a large project that utilizes a C++ application to house the core logic and an AIR application to display a UI. The C++ program launches the AIR UI and passes it several command line parameters, including locale and port number to call back to the C++ application with.  Under normal circumstances, this works great.
    However, when there's an Adobe AIR runtime update, things go bad.  The runtime intercepts the UI invocation, kills it, and displays the generic AIR "do you want to update?" dialog.  Whether the user presses update or cancel, the UI application eventually gets relaunched -- but without the command line parameters originally passed to it!  I presume this is a bug in the Adobe AIR runtime updater code.
    The end result of this is that the UI gets relaunched, but doesn't know how to localize itself or what port to call back to the C++ application with!  If the user relaunches, it works fine (because the update dialog won't intercept again), but by then the user experience has already been mangled.  We can't even display a localized error message to tell them to relaunch because we don't know what locale they're using any more, and we can't call back to the C++ application to ask.
    I'm trying to find solutions/workarounds to this issue.  Because AIR won't let us turn off the update check on a per-application basis, it seems like the only viable solution would be to turn off the runtime update check for the whole machine.  But altering machines settings for the benefit of one application is definitely bad form, and I'd prefer not to do that if any other viable workaround exist.
    Any ideas?

    I filed a bug report last night using that same form.
    The duplication steps are straightforward.  I can duplicate the following with 100% success on a freshly imaged Win 7 32-bit box, admin user account:
    1) Install older version of Adobe AIR framework (I tried both 1.1 and 1.5.1).  It will ask you to update.  Click "Update later".
    2) Pull up task manager and watch the process list
    3) Run ANY Adobe AIR app with some parameters (I used Adobe's Settings Manager as a sample because it's small)
    4) Note that your application appears in the task manager briefly
    5) Your app is terminated and "Adobe Air Installer.exe" appears in the task manager.  A dialog pops up asking you to update.
    6) Click cancel
    7) Your app is reinvoked without any parameters
    As for my specific case, by "session" I do mean a single launch.
    I'm not aware of an evoke event -- perhaps you meant invoke event?  The invoke event is not executing before the app terminates (in step 5 above).  I think the AIR app is just running long enough to load the runtime and then the runtime takes over from there.
    Thanks...

  • How do i update Installed AIR Applications? // General Questions

    Hi,
    first of all, i'm completly new to AIR. However, i made my way through your product documentation and i'm now able to deploy AIR and a AIR Application (SFDC Chatter) and register it.
    Works fine so far, but some questions:
    - How can i update installed AIR applications? If i just try to re-install it, the installer will fail with exit code "9"
         -> How can i update them directly? If this is not possible
          -> How can i uninstall AIR applications in a large enterprise environment?
    - Where is the ARH Tool that is described in your product documentation?
    - When installing AIR as SYSTEM User (I'm using SCCM) where is the logfile?
    - Do you recommend updating AIR on a regular base? Are "older" applications compatible with newer AIR Versions?
    Thanks for your replies!
    Ben

    Hi Ben,
    I'd recommend taking a good look at our captive runtime option that is available in AIR 3.0 and higher.  While you have to roll your own installer (and updater) this could be as simple as a zip/batch file combination.  It also allows you to use the runtime that you prefer and not be dependent on what the user installs or uninstalls.  You do have to be mindful of security implications, but it's definitely the way I'd go.
    http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
    As for updating, it should be as simple as increasing your app descriptors version number and installing again.  This article explains how you can also use our update framework: http://www.adobe.com/devnet/air/articles/air_update_framework.html
    The ARH tool can be found here:
    Mac: http://airdownload.adobe.com/air/distribution/latest/mac/arh
    Win: http://airdownload.adobe.com/air/distribution/latest/win/arh.exe
    Linux: http://airdownload.adobe.com/air/distribution/latest/lin/arh
    Thanks,
    Chris

  • For Update framework of AIR Application,I want preserve databases value when i update lates download

    for Update framework of AIR Application, I want preserve databases when i update lates download ,Right now when i ta
    ke latest from server it will remove my database  value and i i want ot preserve my database value.
    Please any one can guide me in this?

    Ya it is in Application directory...
    in windows  :: D:\FlexWorkSpaceSVN\YSIPrototype\bin-debug\data\YSIDB.db
    Thanks
    Sunil

  • Error updating AIR application on Linux

    Hello,
    I'm trying to update an AIR application that's already installed, and I'm getting the following error message every time:
    "The application could not be installed because another application is already being installed. Complete the first installation before proceeding with this one."
    There doesn't seem to be any other installation happening, and I still get the same error after restarting the computer.
    I'm running AIR 2.6.0.19170 on Ubuntu 11.10. The end of Install.log is shown below (the full contents of the log are at http://pastebin.com/ExtFdpfg).
    I'd be grateful for any suggestions as to how to resolve this.
    Thanks
    Install.log:
    [Adobe AIR Application Installer:10319][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:10319][INFO] Commandline is:
    [Adobe AIR Application Installer:10319][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:10319][INFO] Unpackaging file:///home/joggler/Downloads/joggler_client_1.0.444.air to /tmp/FlashTmp.sOyZbs
    [Adobe AIR Application Installer:10319][INFO] Application signature verified
    [Adobe AIR Application Installer:10319][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:10319][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:10319][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.tkg6Ti
    [Adobe AIR Application Installer:10319][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:10319][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/Downloads/joggler_client_1.0.444.air
    [Adobe AIR Application Installer:10319][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Rollback complete
    [Adobe AIR Application Installer:10319][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/Downloads/joggler_client_1.0.444.air 1.0.444
    [Adobe AIR Application Installer:10319][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:10319][ERR] Elevated install failed: error 5008 3
    [Adobe AIR Application Installer:10319][ERR] Application Installer end with exit code 7
    [Adobe AIR Application Installer:2815][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:2815][INFO] Commandline is: -update /opt/HouseControl/bin/HouseControl "/home/joggler/.appdata/com.kevinwilson.housecontrol/Local Store/#ApplicationUpdater/update.air" 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:2815][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:2815][INFO] Unpackaging file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air to /tmp/FlashTmp.B8ssc2
    [Adobe AIR Application Installer:2815][INFO] Application signature verified
    [Adobe AIR Application Installer:2815][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:2815][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.U5gXca
    [Adobe AIR Application Installer:2815][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:2815][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air
    [Adobe AIR Application Installer:2815][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Rollback complete
    [Adobe AIR Application Installer:2815][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:2815][ERR] Elevated install failed: error 5008 3

    Hello,
    I'm trying to update an AIR application that's already installed, and I'm getting the following error message every time:
    "The application could not be installed because another application is already being installed. Complete the first installation before proceeding with this one."
    There doesn't seem to be any other installation happening, and I still get the same error after restarting the computer.
    I'm running AIR 2.6.0.19170 on Ubuntu 11.10. The end of Install.log is shown below (the full contents of the log are at http://pastebin.com/ExtFdpfg).
    I'd be grateful for any suggestions as to how to resolve this.
    Thanks
    Install.log:
    [Adobe AIR Application Installer:10319][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:10319][INFO] Commandline is:
    [Adobe AIR Application Installer:10319][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:10319][INFO] Unpackaging file:///home/joggler/Downloads/joggler_client_1.0.444.air to /tmp/FlashTmp.sOyZbs
    [Adobe AIR Application Installer:10319][INFO] Application signature verified
    [Adobe AIR Application Installer:10319][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:10319][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:10319][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.tkg6Ti
    [Adobe AIR Application Installer:10319][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:10319][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/Downloads/joggler_client_1.0.444.air
    [Adobe AIR Application Installer:10319][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Rollback complete
    [Adobe AIR Application Installer:10319][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/Downloads/joggler_client_1.0.444.air 1.0.444
    [Adobe AIR Application Installer:10319][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:10319][ERR] Elevated install failed: error 5008 3
    [Adobe AIR Application Installer:10319][ERR] Application Installer end with exit code 7
    [Adobe AIR Application Installer:2815][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:2815][INFO] Commandline is: -update /opt/HouseControl/bin/HouseControl "/home/joggler/.appdata/com.kevinwilson.housecontrol/Local Store/#ApplicationUpdater/update.air" 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:2815][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:2815][INFO] Unpackaging file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air to /tmp/FlashTmp.B8ssc2
    [Adobe AIR Application Installer:2815][INFO] Application signature verified
    [Adobe AIR Application Installer:2815][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:2815][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.U5gXca
    [Adobe AIR Application Installer:2815][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:2815][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air
    [Adobe AIR Application Installer:2815][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Rollback complete
    [Adobe AIR Application Installer:2815][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:2815][ERR] Elevated install failed: error 5008 3

  • Use the system lang of AIR applications auto update.

    Hello,
    I recently used the auto update framework for my AIR application, this works fine but i have a small problem.
    I made some reasearches and i found AIR uses the system lang by default. When i install my package for the first time, the lang is my sytem lang but when i find a new update after running auto update of my app, the AIR updater window doesn't use my sytem lang, which is french, but uses english lang. I'd like to put this window in french.
    Thanks.

    Try loading and using the add-on from this link: https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/
    Many add-ons do in fact work if you force them to run. The procedure to roll-back is given in this article: [[installing previous versions of firefox]]
    Unfortunately the official Firefox policy is that you downgrade to 3.6 which is supported for a while longer, and not the now unsupported Firefox 4. If after installing and running the ''add-on compatibility reporter'' you still have problems there are ways around the official policy.
    I think it is absurd that Firefox 4 may be used by tens of millions of users one day and a few days later those that upgrade to Firefox 5 should be not only told not to use a now unsupported browser, if they need to revert due to problems, but are actually obstructed in attempts to do so. See also [/questions/840397#answer-205154]

  • Comand line argument for updating .air applications

    Hi all,
    Please help me regarding the issue while updating the .air application silently using command line argument -update -silent -location <%INSTALLDIR%> "Location of .air file".
    For the fresh installation I used the following cmd line arguments
    ------> Adobe AIR Application Installer.exe -silent -eulaAccepted -programMenu -location "<INSTALLDIR>" "Location of .air file" ---> This will work for fresh installations only.
    but the same comand will not work if the older version is already installed in the machine we have t use -update argument.
    I don't fine correct argument list for updating the .air files. Please help me if any one know how to update the .air file silently using command line arguments.

    Hi,
    To update an app, the app installer should be invoked with the following command line params:
    -update -silent <dir> <url> <version>
    where <dir> is the full native path to the application, <url> is the URL to the .air file to update it with (either local or remote), and <version> is the version of the new app in the .air file.
    Thanks,
    Jian

  • Error update an air application

    hi, i have some problem with the update an air application.
    when i launch the update function i have this error:
    This application cannot be installed because this installer
    has been
    mis-configured...
    i create a simple example, i have 2 version of my
    application, v1 and v2. i create 2 folder with the the same
    application
    the only difference is the number of version.
    your can try my example, first install application of v1
    folder and after copy and paste the application v2 in the desktop
    directory
    Example
    files

    i have this string in log file.
    Starting update of c:\program files\appupdate\appupdate.exe
    Updating from file:///C:/Users/gsorce/Desktop/AppUpdate.air
    Updating to version v2
    UI SWF load is complete
    UI initialized
    Converting to C:\Users\gsorce\AppData\Local\Temp\fla1808.tmp
    Conversion is complete
    AIR file is bound to version 1.0
    app id kiwari
    application is bound to this version of the runtime
    AIR file app id, pub id, and version don't match
    Installed app id: kiwari; AIR file app id: kiwari
    Installed pub id: 2B506D926EE0CEC62A432C548B083BEA25EBB872.1;
    AIR file pub id: 2B506D926EE0CEC62A432C548B083BEA25EBB872.1
    Requested version: v2; AIR file version: 2.0
    Re-launching application from c:\program
    files\appupdate\appupdate.exe
    Starting cleanup
    Installation exited

  • Problems updating/installing air application

    Hi,
      We have an Adobe Air application that uses the Air update mechanism for newer versions. It seems to work fine for most of the customers  but on some computers when it tries to install the new version it cannot. The only clue we have are some errors we found in the Install.log in in Adobe/Air/logs:
    [2012-07-09:12:14:50] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2012-07-09:12:14:50] Rolling back install of C:\Users\pop.radu\AppData\Local\Temp\fla73EA.tmp\setup.msi
    [2012-07-09:12:14:50] Rollback complete
    [2012-07-09:12:14:50] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    We have checked other discussions on this problem and most of the solutions were using an uninstall tool to remove the app and then install it again. However, we would like to know if there is another way to solve this since we don't want  our customers to uninstall and reinstall the application manually each time a newer version of the app appears.
    Does anyone know if there is a way to do this?
    Thanks,
    Radu

    Hi Radu,
    The next step would be to enable MSI logging and take a look at what is failing with MSI.  Unfortunately, MSI is very fragile at times and we do see this problem.  Sometimes its simply a file/folder/registry permission issue.  Other times it's more severe, like a missing .msi database file.  Because this is an upgrade, I suspect what is happening is that MSI is looking for the old version's .msi database file so that it can run its "uninstall" routine.  If the old msi can't be found, it will bail out and the upgrade will fail.
    The only solution, other than locating the old msi database file (doubtful) is to run the Microsoft cleanup utility.
    Thanks,
    Chris
    Ps.  If you haven't already, I'd recommend taking a look at the captive runtime solution in AIR 3.x.  http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html

  • Problem(16824) in updation of Air application

    hello friends
                     i m made an air application for my project.but needs to upgrade it.so i followed the update frame work as guided in this blog
                       http://www.adobe.com/devnet/air/flex/quickstart/update_framework.html
    this frame works fine for two -three versions but after that when i upgrade the application to new version it reapeatdly shown error messg
    There was and error downloading the file: error 16824.
    there is not any abnormal change in update decriptor file (on server) and application discriptor file.still facing that surprised problem.
    can any body help me out.
    Thanks in advance

    Deepak,
    Import parameters are asked once you click on Execute button of the FM. Here the screen is here.
    Most of the fields look like Boolean values with 'X', if yes. Also there are 3 table icons seen. Once you click you are into the screen where you can fill the table values also. After inputting these values when you click on the Execute button in this screen the Entries in The Tables (output) will be filled. This your output.
    I did not work on this. But all new FMs I try this way only. Often we need to play with FMs through Execute button and passing the Import parameters. After several trials we start understanding, what it is asking and what is returned.
    KJogeswaraRao

  • How to Enable Auto Update functionality in  adobe AIR application?

    Hi All,
         How to Enable Auto Update functionality in  adobe AIR application and ask for new version to install to user.
         Please provide some informarion regarding above topic.
    Thanks,
    Sunil Rana

    Hi All,,
    Got solution. call checkUpdate() function in application level initialize event.
    private function checkUpdate() : void
                    appUpdater.updateURL = "http://www.aa.com/flex/aa/NativeUpdater.xml";
                    appUpdater.addEventListener(UpdateEvent.INITIALIZED, updater_initializedHandler);
                    //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;               
                    //we initialize the updater
                    appUpdater.initialize();   
                 * Handler function for updater_initializedHandler events triggered by the ApplicationUpdater.INITIALIZED
                 * @param updater_initializedHandler
                protected function updater_initializedHandler(event:UpdateEvent):void
                    //initializeHandler();
                    appUpdater.checkNow();
    In NativeUpdater.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/1.0">
         <version>2.0</version>
          <url>http://www.aa.com/flex/aa/AutoUpdate.air</url>
         <description>
         <![CDATA[                 * This a Win update
          ]]>
          </description>
    </update>
    Upload NativeUpdater.xml file on your Server. When you open your old .air file it will ask for replace with new version.
    Thanks,
    Sunil Rana

  • Hi for All,  Pleeeeeeease help me, Update Air application problem

    Hi guys,
    I have  big adobe-air ajax based application installed in my computer ,I have updated some files in my application, and generate the new(updated) version of  the air file and put it in the server .My application size is 300 MB. The  problem is that the  update framework  will download and reinstall all the files of air application(300 MB !!!) ,
    Is there any way to reinstall only the updated files of my application without need to reinstall all the files during the update process ????
    Regards

    Hi Anil,
    If you go to RSPLAN there you can go to Portal link (it must be configured properly in system)
    In portal there will be wizard where you can easily go step by step and create planning functions and sequences like below:
           1.      You choose the appropriate InfoProvider.
           2.      You create one or more aggregation levels.
           3.      You create one or more filters.
           4.      You create one or more planning functions.
           5.      You create a planning sequence.
           6.      You test the planning model.
    which is clearly explained in below link
    http://help.sap.com/saphelp_nw70/helpdata/en/43/1d2440301a06f4e10000000a422035/frameset.htm
    after doing this you can create a query on aggregates you have created above and then make query input ready i.e planning enabled for keyfigures you want like mentioned in below link:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/1d023a41130bd5e10000000a422035/frameset.htm
    then you can run query in Analyzer and save it as a work book after proper drilldown which can be used as template.
    Hope you understood basic thing, as you going on doing u will know clearly every thing.
    Ravi

  • Update portion of air application

    Hi,
    I have a big air application (more then 200 MB)
    When i do a new update i would create a package only with modified file (and not all)
    I read that tha applicationdirecotry is ReadOnly so my application copy all file into
    applicationStorageDirectory but i woul delete original file to avoid duplicate . What i can do?
    i'm new with flex...thank for help
    michy.

    Hi
    thank for your replay
    I use flex 3 with AIR 1.5 .....
    (how i can change version of air with flex3')
    Exist another way to update only a portion of AIR application?

  • Updating AIR application

    I hope I am asking this question in the right forum
    I am working with a dev team that's writing AIR application
    To keep it simple, let's say this AIR application has 10 swf and 2 swc (plus other assets)
    All of these files are packaged inside an AIR installer, and customer will run this full package AIR installer to install this application
    My question is: let's say they created a patch, and it is changing 2 .swf.  Is it possible to create an "incremental" AIR installer that contain ONLY the 2 changed swf, and user can run this incremental AIR installer to update an existing AIR application with the 2 newly changed swf files?
    Thanks
    KK Fong
    PS: We are using Flex SDK 3.6.0 right now

    keep a xml that has current version. Download your swf live everytime you start application(if there is a newser version)

Maybe you are looking for