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

Re: Restarting an AIR desktop application

A hack might be to install two apps.  The first app is your app.  The other app can be launched via NativeProcess to launch your app.


On 7/4/18, 12:02 AM, "After24" <vincent@xxxxxxxxxxx> wrote:

    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 " +
    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: