Skip to main content
Participant
January 18, 2012
Question

Problem: Deploying AIR in EXE

  • January 18, 2012
  • 1 reply
  • 1634 views

Hi -

I export my AIR app as an EXE. When I double click it, it installs just fine. However, when I try to deploy it with other exe files in a program I create using InstallJammer, I get the following error:

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

Here are the steps I'm taking using InstallJammer. Does anyone see something that would throw this error?

I'm using a tutorial here: http://bishoponvsto.wordpress.com/2010/03/10/deploying-air-application-with-air-runtimeredistributable-in-single-exe/.... 

This tutorial has you do the following things:

  • Export your AIR app as an EXE file.
  • Place this EXE file, the AdobeAIRInstaller.exe, and any 3rd party EXE files into a ZIP file.
  • At this point you switch to your installer program (InstallShield or InstallJammer) and you create the actions that will do the following:
  • Unzip the zip file you created
  • Execute the AdobeAIRInstaller.exe, your AIR app EXE, and any other 3rd party EXE files.

When I go by this tutorial the AdobeAIRInstaller.exe installs just fine, my 3rd party EXE installs just fine, but I get the above error when installing my AIR app EXE:

Why is it that the EXE file would work fine on its own but throw an error saying the installer file is damaged when I try and run it from an Install program?

Thanks for any helpful tips!

This topic has been closed for replies.

1 reply

January 18, 2012

UPDATE:

I tried exporting the AIR app again as an EXE and now I'm getting this error:

Error creating native installer file: Could not generate timestamp: Connection timed out: connect.

i researched this error and saw the fix is to do the following (because my system uses a proxy):

Here: [Adobe Flash Builder 4 folder]\jre\lib\net.properties

set: java.net.useSystemProxies=true if you want to use the system proxy, or specify it manually.

I have done this on the net.properties in the Adobe folder and for each JRE I have installed on my system...to no avail.

Is there something else that could cause this problem?

January 20, 2012

One thing to ADD: My version of AIR is 2.6 but my runtime is 3.1. Could that be a possible problem?