My presentation at the On AIR tour through Europe was about signing, deploying and updating your AIR applications. If you didn’t make it to the tour or just want to read up on these topics, I wrote three separate posts about them on the train somewhere between Prague and Munich.

You created your AIR file… so now what? The easiest thing to do is to upload the file to your server and put a link to it on your website. But this is not very user-friendly for whoever is going to download and install your application. In some cases, when your server isn’t configured to handle AIR files, it may even fail altogether. That’s why we created the concept of install badges. Install badges are basically a small Flash application that handles download and install in such a way that it becomes very easy for the end user to install your application.

There are 3 different flavors of the install badge: The standard version, the “currently in beta” version and the custom install badge.

The standard install badge is part of the AIR SDK. If you download and extract that zip file, there’s a folder called samples that includes a ready-to-go sample. Just change some parameters in the source of the html, upload the files and your AIR file to your server and you’re done. I have to be honest and tell you that I don’t really like the standard badge. It’s fine if you just want a simple install badge but the beta badge is so much better.

The beta badge is available on Adobe Labs. It is actually created by Grant Skinner. The first thing you notice when you launch the sample, is that it has a much cooler/smooth look. But this badge also has a bunch of extra features that the default badge doesn’t have. For one, this badge can determine if the application is already installed and then prompt the user to launch the application right from within the browser. It also detects if the user has the correct version of the runtime installed; if not, it will offer to download it. This badge also allows you to add a little bit of support information when the user clicks on the question-mark icon. But my favorite feature is that this badge uses SWFObject which is my preferred way of adding SWF content to a web page. If you compare the source of the default and beta badge, you’ll see that SWFObject and the way it handles FlashVars is a lot more readable compared to the name-value pairs in the default badge.

The third option would be to build your own install badge. Don’t worry… you don’t have to start from scratch. The sources for both the default and beta badge are available so you can use these as the basis for your own. It’s as simple as that ;-) The great thing is that this can be anything you want to it to be and can have all the features you want it to have ’cause well… you are building it. If you want to ping your server whenever someone starts the install of your application for instance, that is absolutely possible.