mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
ba161d90bf
#30711 - no longer attempts to detect Net2Phone running during startup of installer. #30982 - added netscape registry names to the .js install scripts. #30907 - changed the way the build number is displayed on the blue background. It is now displayed in a smaller font and in black. #30877 - added creation of Profile Manager shortcut. affects only windows platforms. a=jar r=sgehani
35 lines
1007 B
Plaintext
35 lines
1007 B
Plaintext
// main
|
|
var srDest;
|
|
var err;
|
|
var communicatorFolder;
|
|
|
|
srDest = $SpaceRequired$:bin;
|
|
err = startInstall("Mozilla Mail", "Mail", "$Version$");
|
|
logComment("startInstall: " + err);
|
|
// check return value
|
|
checkError(err);
|
|
|
|
communicatorFolder = getFolder("Communicator");
|
|
logComment("communicatorFolder: " + communicatorFolder);
|
|
|
|
if(verifyDiskSpace(communicatorFolder, srDest) == true)
|
|
{
|
|
setPackageFolder(communicatorFolder);
|
|
err = addDirectory("",
|
|
"$Version$",
|
|
"bin", // dir name in jar to extract
|
|
communicatorFolder, // Where to put this file (Returned from GetFolder)
|
|
"", // subdir name to create relative to communicatorFolder
|
|
true); // Force Flag
|
|
logComment("addDirectory() returned: " + err);
|
|
|
|
// check return value
|
|
if(!checkError(err))
|
|
{
|
|
err = finalizeInstall();
|
|
logComment("finalizeInstall() returned: " + err);
|
|
}
|
|
}
|
|
|
|
// end main
|