1 var err = initInstall("Mozilla Javaconnect", "Javaconnect", "0.1");
2 logComment("initInstall: " + err);
4 var fProgram = getFolder("Program");
5 var srLibs = $SpaceRequired$:bin;
7 if (verifyDiskSpace(fProgram, srLibs))
9 err = addDirectory("", "0.1", "bin", fProgram, "", true);
10 logComment("addDirectory(): " + err);
14 err = performInstall();
15 logComment("performInstall() returned: " + err);
20 logComment("cancelInstall() due to error: "+err);
24 cancelInstall(INSUFFICIENT_DISK_SPACE);