1 Reply Latest reply on Apr 24, 2013 7:03 AM by home_aidan

    AIR app silent updater

    home_aidan Level 1

      Hi im trying to figure out how I can update a .air app silently.

       

      I have these command lines to install air and the app silently...

       

       

      Command line install adobe air silently and allows air to update online if available

      & "c:\AdobeAIRInstaller.exe" -silent -pingbackAllowed

       

      install the actual air app

      & "C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe" -silent -location "C:\" "silientTester.air"

       

      But now Im trying to update silientTester.air silently.

       

      You can not just run... & "C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe" -silent -location "C:\" "silientTester.air"

      ..again as the documenation points out that...

       

      "You cannot use the silent installer option to update an installed AIR application. This is because the AIR installer

      cannot determine whether the version to be installed is newer than the installed version, and it would pose a

      security risk to downgrade the application."

       

       

      So any ideas on how I could install silientTester.air again .. but It needs to be silient as its a kiosk.

       

       

      Do I uninstall and reinstall silently?? surly not!

       

       

      Thanks

      Aidan

        • 1. Re: AIR app silent updater
          home_aidan Level 1

          ok I think ive sorted this using something along the lines of...

           

          //var updater:Updater = new Updater();

          //var airFile:File = File.desktopDirectory.resolvePath("silientTester.air");

          //var version:String = "2.0";

          //updater.update(airFile, version);

           

           

           

          I do have another question though...

           

          when using this command to install air silently....

          & "c:\AdobeAIRInstaller.exe" -silent –pingbackAllowed

           

          pingbackAllowed  will allow it to check for air runtime updates?

           

          If there is an update will it install that silently as well?