How can I detect and invoke a user's local installation of the AIR runtime on a particular AIR application? - apache-flex

I am writing a program that has an AIR front-end, but a back-end written in another language (Python, in this case). Since AIR can't invoke other executables, the relationship has to be the other way around, with Python running an AIR subprocess. How can I locate the user's AIR runtime? I'd like to be able to do this on Mac, Windows, and Linux.
(Ironically, this would be super easy if I could package the AIR debug runtime, but the licensing agreement requires that the user download the regular runtime themselves and run the installer.)

First, you can get a (free) licenses to redistribute the AIR runtime installed:
See:
http://www.mikechambers.com/blog/2008/04/07/redistributing-the-adobe-air-runtime-installer/
and
http://www.adobe.com/products/air/runtime_distribution1.html#license
As far as launching an AIR application, you can launch it like any other native applications (since the AIR app is just a native app once it is installed).
As far as finding where the user installed the app, at least on Windows, I believe you can get the info programatically from the registry, based on on the appid of the AIR app you want to launch.
Finally, you can find a proof of concept on this here:
http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/
and
http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is-it-a-good-idea/
mike

Related

Testing apps on Native Client ARM

I understand that there is no NaCl SDK support for ARM platform so far. I am right now developing applications for ARM on Ubuntu. Is there a way I can test the applications on ARM machines without using SDK?. As far as I understand from Native Client website, we need SDK to start the server to test the applications. Does any one have experience on this?
You can develop your application on an x86 machine, and use the SDK's compilers to target NaCl ARM. This is commonly called cross-compiling. You then copy files over to the ARM machine that you want to test with, or use QEMU (to emulate ARM's ISA on an x86 machine).
It's possible to build a NaCl SDK from source for ARM, it's simply not distributed by the SDK team because there hasn't been demand for this.
You're trying to test in a browser? The server is there to serve content to a browser, but I've often found it simpler to use python -m SimpleHTTPServer.

Building Win, Mac and Linux packages from one platform

Is it possible / planned to build a Win/Mac/Linux package from within one platform?
An IDE called RunRev LiveCode allows to deploy to multiple platforms, but it supports only HyperCard language, afaik it's also possible in Qt
a Zotero Standalone Builder can be used to bundle Webapp XUL Wrapper into distributable bundles for Mac, Windows, and Linux
would it be possible to use it with TideSDK?
a Kickstarter project starts for AppJS, the maintainers want to launch a cloud service to deploy the app for all platforms in the cloud and then just download the exe, dmg or a linux package
It is not possible to build apps on the same platform with TideSDK. A service platform is coming that will solve this issue to make development easier for everyone. We'll make announcements with this available.

Installing AIR runtime and AIR application in own click

I have AIR application that i have created. One of my customers wants me to give him a CD that will automatically install the application with computer that has no AIR runtime installed.
How can i create an automatic installer that can install the AIR runtime and my AIR application easily?
Thanks in advance,
Lior
With AIR 3 you can create an installer using Captive Runtime, which makes it so that your app no longer has a dependency to the AIR runtime. That will probable be your easiest best option. More info
Additionally, you could sign up for a redistribution license of Adobe AIR which gives you permission to do that. Along with that, I believe they offer instructions on how do a headless/invisible install of the AIR runtime. Then you'll have to create your own installer which will perform the headless AIR install along with your own AIR app.

how i can download Adobe AIR bundled runtime installer

I am trying to package air runtime and air application in a native installer.
i googled a lot on how to achive the same. i found this link http://kuriakosejacobthomas.blogspot.com/2009/10/bundled-deployment-of-adobe-air_13.html
which says u need ' AIR bundled runtime installer' to package air runtime with air application.
But havn't found any air bundled runtime installer. from where i can download 'AIR bundled runtime installer' ?
OR suggest any alternative way to package the air runtime with air application except badge from web page.
I am trying to create AIR native installer bundled with AIR runtime for windows, Mac and Linux operating system??
Thanks!
You have two options.
The first is to sign up for the AIR Redistribution program. This will give you access and permission to bundle and distribute the AIR runtime into your own installer.
The second is to use AIR 3 and Captive Runtime feature which will bundle the runtime into your app.

Adobe AIR 1.5 - Package AIR installer as a native Windows Executable (.EXE)

Hello StackOverflow community,
Is there any way to package the installer for an Adobe AIR application using Adobe AIR 1.5 as an executable (.EXE) file?
I found that this is possible for Adobe AIR 2.0, but it requires an upgrade to Adobe AIR 2.0 runtime. Are there any other options using the Adobe AIR 1.5 runtime?
Thanks,
Mauricio
You can join the program to redistribute the AIR Runtime.
http://www.adobe.com/products/air/runtime_agreement.html
I believe joining the program also provides you additional information about installing the AIR app and possibly the AIR runtime silently.
I think if you execute an AIR program with the '-silent' attribute you will get a silent install. Something similar at one point worked, at least, and I'm not sure of the exact command line argument.
Once you have those to things in place, it should be easy to launch the AIR runtime and/or AIR App installer from your own executable installer. There should be plenty of programs for creating the installer.
I think this could be done with the silent install method and a bit of scripting. If you needed to install the runtime at the same time you would need to sign up for the AIR Runtime Distribution agreement. I'm not sure what benefit you would gain over the normal AIR installation tho.
Nope, AIR 2.0 only.
No. There is no known way to package an Adobe AIR application as a native executable installer. You would have to do it with the .air package installation only, if you want AIR 1.5.

Resources