pjs/xpinstall/packager/mac/install.jst

31 строка
959 B
Plaintext
Исходник Обычный вид История

var err = startInstall("Mozilla Seamonkey", "Seamonkey", "$Version$");
logComment("startInstall: " + err);
1999-11-03 05:44:58 +03:00
var communicatorFolder = getFolder("Communicator");
logComment("communicatorFolder: " + communicatorFolder);
1999-11-03 05:44:58 +03:00
var subFolder = "Mozilla Folder";
err = addDirectory("Program",
1999-11-03 05:44:58 +03:00
"$Version$",
"viewer", // jar source folder
communicatorFolder, // target folder
subFolder, // target subdir
false); // force flag
1999-11-03 05:44:58 +03:00
logComment("addDirectory() returned: " + err);
1999-11-03 05:44:58 +03:00
// delete the component registry
var ignoreErr = fileDelete(communicatorFolder + subFolder + ":Component Registry");
logComment("fileDelete() returned: " + ignoreErr);
1999-11-03 05:44:58 +03:00
if (err==SUCCESS || err==REBOOT_NEEDED)
{
err = finalizeInstall();
logComment("finalizeInstall() returned: " + err);
}
else
{
abortInstall();
logComment("abortInstall() returned: " + err);
}