RetroZilla/extensions/java/xpcom/package/javaconnect.jst

25 lines
568 B
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
var err = initInstall("Mozilla Javaconnect", "Javaconnect", "0.1");
logComment("initInstall: " + err);
var fProgram = getFolder("Program");
var srLibs = $SpaceRequired$:bin;
if (verifyDiskSpace(fProgram, srLibs))
{
err = addDirectory("", "0.1", "bin", fProgram, "", true);
logComment("addDirectory(): " + err);
if (err == SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
{
cancelInstall();
logComment("cancelInstall() due to error: "+err);
}
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);