Posts Tagged ‘Exe’

Deploying AIR Application and AIR Runtime (Redistributable) in Single Exe

March 10, 2010

In this article I show how to package an AIR application (.exe) with the AIR runtime redistributable in a setup file. Your end-users can then run a single setup.exe file to install both your app and the AIR runtime. Nice one! 

This is a follow-up from an article I wrote on packaging and AIR application as an EXE

What you’ll need: 

  • The myApp.exe file you created from your myApp.air file (detailed in article mentioned above)
  • The Adobe Air 2.0 beta (or 2.0 beta 2) runtime exe file you’re currently using (can be downloaded here).

1. You have to create a zip file containing the myApp.exe file and the Adobe Air Runtime Redistributable exe file. 

Note: I firstly renamed the Air runtime file to air2runtime.exe (just for handiness), and called the zip file installFiles.zip 

2. Install and open InstallJammer. 

3. Choose File/New/Project Wizard. Enter a project name and destination folder for your InstallJammer project, I named mine Air Install Project, click next. 

4. Enter some details for you apps’ name and version, next. 

5. Step 4 asks for your Application Directory, where your air files are. I just leave this blank, and add my files later. 

6. The next three steps are simple. Install wizard theme, os to install on (Windows for me), additional features (the default will do). 

7. Next we want to add our zip file to the project. 

  • Click on ‘Groups and Files’
  • Right click Program Files, and browse to your zip file (see pic below)

Groups and Files

Read the complete tutorial here (steps 8 – 12)………

Advertisements

Adobe Air to Exe – Packaging Air app in Windows executable

February 23, 2010

In AIR 2 you can build an EXE installer file for distributing an AIR application on Windows. I was getting a good few errors at the start trying this (it was a bit of a pain really), so to ease your experience of AIR to EXE, here are the steps I took to complete the process (btw, its just a fluke it worked out to 10 steps, only numbered it retrospectively!).

UPDATE: Serje Jespers created a drag-n-drop tool to accomplish this task, have a look here

I have a follow-up post also, to show how to package the AIR application EXE file, with the AIR runtime .EXE as a single setup file using InstallJammer! – link

Any Questions? Just drop a comment

Firslty, some of the command prompt error messages I was seeing.

  • -storetype is required
  • unable to create temp file in output directory
  • Java not a recognised command


1. Update your Air SDK from Air 1.x to Air 2 Beta 2(its in Beta 2 at the time of writing, but at least Air 2.0 is needed), and also install the Air 2.0 runtime.

2. Once downloaded, look up follow the steps carefully in How to overlay the Adobe AIR SDK for use with the Flex SDK.

3. In the app.xml file (or whatever your .xml app file is called) in the Flex Builder project, you have to add the following line:

<supportedProfiles>extendedDesktop desktop</supportedProfiles>

Read full post with all steps …..