mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
568 B
Plaintext
Executable File
25 lines
568 B
Plaintext
Executable File
var err = initInstall("Mozilla Javaconnect", "Javaconnect", "0.1");
|
|
logComment("initInstall: " + err);
|
|
|
|
var fProgram = getFolder("Program");
|
|
var srLibs = $SpaceRequired$:bin;
|
|
|
|
if (verifyDiskSpace(fProgram, srLibs))
|
|
{
|
|
err = addDirectory("", "0.1", "bin", fProgram, "", true);
|
|
logComment("addDirectory(): " + err);
|
|
|
|
if (err == SUCCESS)
|
|
{
|
|
err = performInstall();
|
|
logComment("performInstall() returned: " + err);
|
|
}
|
|
else
|
|
{
|
|
cancelInstall();
|
|
logComment("cancelInstall() due to error: "+err);
|
|
}
|
|
}
|
|
else
|
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|