Hello, is it possible for an Adobe Air application to install, upgrade and execute other Adobe-Air files?
The original use is for case launcher applications. This user launches and manages other applications on request, however the runtime does not need to be set up to that point unless the user intends to execute it. does not.
Edit: A good start point may be in this question
edit I'm going to post Flexcoders I am, though I am not really happy with doing this.
AIR 2.0, when installed with extended desktop profiles (the original installer) the original process The class can be used for any control applications on the system, monitor its commandline response, and finish as required. Very basic example below:
import flash.desktop.NativeProcess; Import Flash.desktop.NativeProcessStartupInfo; If (Native Processes: ISO Supported) {var npsi: Native Process StartupInfo = New Native Process StartupInfo (); Var processpath: file = file. Application Directory Posts ("mipepplication. Whatever"); Var Process: Basic Process = New Basic Process (); Npsi.executable = processpath; Process.start (npsi); } You should monitor additional IO events, error events, exit events, and you can also provide a command line argument in the Basic Process StartupInfo object. To install, this can be a tricker, because AIR has a graphical installation process and I have not used it with it, but it should be able to run the installer.
AIR applications also have a custom upgrade interface; However, I do not think another Air App can manage that work. Given that the AIR apps upgrade themselves seamlessly, which can be left out.