Call this function to restart your application
var app:WindowedApplication = WindowedApplication(Application.application); var mgr:ProductManager = new ProductManager("airappinstaller"); mgr.launch("-launch " + app.nativeApplication.applicationID + " " + app.nativeApplication.publisherID); app.close();
Note : PLease add this to your app.XML file inorder for the above code to work.