pjs/xpinstall/packager/mac/install.jst

27 строки
789 B
Plaintext

var err = startInstall("Mozilla Seamonkey", "Seamonkey", "$Version$");
logComment("startInstall: " + err);
var communicatorFolder = getFolder("Communicator");
logComment("communicatorFolder: " + communicatorFolder);
var subFolder = "Mozilla Folder";
err = addDirectory("Program",
"$Version$",
"viewer", // jar source folder
communicatorFolder, // target folder
subFolder, // target subdir
true ); // force flag
logComment("addDirectory() returned: " + err);
if (err==SUCCESS || err==REBOOT_NEEDED)
{
err = finalizeInstall();
logComment("finalizeInstall() returned: " + err);
}
else
{
abortInstall();
logComment("abortInstall() returned: " + err);
}