cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
redbarchetta
Level 2

Does InstallShield support Adobe AIR installs?

Hi all, been asked to take a couple of Adobe AIR applications and wrap them up into a single install. Wanted to find out what kind of, if any support does InstallShield have for installing Adobe AIR applications.

Does InstallShield have the ability to take a .air file, and that air installer? Or does InstallShield connect to an air project, and package all the air projects data into InstallShields own format for install?

Any help will be greatly appreciated.
Labels (1)
0 Kudos
(4) Replies
Cary_R
Level 11

Hi There,

InstallShield does not explicitly support Adobe AIR, however, can be made to do so.

Basically, the *.air files have a command line by which they get installed on the machine:

C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\airappinstaller.exe -silent "C:\path\to\application.air"

And then you can wire these up as custom actions within your project file.

Hope this helps!
0 Kudos
Raghvendra
Level 4

Hi all,
I want to install .air file using install Shield and i wrote following install script code for this but this is not working, can anyone help me......

#define PROGRAM "C:\ProgramData\Raghvendra\AirFile\tiles.air"

#define LAUNCH_WAIT_TEXT "Launch Notepad; after it closes, continue setup"

#define LAUNCH_GO_TEXT "Launch Notepad and continue setup immediately"

#define EXIT_TEXT "Exit installation"

#include "ifx.h"

export prototype MyFunction(HWND);

function MyFunction(hMSI)
// To Do: Declare local variables.

STRING szProgram, szCmdLine, szMsg;

BOOL bLaunchAndGo, bLaunchAndWait, bExit;

NUMBER nWait;
begin

// To Do: Write script that will be executed when MyFunction is called.

// Run the installation in a normal Window;

Enable (BACKGROUND);

Enable (DEFWINDOWMODE);



// Disable the Back button in installation dialogs.

Disable (BACKBUTTON);



// Get an option from the user.

AskOptions (EXCLUSIVE, "Test",

LAUNCH_WAIT_TEXT, bLaunchAndWait,

LAUNCH_GO_TEXT, bLaunchAndGo,

EXIT_TEXT, bExit);



if !bExit then



// Set variable to pass to LaunchAppAndWait

// to indicate whether or not to wait.

if bLaunchAndWait then

nWait = WAIT;

else

nWait = NOWAIT;

endif;



// Launch Notepad; the value of nWait determines

// when execution of the installation continues.

if (LaunchAppAndWait (PROGRAM, "", nWait) < 0) then

MessageBox ("Unable to launch "+ PROGRAM +".",SEVERE);

endif;



MessageBox ("Setup will now exit.", INFORMATION);



endif;

end;
0 Kudos
rrinblue22
Level 9

Hey Raghvendra,

You need to call airappinstaller.exe to process your*.air files and with that the launch script will somewhat appear as below.


szProgram = "C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\airappinstaller.exe";
szCmdLine = "C:\ProgramData\Raghvendra\AirFile\tiles.air";

LaunchAppAndWait ( szProgram, szCmdLine, nOptions );
0 Kudos
Raghvendra
Level 4

rrinblue22 wrote:
Hey Raghvendra,

You need to call airappinstaller.exe to process your*.air files and with that the launch script will somewhat appear as below.


szProgram = "C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\airappinstaller.exe";
szCmdLine = "C:\ProgramData\Raghvendra\AirFile\tiles.air";

LaunchAppAndWait ( szProgram, szCmdLine, nOptions );


Thanks rrinblue22 🙂
0 Kudos