This commit is contained in:
bryner%brianryner.com 2005-01-28 18:02:10 +00:00
Родитель c142b43619
Коммит 8b9c21b8fa
4 изменённых файлов: 48 добавлений и 48 удалений

Просмотреть файл

@ -1,6 +1,6 @@
[xforms]
chrome/xforms.jar
components/libschemavalidation.dylib
components/schemavalidation.xpt
components/libxforms.dylib
components/xforms.xpt
[xforms]
chrome/xforms.jar
components/libschemavalidation.dylib
components/schemavalidation.xpt
components/libxforms.dylib
components/xforms.xpt

Просмотреть файл

@ -1,6 +1,6 @@
[xforms]
chrome/xforms.jar
components/libschemavalidation.so
components/schemavalidation.xpt
components/libxforms.so
components/xforms.xpt
[xforms]
chrome/xforms.jar
components/libschemavalidation.so
components/schemavalidation.xpt
components/libxforms.so
components/xforms.xpt

Просмотреть файл

@ -1,6 +1,6 @@
[xforms]
chrome/xforms.jar
components/schemavalidation.dll
components/schemavalidation.xpt
components/xforms.dll
components/xforms.xpt
[xforms]
chrome/xforms.jar
components/schemavalidation.dll
components/schemavalidation.xpt
components/xforms.dll
components/xforms.xpt

Просмотреть файл

@ -1,30 +1,30 @@
var err = initInstall("Mozilla XForms", "XForms", "0.1");
logComment("initInstall: " + err);
var fProgram = getFolder("Program");
var srChrome = $SpaceRequired$:chrome;
var srComponents = $SpaceRequired$:components;
if (verifyDiskSpace(fProgram, srChrome + srComponents))
{
err = addDirectory("", "0.1", "components", fProgram, "components", true);
logComment("addDirectory components: " + err);
err = addDirectory("", "0.1", "chrome", fProgram, "chrome", true);
logComment("addDirectory chrome: " + err);
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome", "xforms.jar"),
"content/xforms/");
if (err == SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
{
cancelInstall();
logComment("cancelInstall() due to error: "+err);
}
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);
var err = initInstall("Mozilla XForms", "XForms", "0.1");
logComment("initInstall: " + err);
var fProgram = getFolder("Program");
var srChrome = $SpaceRequired$:chrome;
var srComponents = $SpaceRequired$:components;
if (verifyDiskSpace(fProgram, srChrome + srComponents))
{
err = addDirectory("", "0.1", "components", fProgram, "components", true);
logComment("addDirectory components: " + err);
err = addDirectory("", "0.1", "chrome", fProgram, "chrome", true);
logComment("addDirectory chrome: " + err);
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome", "xforms.jar"),
"content/xforms/");
if (err == SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
{
cancelInstall();
logComment("cancelInstall() due to error: "+err);
}
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);