mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
31 lines
752 B
Plaintext
31 lines
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);
|