An upcoming question in publish- & packaging AIR files is "How to convert them to a .dmg or .exe file?" Easily enough, you do not have to do anything else except using a slightly different ANT build task for it. Instead of passing:
XML:
-
<arg value="${publish_dir}/${air_file}" />
-
<arg value="${app_descriptor}" />
to the ADT you use:
XML:
-
<arg value="-target"/>
-
<arg value="native"/>
-
<arg value="${publish_dir}/MyApp.dmg" />
-
<arg value="${app_descriptor}" />
As you can see on the left it works like a charm and a new .dmg installer file has been created. You simply can double click on it and the installer pops up. And well, that´s it!
The same works with .exe by simply changing the file extension. Keep in mind that the AIR runtime environment has to be installed anyway.



August 16th, 2010
Marvin Blase
Posted in
Tags:
i want this software
Hey,
where can I get this software? I need to to publish my AIR app as .dmg but from Windows pc.
Thanks!