зеркало из https://github.com/mozilla/gecko-dev.git
31 строка
752 B
Plaintext
31 строка
752 B
Plaintext
var err = initInstall("Transformiix", "Transformiix", $Version$);
|
|
logComment("initInstall: " + err);
|
|
|
|
var fProgram = getFolder("Program");
|
|
logComment("fProgram: " + fProgram);
|
|
|
|
if (verifyDiskSpace(fProgram, $SpaceRequired$))
|
|
{
|
|
err = addDirectory("Transformiix",
|
|
$Version$,
|
|
"bin",
|
|
fProgram,
|
|
"",
|
|
true );
|
|
|
|
logComment("addDirectory() returned: " + err);
|
|
|
|
if (err==SUCCESS)
|
|
{
|
|
err = performInstall();
|
|
logComment("performInstall() returned: " + err);
|
|
}
|
|
else
|
|
{
|
|
cancelInstall(err);
|
|
logComment("cancelInstall() due to error: " + err);
|
|
}
|
|
}
|
|
else
|
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|