git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Restarting an AIR desktop application


Hello,

I need the AIR application I'm working on to be able to restart itself after
an update process. 

The way to achieve this seems to be :

/var productManager:ProductManager = new ProductManager("airappinstaller");
productManager.launch("-launch " +
NativeApplication.nativeApplication.applicationID);/

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 ?

Thanks.
Vincent.



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/