gecko-dev/mail/installer/windows/newsblog.jst
scott%scott-macgregor.org be313edc35 Bug #253490 --> Installer support for the RSS component.
Bug #253617 --> Options / General panel on Windows won't remember any settings. Synch the installer with the messenger-mapi
chrome locaton changes made for GNOME mapi support.
2004-07-30 21:54:51 +00:00

34 lines
1.1 KiB
Plaintext

var err = initInstall("RSS Support", "RSS", "$Version$");
logComment("initInstall: " + err);
// RSS Extension
var fProgram = getFolder("Program");
logComment("fProgram: " + fProgram);
err = addDirectory("", "$Version$", "bin", fProgram, "", true);
logComment("addDirectory: " + err);
var jarFolder = getFolder("Chrome", "newsblog.jar");
fTarget = getFolder("Program", "defaults");
logComment("fTarget: " + fTarget);
err = addDirectory("",
"bin/defaults", // dir name in jar to extract
fTarget, // Where to put this file (Returned from GetFolder)
""); // subdir name to create relative to fProgram
addFile("RSS Service",
"bin/components/newsblog.js",
getFolder("Components"),
"");
registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/messenger-newsblog/");
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","qute.jar"), "skin/classic/messenger-newsblog/");
err = getLastError();
if (err==SUCCESS)
performInstall();
else
cancelInstall(err);