1 Reply Latest reply on Aug 7, 2012 12:01 AM by BBlommers

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

    Rick.Blacker Level 1

      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?

        • 1. Re: Is it possible to install multiple AIR applications from single install?
          BBlommers Level 2

          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>