mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
29 lines
779 B
Plaintext
29 lines
779 B
Plaintext
var err = startInstall("Mozilla Editor", "Seamonkey", "$Version$");
|
|
logComment("startInstall: " + err);
|
|
|
|
var communicatorFolder = getFolder("Communicator");
|
|
logComment("communicatorFolder: " + communicatorFolder);
|
|
|
|
err = addDirectory("Program",
|
|
"$Version$",
|
|
"bin", // jar source folder
|
|
communicatorFolder, // target folder
|
|
"", // target subdir
|
|
true ); // force Flag
|
|
|
|
logComment("addDirectory() returned: " + err);
|
|
|
|
err = getLastError();
|
|
if (err==SUCCESS || err==REBOOT_NEEDED)
|
|
{
|
|
err = finalizeInstall();
|
|
logComment("finalizeInstall() returned: " + err);
|
|
}
|
|
else
|
|
{
|
|
abortInstall();
|
|
logComment("abortInstall() due to error: " + err);
|
|
}
|
|
|
|
|