mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
ef404f92ee
Bug 52417 (add downloader code) Bug 64179 ('K' should be 'KB') Bug 62560 (misspelled 'Existence') Bug 64550 (remove 'Seamonkey' reference) Bug 60352 (add crc check to installer) Bug 62991 (psm check crashes n6 setup) Bug 58267 (npoji600.dll) Bug 47274 (Title should be 'Mozilla Setup') Bug 66497 (installer need to clean up windows registry) Bug 66498 (uninstaller checking itself) Bug 64566 (shouldn't be able to start multiple Setup) Bug 56292 (Alt-r conflict in Setup Type dialog) Bug 31821 (force-upgrade support) r=deveditz sr=mscott affects windows platforms only!
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
// main
|
|
var srDest;
|
|
var err;
|
|
var fProgram;
|
|
|
|
$Ren8dot3List$
|
|
|
|
srDest = $SpaceRequired$:bin;
|
|
err = initInstall("Personal Security Manager", "Personal Security Manager", "$Version$");
|
|
logComment("initInstall: " + err);
|
|
|
|
fProgram = getFolder("Program");
|
|
logComment("fProgram: " + fProgram);
|
|
|
|
if(verifyDiskSpace(fProgram, srDest))
|
|
{
|
|
setPackageFolder(fProgram);
|
|
|
|
$Ren8dot3Call$
|
|
|
|
err = addDirectory("",
|
|
"$Version$",
|
|
"bin", // dir name in jar to extract
|
|
fProgram, // Where to put this file (Returned from GetFolder)
|
|
"", // subdir name to create relative to fProgram
|
|
true); // Force Flag
|
|
logComment("addDirectory() returned: " + err);
|
|
|
|
// check return value
|
|
if(err == SUCCESS)
|
|
{
|
|
err = performInstall();
|
|
logComment("performInstall() returned: " + err);
|
|
}
|
|
else
|
|
cancelInstall(err);
|
|
}
|
|
else
|
|
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
|
|
|
// end main
|