Re: Restarting an AIR desktop application
Perhaps you can try to do what the Flex Installer does?
The gist is to download the new file, execute it and then exit itself after
a short timeout.
Please take a look at:
On Wed, Jul 4, 2018, 12:02 AM After24 <vincent@xxxxxxxxxxx> wrote:
> I need the AIR application I'm working on to be able to restart itself
> an update process.
> The way to achieve this seems to be :
> /var productManager:ProductManager = new ProductManager("airappinstaller");
> productManager.launch("-launch " +
> But this code doesn't works. I think that it is because the
> <allowBrowserInvocation></allowBrowserInvocation> tag of the application
> descriptor must bet set to true.
> But my application is package as a captive runtime bundle and in that case
> the <allowBrowserInvocation> tag cannot be used.
> Does someone has a solution to solve this problem ?
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/