зеркало из https://github.com/mozilla/pjs.git
22 строки
834 B
Plaintext
22 строки
834 B
Plaintext
var err = StartInstall("Mozilla Seamonkey", "Seamonkey", "$Version$");
|
|
LogComment("StartInstall: " + err);
|
|
|
|
var communicatorFolder = Install.GetFolder("Communicator");
|
|
LogComment("communicatorFolder: " + communicatorFolder);
|
|
|
|
err = AddDirectory("Program",
|
|
"$Version$",
|
|
"bin", // fileName in jar,
|
|
communicatorFolder, // Where to put this file (Returned from GetFolder)
|
|
"", // fileName in jar,
|
|
false); // Force Flag
|
|
LogComment("AddDirectory() returned: " + err);
|
|
|
|
var fileComponentReg = communicatorFolder + "\\component.reg";
|
|
err = Install.FileDelete(fileComponentReg);
|
|
LogComment("FileDelete() returned: " + err);
|
|
|
|
err = FinalizeInstall();
|
|
LogComment("FinalizeInstall() returned: " + err);
|
|
|