pjs/xpinstall/packager/mac/install.jst

27 строки
789 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
true ); // force flag
1999-11-03 05:44:58 +03:00
logComment("addDirectory() returned: " + err);
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);
}