2003-07-29 02:25:25 +04:00
|
|
|
var srDest = $SpaceRequired$;
|
|
|
|
|
|
|
|
var err = initInstall("Mozilla Myspell Spellchecker", "Spellchecker", "$Version$");
|
|
|
|
logComment("initInstall: " + err);
|
|
|
|
|
2003-07-29 19:07:02 +04:00
|
|
|
fProgram = getFolder("Program");
|
|
|
|
logComment("fProgram: " + fProgram)
|
|
|
|
|
|
|
|
if (verifyDiskSpace(fProgram, srDest))
|
2003-07-29 02:25:25 +04:00
|
|
|
{
|
2003-07-29 19:07:02 +04:00
|
|
|
setPackageFolder(fProgram);
|
|
|
|
|
2003-07-29 02:25:25 +04:00
|
|
|
addDirectory("Spellchecker",
|
|
|
|
"$Version$",
|
2003-07-29 19:07:02 +04:00
|
|
|
"bin",
|
|
|
|
fProgram,
|
2003-07-29 02:25:25 +04:00
|
|
|
"");
|
|
|
|
|
|
|
|
if (err==SUCCESS)
|
|
|
|
performInstall();
|
|
|
|
else
|
|
|
|
cancelInstall(err);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|