mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-16 12:30:13 +01:00
33 lines
958 B
Plaintext
33 lines
958 B
Plaintext
|
var srDest = $SpaceRequired$;
|
||
|
|
||
|
var err = initInstall("Quality Feedback Agent", "Quality Feedback Agent", "$Version$");
|
||
|
logComment("initInstall: " + err);
|
||
|
|
||
|
var communicatorFolder = getFolder("Program");
|
||
|
logComment("communicatorFolder: " + communicatorFolder);
|
||
|
|
||
|
if (verifyDiskSpace(communicatorFolder, srDest))
|
||
|
{
|
||
|
err = addDirectory("Talkback",
|
||
|
"$Version$",
|
||
|
"viewer", // jar source folder
|
||
|
communicatorFolder, // target folder
|
||
|
"", // target subdir
|
||
|
true ); // force flag
|
||
|
|
||
|
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);
|