Skip to main content
Participant
December 19, 2010
Question

AIR apps making AIR apps?

  • December 19, 2010
  • 1 reply
  • 489 views

I'm creating an AIR app that makes games.  Once a game is created, I'd like the user to be able to share it in some easy-to-use fashion.  Using nochump zip library, I'm able to export files to zip folder and rename it with a .air extension, but supposedly there is more to an AIR app than that.  Launching it throws this error:

The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.

My guess is it's probably due to security issues.  Is there a way to get around this?

This topic has been closed for replies.

1 reply

Participating Frequently
December 19, 2010

An AIR file is more than just a zip. Some of the files need to be a specific order within the zip, and there needs to be a signature. Unless you want to reimplement ADT in actionscript, your best bet would probably be to use the NativeProcess API to call out to ADT to do the packaging for you.