joshbuhler.com

AIR Installer Badge - Error #2032

by Josh on Jun.30, 2008, under AIR

While working on creating an installer badge for an AIR application I’m working on, I kept receiving the following error when trying to install the application: Error# 2032

error2032.png

After doing a bit of Googling, the most common solution I found was to make sure that the MIME-type for AIR was set on your server so that it would recognize the AIR filetype.

You can do this by adding the following line to the .htaccess file for your server: (I’m not a server guru, so this may not work in all cases, but it works on the Apache server I’m using.)

AddType application/vnd.adobe.air-application-installer-package+zip .air

After adding this I was still receiving the error. So… a little more time searching, and I found another piece to the solution - I had been using a relative path name in the flashVars for my installer badge. That doesn’t work. Apparently, while you can use a relative path for the thumbnail image displayed by the badge, the actual path to the .air installer file must be the full path to the file. (http://www.domain.com/pathToInstaller.air).

Since it took me a little bit longer to find that part of the solution, I wanted to post it here, just to add one more place where you might be able to find it. These aren’t the only two reasons why you could receive this error, but at least it’s two more possible solutions.



:, , , ,
8 comments for this entry:
  1. Mike

    Thanks. This helped me a lot. I added the mime type to my IIS and the error disappeared! Magic! Thanks again.

  2. Jeff

    Actually, I didn’t fuss at all with the mime type - I just made sure that I was using the full path to the .air file in my flashVars and that did the trick. Thanks for the tip.

  3. John

    Thanks a lot, it was the full path for me.

  4. andrew martinez

    the culprit more often than not seems to be the full path/url in the flashVars path. really cool. thnx a bunch for the tip.

  5. jk

    thanks for this - it was the Mime issue for me.

  6. benenuts

    Hi,

    Actually this is the error that I get when I try to install the Google Analytics Report Suite:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1282521

    I don’t understand why? It is there something in relation to firewall or something which can disturb the installation?

    Thanks

  7. Anna

    Thank you so mush!

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...