File:  [mozdev] / mozblog / install.js
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Fri Jun 25 06:00:42 2004 UTC (14 years, 8 months ago) by paullacourse
Branches: MAIN
CVS tags: HEAD
Changed AppName from discuss to Mozblog.

uninstall("Mozblog");

initInstall("Mozblog",'/Mike Lee/MozDiscuss','0.7.0.0');

var fldr = getFolder('Chrome');
setPackageFolder(fldr);

addFile('mozblog.jar');

var regfldr;
regfldr = getFolder(fldr,'mozblog.jar');
registerChrome(Install.CONTENT | DELAYED_CHROME, regfldr,'content/discuss/');
registerChrome(Install.LOCALE | DELAYED_CHROME, regfldr,'locale/en-US/discuss/');
registerChrome(Install.LOCALE | DELAYED_CHROME, regfldr,'locale/fr-FR/discuss/');

var err=getLastError();

if (err == SUCCESS){
  logComment('Installing Mozblog.');
  performInstall();
  refreshPlugins();
} else {
  logComment('Error installing Mozblog: ' + err);
  cancelInstall();
}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>