Skip navigation
Currently Being Moderated

Is it possible to install multiple AIR applications from single install?

Aug 2, 2012 9:12 AM

I've been asked to find a way to install multiple air applications in one install. Is this possible, or am I going to have to use a 3rd party tool like InstallShield?

 
Replies
  • Currently Being Moderated
    Aug 7, 2012 12:01 AM   in reply to Rick.Blacker

    I guess it's possible to create a meta-installer, which fires up the individual installers using the command line. It's not the ideal way to do this, but it might work.

     

    Sample code to use the command line from within Flex:

     

    <fx:Script>

    if(NativeProcess.isSupported)
    {
       
    var file:File = File.desktopDirectory;
        file
    = file.resolvePath("secondAirProgram.air");

       
    var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
        nativeProcessStartupInfo
    .executable = file;
       
    var process:NativeProcess = new NativeProcess();

        process
    .start(nativeProcessStartupInfo);

    }

    </fx:Script>

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points