I think you're on the right track here. I'd go with a silent install approach (which is available for both the runtime and application install.) However, you'll first want to complete our redistribution agreement so you can redistribute the runtime and use the runtime to perform a semi silent install. Once you've done that you'll get a link with detailed command line documentation.
You'll probably end up doing something like:
sudo "/Adobe AIR Installer" -silent -eulaAccepted "/MyApp.air"
That command will elevate privledges and then install both the runtime files and the .air application in silent mode. It also works if the runtime files are already installed.
Yep signed the agreement back in July, so we'll give the .deb package that is provided under the agreement a go instead.
Thanks for your help with this.
If you are still there, we've hit a brick wall.
We are trying to install our Air App remotely/headless without GTK or any GUI at all - only via the command line. However when installing in such manner we get the "**GTK Cannot Open Display ***" error, as there is no GUI.
If I open an Xterm window and GUI, and type as root:
/opt/Adobe\ AIR/Versions/1.0/Adobe\ AIR\ Application\ Installer -silent -eulaAccepted /home/screen/main.air
it installs fine. But as we are wanting to update the air app without the physciall Linux box in front of us, just remotely via the command prompt, how we do that?
I note under a Mac someone suggested using the "-location" option, but that appears to have made no difference under Debian Squeeze.
Any suggestions would be most welcome.
I'm afraid this is a known issue (internal bug #2832964) in AIR. This workflow is currently not supported in AIR.
Wow!! ... Is there an ETA as to when this will be rectified? Are we talking Air 3.0 maybe?
There is an enhancement request to support this workflow, though it is currently unclear which exact release will include this feature.