2 Replies Latest reply on Jan 19, 2012 2:35 PM by SourceSkyBoxer

    Restarting application AIR 2.0

    UltimediaBE Level 1

      Hi guys,

       

      My problem is simple, I'm looking for a way to restart an Adobe AIR 2.0 application. I was able to do this in older versions by using the following method:

      var app:WindowedApplication =
              WindowedApplication(Application.application);
         
          var mgr:ProductManager =
              new ProductManager("airappinstaller");
         
          mgr.launch("-launch " +
              app.nativeApplication.applicationID + " " +
              app.nativeApplication.publisherID);
         
          app.close();

      But the ProductManager doesn't exist in the Flex 4 SDK, does anyone know how to do this on the current AIR version ? Thanks and appreciated!