Thursday, April 2, 2009

Disable AIR auto-update - No way to automate

Recently i got a requirement that when an AIR application is installed and run by the user, AIR should not check for auto-updates. After googling for few hours i found that it is highly impossible to automate this.

Adobe provides a solution to stop AIR engine to check for updates. The application http://airdownload.adobe.com/air/applications/SettingsManager/SettingsManager.air provides the option to disable / enable updates. But this requires a manual effort.

Adobe should have provided the option to enable / disable auto-updates at the application level. Each AIR application should have the option to set auto-update option. If an application has disabled auto-updates, then when the AIR engine loads it should check this option and should not try to update.

If any of you guys have a workaround, i would love to hear it.

3 comments:

Jeethu said...

This can be done programatically. In win XP a file called "updateDisabled" is created in
Documents and Settings\[user]\Application Data\Adobe\AIR folder. If the file exists then auto updates is disabled. delete the file and its enabled.

thinkpixels said...

So you are saying to write the code to create the empty file "updateDIsabled" in AIR folder.If so, when the application is opened for the first time, before the application is rendered, AIR engine will check for the "updateDisabled" folder and ask for updates. am i right?

Anonymous said...

Please see the "Adobe AIR 1.5 Administrator’s Guide". There's a registry setting to disable auto-update.

http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3d11c0f59823a-7ff0.html