glob = InitXPInstallObjects(cx, nsnull, jarFile, url, args);
glob = InitXPInstallObjects(cx, nsnull, jarFile, url, args, hZip);
static nsresult SetupInstallContext(const nsFileSpec& jarFile,                                    const PRUnichar* url,                                    const PRUnichar* args,                                     JSRuntime *rt,                                     JSContext **jsCX,                                     JSObject **jsGlob){    JSContext   *cx;    JSObject    *glob;        *jsCX   = nsnull;    *jsGlob = nsnull;    if (!rt)         return NS_ERROR_OUT_OF_MEMORY;    cx = JS_NewContext(rt, 8192);    if (!cx)    {        return NS_ERROR_OUT_OF_MEMORY;    }    JS_SetErrorReporter(cx, XPInstallErrorReporter);    glob = InitXPInstallObjects(cx, nsnull, jarFile, url, args);    // Init standard classes    JS_InitStandardClasses(cx, glob);    // Add our Install class to this context    InitInstallVersionClass(cx, glob, nsnull);    InitInstallTriggerGlobalClass(cx, glob, nsnull);    *jsCX   = cx;    *jsGlob = glob;    return NS_OK;}