[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: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C4b23f6cfe7aa4542e9a808d5e17c1d12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636662845537893849&sdata=Yu8gQDFA2nf8lS6AolnOmm1xBmoRYLzkxZWT6swDVKY%3D&reserved=0