« Deploy an AIR file with FlexBuilder | Main | Write your first file to the file system using Apollo »
Editing the Apollo Descriptor File
| By Rich Tretola | March 19, 2007 | Print This Post
|
| 844 views |
The descriptor file is used by the installer to define the application name, publisher, description, copyright, and icons. Open the project named MyApolloApp that was created in the “Creating your first Apollo Application with Flex Builder” and edit the publisher, description, and copyright information within the properties section of MyApolloApp-App.xml.
Your file should look something like this:
- <properties>
- <!–
- The application name displayed by the operating system
- when the appication is running. The name is also used in
- the application installation path and must conform to
- Windows and Mac OS X folder naming restrictions.
- –>
- <name>MyApolloApp</name>
- <!–
- The description displayed in the Apollo application installer.
- –>
- <description>This is my first Apollo Application</description>
- <!–
- The publisher string displayed in the Apollo application installer. On
- Windows, the publisher string is also used the application installation
- path and must conform to Windows folder naming restrictions.
- –>
- <publisher>EverythingFlex</publisher>
- <!–
- The application copyright information. (Optional)
- –>
- <copyright>EverythingFlex 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 this:

The About MyAppolloApp will now look like this:

OK, now lets add some custom icons to the installation. You can test with these if you wish:

Add these icons to the root of your project and edit the icon section of the MyApolloApp-App.xml file so it looks like this:
- <icon>
- <image16×16>e16.png</image16×16>
- <image32×32>e32.png</image32×32>
- <image48×48>e48.png</image48×48>
- <image128×128>e128.png</image128×128>
- </icon>
Be sure to uncomment the icon section so it is included when you export the application to the new AIR file. You may also wish to change the version number of the application to .5 so that it will automatically update the installed version to the newer version.
<application xmlns=”http://ns.adobe.com/apollo/application/1.0.M3″ appId=”MyApolloApp” version=”.5″>
Export the application and be sure to include these icons in the AIR package.
![]()
Run the installer again and you will now see the new icons when you view the installed application and when running the application.
MAC


WINDOWS XP


Topics: Adobe AIR, Tutorials |









March 22nd, 2007 at 5:06 am
hi,
that doesn’t work by me. the iconspath is correct and i include them also when i deplay the air file…but when i install my application, my icons don’t appear…
March 22nd, 2007 at 6:15 am
Just put the icons in the root of your application and be sure to include them when you generate the air file as shown in the pictures in this tutorial.
March 22nd, 2007 at 7:01 am
—> Be sure to uncomment the icon section so it is included when you export the application to the new AIR file.
March 22nd, 2007 at 7:08 am
yes, that is in the tutorial above, right after the XML block
September 5th, 2007 at 3:21 pm
Hello,
I am working in Apollo, but it there a problem with the icons of application (.air). I modify the file descriptor, but the icons do not appear. Very thanks for the collaboration.
September 5th, 2007 at 10:22 pm
You need to include the icons in the build of the AIR package and make sure the path to them is set correctly in the configuration file.