I've been approved to distribute the adobe air run time. I've been able to a packaged .dmg file without any problems, now I'm trying to create a package of my application with the runtime for windows.
I've followed the same instructions and the windows installer (MyApp 2.0 Installer.exe) is working properly when I double click it form the installer directory that I created.
Now I'm trying to package everything from that directory into one .exe file. I've tried using the standard windows Iexpress, but it doesn't seem to work properly.
I'm just wondering how I should go about creating the final .exe file.
It's easy enough, but you need a license from Adobe to be able to distribute Air with your application. Personally, I'm not a fan of distributing Air in the installer because of the extra filesize it adds.
Here's how you can create a native
.exe
installer:Install the SDK:
If you haven't already done so, download the AIR SDK and extract it to
C:\AIR
Hit Win+R, and type
control.exe sysdm.cpl,System,3
- press OKClick Environment Variables...
In the lower pane (System variables), find Path and click Edit...
On the end, add
;C:\AIR
and hit OK all the way outCompile:
Open a Command Prompt window, and
cd
to the location of your.air
fileRun this command:
N.B.:
Just as your
.air
file can be signed, your.exe
file can be signed tooFor more information, see the Packaging a desktop native installer article on Adobe's website