Adobe AIR -.air -.exe / .dmg / .rpm

I need to get my own installer for Mac and Linux from a .air file. I am on Windows and am using AIR 2.5.

I met this interesting windows application to convert a .air file to .exe / .dmg / .rpm. I can’t make it work, so has someone else used it and can confirm the functionality or can recommend a similar application?

Thanks. Uli

+4
source share
4 answers

Here is an adobe article to accomplish what you are trying to do here:

http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html

I'm not sure if there are other applications that automate this process for you. There was a couple of back when this functionality was first in beta, but I think that they are largely gone or incompatible. See here the tutorial:

http://bishoponvsto.wordpress.com/2010/02/23/adobe-air-2beta-2-to-exe-packaging-air-app-in-windows-executable/

+2
source

From Air docs : “You must use ADT on the same operating system as for the installer’s own file that you want to generate.”

I develop on a Mac and run Windows through bootcamp, and with this setting I was able to create my own installers for both operating systems. It’s also worth noting that Adobe refused to support Linux, as it did for version 2.6, so this can affect how much problems you are prepared to go through to create .rpm

+2
source

you must use the adt command.

adt -package -target native myApp.dmg myApp.air for MAC 

and

 adt -package -target native myApp.exe myApp.air fr Windows 
+2
source

Why not take a look at this article about the NativeProcess function , it describes the process of creating your own installer. To quote some relevant parts:

 To package the application, invoke the ADT application using syntax to package a native installer application version. You must run ADT on the same operating system as the target installer application. To generate a DMG file, run ADT on Mac OS. To generate an EXE installer file, run ADT on Windows. For example, the following command packages a DMG file on Mac OS: adt -package -storetype pkcs12 -keystore myCert.p12 -target native NativeProcessTest.dmg NativeProcessTest-app.xml NativeProcessTest.swf NativeApps/Mac/bin/echoTestMac icons Before running this command, open the Terminal application and navigate to the output directory for your Flex project. Adjust the following: The path to the ADT application in the Flex SDK The name and path of the signing certificate (given as myCert.p12 in this example) For example, the following command packages an EXE installer file on Windows: adt -package -storetype pkcs12 -keystore myCert.p12 -target native NativeProcessTest.exe NativeProcessTest-app.xml NativeProcessTest.swf NativeApps/Windows/bin/echoTestWindows icons Before running this command, open a command line session and navigate to the output directory for your Flex project. Adjust the following: The path to the ADT application in the Flex SDK The name and path of the signing certificate (given as myCert.p12 in this example) For more information on using ADT and on using signing certificates, refer to "Packaging an AIR application in a native installer" in Building Adobe AIR applications. 

Captive Runtime will do something similar, but requires AIR 3 or later.

-2
source

Source: https://habr.com/ru/post/1382352/


All Articles