RetroZilla/xpinstall/packager/os2/spellcheck.jst

26 lines
553 B
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
var srDest = $SpaceRequired$;
var err = initInstall("SeaMonkey Myspell Spellchecker", "Spellchecker", "$Version$");
logComment("initInstall: " + err);
fProgram = getFolder("Program");
logComment("fProgram: " + fProgram)
if (verifyDiskSpace(fProgram, srDest))
{
setPackageFolder(fProgram);
addDirectory("Spellchecker",
"$Version$",
"bin",
fProgram,
"");
if (err==SUCCESS)
performInstall();
else
cancelInstall(err);
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);