This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Does InstallShield support Adobe AIR installs?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2012
11:30 AM
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.
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.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2012
08:32 AM
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!
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!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 01, 2013
11:20 PM
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;
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;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 04, 2013
03:29 AM
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 );
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 );
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 04, 2013
05:22 AM
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 🙂