« Creating your first Apollo Application with Flex Builder | Main | Editing the Apollo Descriptor File »
Deploy an AIR file with FlexBuilder
Print This PostTo package the Apollo application we just built (Creating your first Apollo Application with Flex Builder) into a distributable AIR file, simply right click on the project, choose Export.
Select Deployable AIR file and click Next

Select the files you wish to include in the AIR package and click Finish

To run it simply launch the .air file and install. (This assumes you have already installed the Apollo runtime)

Please post links to any masterpieces you have created. I have created a new page called Apollo Sample Applications
Share this Post
Topics: Adobe AIR, Tutorials |


![[image]](http://mowser.com/img?url=http%3A%2F%2Fassets.max.adobe.com%2Fimages%2FMAX09_D125x125.jpg)




March 19th, 2007 at 1:34 pm
Hi,
Where do we specify installation directory for the air files.
Thanks.
March 19th, 2007 at 1:45 pm
You don’t, at least not in this release of Apollo. They go to the Documents and Settings\user folder on windows and the user\Applications folder on Mac.
March 19th, 2007 at 2:35 pm
Thanks for your quick answer, but at home, they go to Documents and Settings\user\Program Files\ , not Documents and Settings\user . No way to fix this ?
March 19th, 2007 at 5:00 pm
Yes, that is correct Documents and Settings\user\Program Files\ on Windows and user\Applications on Mac. Sorry, I left off the ProgramFiles on my previous response.
March 22nd, 2007 at 4:31 am
Hi,
whats about integrating my own Icons…which named in the xml-file, must i also import these icons in the airFile? so i test it both without und with integrating these files….but nothing happens…my icons don’t been shown after i installing the app.
merci
March 22nd, 2007 at 6:12 am
Yes, please see this post for help with Icons:
http://blog.everythingflex.com/2007/03/19/editing-the-apollo-descriptor-file/
March 27th, 2007 at 4:54 pm
Hi. Thanks for your work on these articles.
Is there a way to change where a given app is installed? Most other applications I’ve installed go (by default) in Macintosh HD/Applications… It’d be nice to have that option. Any ideas?
March 27th, 2007 at 5:15 pm
Not in the alpha build. This will be possible in a future build of Apollo.
April 19th, 2007 at 10:00 am
[...] 2007 - Rich Tretola</copyright> </properties> Now Export the application (see “Deploy an AIR with FlexBuilder“). The results will be that the installer now looks like [...]
August 3rd, 2007 at 10:10 am
Hi
How can we deploy our applications just the way they are deployed at http://labs.adobe.com/technologies/air/samples/
ie
User may click on a button “Install Now” and the setup checks existence of AIR runtime at user’s machine. Installs AIR if it doesnt exist on Usermachine and then installs the applcation. and all this happens from with in the browser window.
Please help.
Regards
Awan
August 3rd, 2007 at 10:36 am
That is an AIR intsall badge. Take a look at this post.
August 6th, 2007 at 1:39 am
Thanks man, It was a great help.
Thanks again.
Regards,
Awan
August 17th, 2007 at 9:06 am
Hi!
I used the “AIR Express Install Badge” mentioned in your previous reply.
It works fine on my local machine and over my local network. but when i upload it all to my developement server, the AIR appliction doesnt install/download successfuly to client machines.
If I choose “Save” option it downloads only 1.59 kb while my actual AIR application is of 1MB,
If I choose “Open” option it gives installation error “This application could not be installed or launched (AIR file http://mydevserver/myairapp.air is invalid: not an AIR file).”
Note: I have used fully qualified url Like “Client&appurl=http://mydevserver/myairapp.air” and myairapp.air resides in the root.
Please help…
August 20th, 2007 at 4:05 am
Ok I found the problem. Above mentioned problem occurs when the web server doesn’t know the .air file type. We need to add .air to the MIME file types in the web server.
September 13th, 2007 at 7:21 am
OK, this is all very cool, but I have one question: Why is my AIR file 1.25MB and my SWF file (for the exact same project) is only 4.5KB. The AIR file is almost 300 times as big? Is this normal?