mozilla
Your Search Results

    Install.addDirectory

    Install.addDirectory

    The Install object's addDirectory method queues an entire directory for installation once performInstall is called.

    var vi = "10.10.10.10";
    var xpiSrc = "adddir1";
    initInstall("addFileNoVers1", "adddir_1", vi, 1);
    f = getFolder("Program");
    setPackageFolder(f);
    err = addDirectory(xpiSrc);           
    logComment("the error = " + err);
    if (0 == getLastError())
       performInstall();
    else
       cancelInstall();
    

    Document Tags and Contributors

    Contributors to this page: Sheppy, Fredchat, trevorh, Rod Whiteley
    Last updated by: Sheppy,
    Hide Sidebar