Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / extensions / java / xpcom / package / javaconnect.jst
blobbd10caf17011a4d7dcfa6b374a23f66cdb8f9473
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);
12   if (err == SUCCESS)
13   {
14     err = performInstall();
15     logComment("performInstall() returned: " + err);
16   }
17   else
18   {
19     cancelInstall();
20     logComment("cancelInstall() due to error: "+err);
21   }
23 else
24   cancelInstall(INSUFFICIENT_DISK_SPACE);