bug 386903 - remove xpinstall/packager from cvs, files that I missed the first time, r=bsmedberg
authorkairo@kairo.at
Tue, 10 Jul 2007 07:11:16 -0700
changeset 3293 259b3bfdb6a59604b8e7c70427d4e15a2be58b08
parent 3292 7d2ac61a10d1d36868cfc4be928022f9a05a1a48
child 3294 f163265235b6c7454fc901b609df2b68b6069c34
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg
bugs386903
milestone1.9a7pre
bug 386903 - remove xpinstall/packager from cvs, files that I missed the first time, r=bsmedberg
xpinstall/packager/common/createlocalizedini.pl
xpinstall/packager/common/extractproperties.pl
xpinstall/packager/common/share.t
xpinstall/packager/common/windows.t
xpinstall/packager/os2/Makefile.in
xpinstall/packager/os2/browser.jst
xpinstall/packager/os2/chatzilla.jst
xpinstall/packager/os2/config.it
xpinstall/packager/os2/deflenus.jst
xpinstall/packager/os2/editor.jst
xpinstall/packager/os2/inspector.jst
xpinstall/packager/os2/install.it
xpinstall/packager/os2/langenus.jst
xpinstall/packager/os2/mail.jst
xpinstall/packager/os2/makeall.pl
xpinstall/packager/os2/makecfgini.pl
xpinstall/packager/os2/makejs.pl
xpinstall/packager/os2/makeuninstallini.pl
xpinstall/packager/os2/makexpi.pl
xpinstall/packager/os2/mozilla-os2-stub-installer.jst
xpinstall/packager/os2/psm.jst
xpinstall/packager/os2/rdir.pl
xpinstall/packager/os2/redirect.it
xpinstall/packager/os2/reporter.jst
xpinstall/packager/os2/sroaming.jst
xpinstall/packager/os2/strip.cmd
xpinstall/packager/os2/uninstall.it
xpinstall/packager/os2/venkman.jst
xpinstall/packager/os2/xpcom.jst
xpinstall/packager/unix/Makefile.in
xpinstall/packager/unix/browser.jst
xpinstall/packager/unix/chatzilla.jst
xpinstall/packager/unix/config.it
xpinstall/packager/unix/deflenus.jst
xpinstall/packager/unix/deliver-static.pl
xpinstall/packager/unix/deliver.pl
xpinstall/packager/unix/editor.jst
xpinstall/packager/unix/inspector.jst
xpinstall/packager/unix/langende.jst
xpinstall/packager/unix/langengb.jst
xpinstall/packager/unix/langenus.jst
xpinstall/packager/unix/mail.jst
xpinstall/packager/unix/makeall.pl
xpinstall/packager/unix/makecfgini.pl
xpinstall/packager/unix/makejs.pl
xpinstall/packager/unix/makexpi.pl
xpinstall/packager/unix/psm.jst
xpinstall/packager/unix/reporter.jst
xpinstall/packager/unix/talkback.jst
xpinstall/packager/unix/venkman.jst
xpinstall/packager/unix/xpcom.jst
deleted file mode 100644
--- a/xpinstall/packager/common/createlocalizedini.pl
+++ /dev/null
@@ -1,109 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .ini file
-#             - ini file to extract localizable string from
-#
-#   ie: perl createp.pl config.ini
-#
-
-# Make sure there is at least 1 argument
-if($#ARGV < 0)
-{
-  die "usage: $0 <.properties file>
-
-       .properties file : input properties file
-       \n";
-}
-
-$inFile = $ARGV[0];
-$previousSection;
-$section;
-
-# Get the name of the file replacing the .it extension with a .properties extension
-@inFileSplit = split(/\./,$inFile);
-$outFile     = $inFileSplit[0];
-$outFile    .= "_localized.ini";
-
-# Open the input file
-open(fpIn, $inFile) || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOut, ">$outFile") || die "\nCould not open $outFile: $!\n";
-
-print "\n Making $outFile...\n";
-
-# While loop to read each line from input file
-while($line = <fpIn>)
-{
-    chop($line);
-    @splitByEqualSign = split(/\=/, $line);
-    $sectionWithKey   = $splitByEqualSign[0];
-    $value            = $splitByEqualSign[1];
-
-    @splitBySectionDeliminator = split(/ - /, $sectionWithKey);
-    $section                   = $splitBySectionDeliminator[0];
-    $key                       = $splitBySectionDeliminator[1];
-
-    if($previousSection eq $section)
-    {
-      print fpOut "$key=$value\n";
-    }
-    else
-    {
-      print fpOut "\n[$section]\n";
-      print fpOut "$key=$value\n";
-    }
-
-    $previousSection = $section;
-}
-
-print fpOut "\n";
-close(fpOut);
-print " done!\n";
-
-# end of script
-exit(0);
-
deleted file mode 100644
--- a/xpinstall/packager/common/extractproperties.pl
+++ /dev/null
@@ -1,101 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .ini file
-#             - ini file to extract localizable string from
-#
-#   ie: perl createp.pl config.ini
-#
-
-# Make sure there is at least 1 argument
-if($#ARGV < 0)
-{
-  die "usage: $0 <.ini file>
-
-       .ini file : input ini file
-       \n";
-}
-
-$inFile = $ARGV[0];
-
-$currentSection;
-
-# Get the name of the file replacing the .it extension with a .properties extension
-@inFileSplit = split(/\./,$inFile);
-$outFile        = $inFileSplit[0];
-$outFile       .= ".properties";
-
-# Open the input file
-open(fpIn, $inFile) || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOut, ">$outFile") || die "\nCould not open $outFile: $!\n";
-
-print "\n Making $outFile...\n";
-
-# While loop to read each line from input file
-while($line = <fpIn>)
-{
-  if($line =~ /^\[/)
-  {
-    chop($line);
-    @splitMe = split(/\[/,$line);
-    $currentSection = $splitMe[1];
-    chop($currentSection);
-  }
-  elsif($line =~ /\*\*\* LOCALIZE ME BABY \*\*\*/i)
-  {
-    $line = <fpIn>;
-    chop($line);
-
-    print fpOut "$currentSection - $line\n";
-  }
-}
-
-print " done!\n";
-
-# end of script
-exit(0);
-
deleted file mode 100644
--- a/xpinstall/packager/common/share.t
+++ /dev/null
@@ -1,97 +0,0 @@
-// this function verifies disk space in kilobytes
-function verifyDiskSpace(dirPath, spaceRequired)
-{
-  var spaceAvailable;
-
-  // Get the available disk space on the given path
-  spaceAvailable = fileGetDiskSpaceAvailable(dirPath);
-
-  // Convert the available disk space into kilobytes
-  spaceAvailable = parseInt(spaceAvailable / 1024);
-
-  // do the verification
-  if(spaceAvailable < spaceRequired)
-  {
-    logComment("Insufficient disk space: " + dirPath);
-    logComment("  required : " + spaceRequired + " K");
-    logComment("  available: " + spaceAvailable + " K");
-    return(false);
-  }
-
-  return(true);
-}
-
-// this function deletes a file if it exists
-function deleteThisFile(dirKey, file)
-{
-  var fFileToDelete;
-
-  fFileToDelete = getFolder(dirKey, file);
-  logComment("File to delete: " + fFileToDelete);
-  if(File.isFile(fFileToDelete))
-  {
-    File.remove(fFileToDelete);
-    return(true);
-  }
-  else
-    return(false);
-}
-
-// this function deletes a folder if it exists
-function deleteThisFolder(dirKey, folder, recursiveDelete)
-{
-  var fToDelete;
-
-  if(typeof recursiveDelete == "undefined")
-    recursiveDelete = true;
-
-  fToDelete = getFolder(dirKey, folder);
-  logComment("folder to delete: " + fToDelete);
-  if(File.isDirectory(fToDelete))
-  {
-    File.dirRemove(fToDelete, recursiveDelete);
-    return(true);
-  }
-  else
-    return(false);
-}
-
-// OS type detection
-// which platform?
-function getPlatform()
-{
-  var platformStr;
-  var platformNode;
-
-  if('platform' in Install)
-  {
-    platformStr = new String(Install.platform);
-
-    if (!platformStr.search(/^Macintosh/))
-      platformNode = 'mac';
-    else if (!platformStr.search(/^Win/))
-      platformNode = 'win';
-    else if (!platformStr.search(/^OS\/2/))
-      platformNode = 'win';
-    else
-      platformNode = 'unix';
-  }
-  else
-  {
-    var fOSMac  = getFolder("Mac System");
-    var fOSWin  = getFolder("Win System");
-
-    logComment("fOSMac: "  + fOSMac);
-    logComment("fOSWin: "  + fOSWin);
-
-    if(fOSMac != null)
-      platformNode = 'mac';
-    else if(fOSWin != null)
-      platformNode = 'win';
-    else
-      platformNode = 'unix';
-  }
-
-  return platformNode;
-}
-
deleted file mode 100644
--- a/xpinstall/packager/common/windows.t
+++ /dev/null
@@ -1,55 +0,0 @@
-function updateWinReg4Ren8dot3() 
-{
-  var fProgram      = getFolder("Program");
-  var fTemp         = getFolder("Temporary");
-
-  //Notes:
-  // can't use a double backslash before subkey - Windows already puts it in.			
-  // subkeys have to exist before values can be put in.
-  var subkey;  // the name of the subkey you are poking around in
-  var valname; // the name of the value you want to look at
-  var value;   // the data in the value you want to look at.
-  var winreg = getWinRegistry() ;
-
-  if(winreg != null) 
-  {
-    // Here, we get the current version.
-    winreg.setRootKey(winreg.HKEY_CURRENT_USER) ;  // CURRENT_USER
-    subkey  = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce" ;
-
-    winreg.createKey(subkey,"");
-    valname = "ren8dot3";
-    value   = fProgram + "ren8dot3.exe " + fTemp + "ren8dot3.ini";
-    err     = winreg.setValueString(subkey, valname, value);
-  }
-}
-
-function prepareRen8dot3(listLongFilePaths)
-{
-  var fTemp                 = getFolder("Temporary");
-  var fProgram              = getFolder("Program");
-  var fRen8dot3Ini          = getWinProfile(fTemp, "ren8dot3.ini");
-  var bIniCreated           = false;
-  var fLongFilePath;
-  var sShortFilePath;
-
-  if(fRen8dot3Ini != null)
-  {
-    for(i = 0; i < listLongFilePaths.length; i++)
-    {
-      fLongFilePath   = getFolder(fProgram, listLongFilePaths[i]);
-      sShortFilePath  = File.windowsGetShortName(fLongFilePath);
-      if(sShortFilePath)
-      {
-        fRen8dot3Ini.writeString("rename", sShortFilePath, fLongFilePath);
-        bIniCreated = true;
-      }
-    }
-
-    if(bIniCreated)
-      updateWinReg4Ren8dot3() ;
-  }
-
-  return(0);
-}
-
deleted file mode 100644
--- a/xpinstall/packager/os2/Makefile.in
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   leaf nunes <leaf@mozilla.org>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH		= ../../..
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-ifdef CYGDRIVE_MOUNT
-OBJDIR          = $(shell cygpath -t mixed -ai $(DEPTH))
-else
-OBJDIR		= $(shell cd $(DEPTH) && pwd)
-endif
-
-include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
-
-MODULE		= xpinstall
-
-STUB_NAME = $(PKG_BASENAME).stub-installer
-SEA_NAME  = $(PKG_BASENAME).installer
-
-ifeq (,$(INSTALLER_URL))
-INSTALLER_URL = "http://ftp.mozilla.org/pub/mozilla.org/pub/seamonkey/nightly/latest-trunk/os2-xpi"
-endif
-
-include $(topsrcdir)/config/config.mk
-
-installer: $(srcdir)/$(STUB_NAME).jst
-	$(PERL) $(srcdir)/makeall.pl -aurl $(INSTALLER_URL) -objdir $(OBJDIR) \
-                -instname $(SEA_NAME) -stubname $(STUB_NAME)
-
-include $(topsrcdir)/config/rules.mk
-
-$(srcdir)/$(STUB_NAME).jst: mozilla-os2-stub-installer.jst
-	sed -e "s|seamonkey-os2-stub-installer|$(STUB_NAME)|" $^ > $@
-
deleted file mode 100644
--- a/xpinstall/packager/os2/browser.jst
+++ /dev/null
@@ -1,255 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files and generated files that
-  // need to be cleaned up.
-  deleteThisFile("Components", "ucvja.dll");
-  deleteThisFile("Components", "ucvko.dll");
-  deleteThisFile("Components", "ucvtw.dll");
-  deleteThisFile("Components", "ucvtw2.dll");
-  deleteThisFile("Components", "ucvlatin.dll");
-  deleteThisFile("Components", "ucvcn.dll");
-  deleteThisFile("Components", "ucvibm.dll");
-  deleteThisFile("Components", "txtsvc.dll");
-  deleteThisFile("Components", "gfx2.dll");
-  deleteThisFile("Components", "gfx2.xpt");
-  deleteThisFile("Components", "ucharuti.dll");
-  deleteThisFile("Components", "chardet.dll");
-  deleteThisFile("Components", "lwbrk.dll");
-  deleteThisFile("Components", "nslocale.dll");
-  deleteThisFile("Components", "strres.dll");
-  deleteThisFile("Components", "imggif.dll");
-  deleteThisFile("Components", "imgjpeg.dll");
-  deleteThisFile("Components", "imgpng.dll");
-  deleteThisFile("Components", "imgbmp.dll");
-  deleteThisFile("Components", "imgxbm.dll");
-  deleteThisFile("Components", "imgppm.dll");
-  deleteThisFile("Components", "imgmng.dll");
-  deleteThisFile("Components", "nkcache.dll");
-  deleteThisFile("Components", "mozbrwsr.dll");
-  deleteThisFile("Components", "jsloader.dll");
-  deleteThisFile("Components", "gkcontnt.dll");
-  deleteThisFile("Components", "t8iix.dll");
-  deleteThisFile("Components", "urildr.dll");
-  deleteThisFile("Components", "jsurl.dll");
-  deleteThisFile("Components", "gkview.dll");
-  deleteThisFile("Components", "shistory.dll");
-  deleteThisFile("Components", "gkhtml.dll");
-  deleteThisFile("Components", "regviewr.dll");
-  deleteThisFile("Components", "jsdom.dll");
-  deleteThisFile("Components", "inspectr.dll");
-  deleteThisFile("Chrome",     "chrome.rdf");
-  deleteThisFile("Chrome",     "overlays.rdf");
-  deleteThisFile("Chrome",     "stylesheets.rdf");
-  deleteThisFolder("Chrome",   "overlayinfo");
-  deleteThisFolder("Components","myspell");
-
-  deleteThisFile("Components", "accessibility.xpt");
-  deleteThisFile("Components", "appshell.xpt");
-  deleteThisFile("Components", "autocomplete.xpt");
-  deleteThisFile("Components", "autoconfig.xpt");
-  deleteThisFile("Components", "bookmarks.xpt");
-  deleteThisFile("Components", "caps.xpt");
-  deleteThisFile("Components", "chardet.xpt");
-  deleteThisFile("Components", "chrome.xpt");
-  deleteThisFile("Components", "commandhandler.xpt");
-  deleteThisFile("Components", "composer.xpt");
-  deleteThisFile("Components", "content_base.xpt");
-  deleteThisFile("Components", "content_html.xpt");
-  deleteThisFile("Components", "content_htmldoc.xpt");
-  deleteThisFile("Components", "content_xmldoc.xpt");
-  deleteThisFile("Components", "content_xslt.xpt");
-  deleteThisFile("Components", "cookie.xpt");
-  deleteThisFile("Components", "directory.xpt");
-  deleteThisFile("Components", "docshell.xpt");
-  deleteThisFile("Components", "dom.xpt");
-  deleteThisFile("Components", "dom_base.xpt");
-  deleteThisFile("Components", "dom_core.xpt");
-  deleteThisFile("Components", "dom_css.xpt");
-  deleteThisFile("Components", "dom_events.xpt");
-  deleteThisFile("Components", "dom_html.xpt");
-  deleteThisFile("Components", "dom_offline.xpt");
-  deleteThisFile("Components", "dom_range.xpt");
-  deleteThisFile("Components", "dom_stylesheets.xpt");
-  deleteThisFile("Components", "dom_traversal.xpt");
-  deleteThisFile("Components", "dom_views.xpt");
-  deleteThisFile("Components", "dom_xbl.xpt");
-  deleteThisFile("Components", "dom_xpath.xpt");
-  deleteThisFile("Components", "dom_xul.xpt");
-  deleteThisFile("Components", "downloadmanager.xpt");
-  deleteThisFile("Components", "editor.xpt");
-  deleteThisFile("Components", "embed_base.xpt");
-  deleteThisFile("Components", "exthandler.xpt");
-  deleteThisFile("Components", "find.xpt");
-  deleteThisFile("Components", "gfx.xpt");
-  deleteThisFile("Components", "helperAppDlg.xpt");
-  deleteThisFile("Components", "history.xpt");
-  deleteThisFile("Components", "imgicon.xpt");
-  deleteThisFile("Components", "imglib2.xpt");
-  deleteThisFile("Components", "intl.xpt");
-  deleteThisFile("Components", "jar.xpt");
-  deleteThisFile("Components", "jsdservice.xpt");
-  deleteThisFile("Components", "jsurl.xpt");
-  deleteThisFile("Components", "layout_base.xpt");
-  deleteThisFile("Components", "layout_printing.xpt");
-  deleteThisFile("Components", "layout_xul.xpt");
-  deleteThisFile("Components", "layout_xul_tree.xpt");
-  deleteThisFile("Components", "locale.xpt");
-  deleteThisFile("Components", "mimetype.xpt");
-  deleteThisFile("Components", "mozbrwsr.xpt");
-  deleteThisFile("Components", "mozfind.xpt");
-  deleteThisFile("Components", "mozldap.xpt");
-  deleteThisFile("Components", "necko.xpt");
-  deleteThisFile("Components", "necko_about.xpt");
-  deleteThisFile("Components", "necko_cache.xpt");
-  deleteThisFile("Components", "necko_cookie.xpt");
-  deleteThisFile("Components", "necko_data.xpt");
-  deleteThisFile("Components", "necko_dns.xpt");
-  deleteThisFile("Components", "necko_file.xpt");
-  deleteThisFile("Components", "necko_ftp.xpt");
-  deleteThisFile("Components", "necko_http.xpt");
-  deleteThisFile("Components", "necko_jar.xpt");
-  deleteThisFile("Components", "necko_res.xpt");
-  deleteThisFile("Components", "necko_socket.xpt");
-  deleteThisFile("Components", "necko_strconv.xpt");
-  deleteThisFile("Components", "necko_viewsource.xpt");
-  deleteThisFile("Components", "oji.xpt");
-  deleteThisFile("Components", "p3p.xpt");
-  deleteThisFile("Components", "pref.xpt");
-  deleteThisFile("Components", "prefmigr.xpt");
-  deleteThisFile("Components", "profile.xpt");
-  deleteThisFile("Components", "progressDlg.xpt");
-  deleteThisFile("Components", "proxyObjInst.xpt");
-  deleteThisFile("Components", "rdf.xpt");
-  deleteThisFile("Components", "related.xpt");
-  deleteThisFile("Components", "search.xpt");
-  deleteThisFile("Components", "shistory.xpt");
-  deleteThisFile("Components", "sidebar.xpt");
-  deleteThisFile("Components", "signonviewer.xpt");
-  deleteThisFile("Components", "timebomb.xpt");
-  deleteThisFile("Components", "txmgr.xpt");
-  deleteThisFile("Components", "txtsvc.xpt");
-  deleteThisFile("Components", "typeaheadfind.xpt");
-  deleteThisFile("Components", "suitetypeaheadfind.xpt");
-  deleteThisFile("Components", "uconv.xpt");
-  deleteThisFile("Components", "unicharutil.xpt");
-  deleteThisFile("Components", "uriloader.xpt");
-  deleteThisFile("Components", "urlbarhistory.xpt");
-  deleteThisFile("Components", "util.xpt");
-  deleteThisFile("Components", "wallet.xpt");
-  deleteThisFile("Components", "walleteditor.xpt");
-  deleteThisFile("Components", "walletpreview.xpt");
-  deleteThisFile("Components", "webbrowserpersist.xpt");
-  deleteThisFile("Components", "webBrowser_core.xpt");
-  deleteThisFile("Components", "webshell_idls.xpt");
-  deleteThisFile("Components", "websrvcs.xpt");
-  deleteThisFile("Components", "widget.xpt");
-  deleteThisFile("Components", "windowds.xpt");
-  deleteThisFile("Components", "windowwatcher.xpt");
-  deleteThisFile("Components", "xml-rpc.xpt");
-  deleteThisFile("Components", "xmlextras.xpt");
-  deleteThisFile("Components", "xpautocomplete.xpt");
-  deleteThisFile("Components", "xpcom_base.xpt");
-  deleteThisFile("Components", "xpcom_components.xpt");
-  deleteThisFile("Components", "xpcom_ds.xpt");
-  deleteThisFile("Components", "xpcom_io.xpt");
-  deleteThisFile("Components", "xpcom_threads.xpt");
-  deleteThisFile("Components", "xpcom_xpti.xpt");
-  deleteThisFile("Components", "xpconnect.xpt");
-  deleteThisFile("Components", "xpinstall.xpt");
-  deleteThisFile("Components", "xuldoc.xpt");
-  deleteThisFile("Components", "xultmpl.xpt");
-  deleteThisFile("Program", "ldap50.dll");
-  deleteThisFile("Program", "prldap50.dll");
-}
-
-// main
-var srDest;
-var err;
-var fProgram;
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("$ProductName$", "Browser", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram  = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  setPackageFolder(fProgram);
-
-  upgradeCleanup();
-  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() of Program returned: " + err);
-
-  // check return value
-  if( err == SUCCESS )
-  {
-    // register chrome
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","toolkit.jar"),"content/global-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/communicator-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/navigator-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","toolkit.jar"),"content/global/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","toolkit.jar"),"content/global-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/autoconfig/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/cookie/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/wallet/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/communicator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/communicator/downloadmanager/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/communicator-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/branding/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/editor/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/editor-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/navigator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/navigator-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/necko/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/mozldap/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","classic.jar"),"skin/classic/communicator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","classic.jar"),"skin/classic/editor/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","classic.jar"),"skin/classic/global/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","classic.jar"),"skin/classic/messenger/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","classic.jar"),"skin/classic/navigator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","modern.jar"),"skin/modern/communicator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","modern.jar"),"skin/modern/editor/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","modern.jar"),"skin/modern/global/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","modern.jar"),"skin/modern/messenger/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","modern.jar"),"skin/modern/navigator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","help.jar"),"content/help/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","comm.jar"),"content/xbl-marquee/");
-
-    /* Log files that are created after the installer is done, so they can be uninstalled */
-    logComment("Installing: "    + fProgram + ".autoreg");
-    logComment("Installing: "    + fProgram + "Xpcs Registry.dat");
-    logComment("Installing: "    + fProgram + "xpcom.log");
-    logComment("Create Folder: " + fProgram + "components");
-    logComment("Installing: "    + fProgram + "components\\xpti.dat");
-    logComment("Installing: "    + fProgram + "components\\xptitemp.dat");
-    logComment("Installing: "    + fProgram + "components\\compreg.dat");
-    logComment("Create Folder: " + fProgram + "chrome");
-    logComment("Installing: "    + fProgram + "chrome\\installed-chrome.txt");
-    logComment("Installing: "    + fProgram + "chrome\\chrome.rdf");
-    logComment("Installing: "    + fProgram + "chrome\\overlays.rdf");
-    logComment("Installing: "    + fProgram + "chrome\\stylesheets.rdf");
-
-    err = getLastError();
-    if (err == SUCCESS)
-    {
-      err = performInstall();
-      logComment("performInstall() returned: " + err);
-    }
-    else
-      cancelInstall(err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/os2/chatzilla.jst
+++ /dev/null
@@ -1,24 +0,0 @@
-var err = initInstall("Chatzilla v0.5", "Chatzilla", "$Version$"); 
-logComment("initInstall: " + err);
-
-addFile("Chatzilla service",
-        "bin/components/chatzilla-service.js",
-        getFolder("Components"),
-        "");
-
-addFile("Chatzilla Chrome",
-        "bin/chrome/chatzilla.jar", // jar source folder 
-        getFolder("Chrome"),        // target folder
-        "");                        // target subdir 
-
-registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/");
-registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/sm/");
-registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "skin/modern/chatzilla/");
-registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "locale/en-US/chatzilla/");
-
-err = getLastError();
-if (err==SUCCESS)
-    performInstall(); 
-else
-    cancelInstall(err);
-
deleted file mode 100644
--- a/xpinstall/packager/os2/config.it
+++ /dev/null
@@ -1,897 +0,0 @@
-[General]
-; Run Mode values:
-;   Normal - Shows all dialogs.  Requires user input.
-;   Auto   - Shows some dialogs, but none requiring user input.  It will
-;            automatically install the product using default values.
-;   Silent - Show no dialogs at all.  It will install product using default
-;            values.
-Run Mode=Normal
-
-Company Name=$CompanyName$
-Product Name=$ProductName$
-Product NameInternal=$ProductName$
-User Agent=$UserAgent$
-
-; Destination Path values:
-;   OS2DISK
-;   OS2DIR
-;   OS2SYSDIR
-Path=[OS2DISK]\$CompanyName$\$ProductName$
-
-; Sub Path, when set will indicate to Setup to create a subfolder from
-; what is offered to the user to change.  It will not be shown to the user
-; but simply created:
-;
-; ie: shown to user   : [Path]
-;     actually created: [Path]\[Sub Path]
-;     (where [Path] is the Path= key above)
-Sub Path=
-
-; Controls the Browse button that allows the user to 
-; change the destination path of the product.
-; Default value is FALSE;
-Lock Path=FALSE
-
-Program Name=$MainExeFile$
-
-; Program Folder Path values:
-;   STARTUP
-;   DESKTOP
-;   WARPCENTER
-Program Folder Name=$ProductName$
-Program Folder Path=[DESKTOP]
-
-Uninstall Filename=$UninstallFile$
-
-; This key is used as a fail over key.  This url will be used when the
-; url in the Site Selector fails.
-url=$ArchiveUrl$
-
-; Default Setup Type values:
-;   Setup Type 0 - first radio button (default)
-;   Setup Type 1 - second radio button
-;   Setup Type 2 - third radio button
-;   Setup Type 3 - fourth radio button (usually the Custom option)
-Default Setup Type=Setup Type 1
-
-; This section contains info on how to send error information in case of
-; either a download or xpinstall error.
-; By default, this feature is enabled, unless disabled.
-[Message Stream]
-; Values:
-;   Enabled
-;   Disabled
-;   default is Enabled.
-Status=Disabled
-
-; URL to cgi script to send error information to.  The information will
-; be appended to the url in the form of parameters to the cgi script.
-url=http://orb.mcom.com/install/error.cgi
-
-; Indicates whether to show a confirmation dialog or not.  If this
-; dialog is not shown, the error information will be *automatically*
-; sent without any indication to the user unless the Status= is set
-; to Disabled.
-;
-; Default value is TRUE if nothing is set.
-Show Confirmation=TRUE
-Confirmation Message=There was an error encountered during installation of $ProductName$.  The following information will be sent back to us to help us improve the product: %s
-
-
-
-; App:               valid decryptable setup app is [Product CurrentVersion] or [Product PreviousVersion]
-; Decrypt App:       there are times when '[' and ']' are valid part of OS/2 INI app names.
-; Contains Filename: tells setup that the path contains filename needed to be removed before
-;                    using it as a path.
-; Verify Existence:  FILE or PATH
-;
-[Locate Previous Product Path0]
-App=[Product CurrentVersion]
-Key=Install Directory
-Decrypt App=TRUE
-Contains Filename=FALSE
-Verify Existence=
-
-; This version allows previous product path to be found from an arbitrary INI file
-; This was used by IBM Web Browser to locate installs from previous installers
-;[Locate Previous Product Path1]
-;INI=[OS2SYSDIR]\EPFIS.INI
-;Decrypt INI=TRUE
-;App=EPFINST_IBM Web Browser for OS/2_0000-000_0000
-;Key=FilePath
-;Contains Filename=FALSE
-;Verify Existence=
-
-[Dialog Welcome]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Welcome
-;*** LOCALIZE ME BABY ***
-Message0=Welcome to %s Setup.  You are about to install %s version $Version$.
-;*** LOCALIZE ME BABY ***
-Message1=It is strongly recommended that you exit all OS/2 programs before running this Setup program.
-;*** LOCALIZE ME BABY ***
-Message2=Click Cancel to quit Setup and then close any programs you have running.  Click Next to continue the Setup program.
-
-[Dialog License]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Software License Agreement
-License File=license.txt
-;*** LOCALIZE ME BABY ***
-Message0=Please read the following license agreement.  Use the scroll bar to view the rest of this agreement.
-;*** LOCALIZE ME BABY ***
-Message1=Click Accept if you accept the terms of the preceeding license agreement.  If Decline is clicked, setup will quit.
-
-[Dialog Setup Type]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Setup Type
-;*** LOCALIZE ME BABY ***
-Message0=Click the type of setup you prefer, then click Next.
-Readme Filename=readme.txt
-Readme App=e.exe
-
-; at least one Setup Type needs to be set, and up to 4 can be
-; set (Setup Type0, Setup Type1, Setup Type2, Setup Type3).
-[Setup Type0]
-;*** LOCALIZE ME BABY ***
-Description Short=Bro~wser only
-;*** LOCALIZE ME BABY ***
-Description Long=Program will be installed with the minimal options.
-
-; List of components to install/enable for this Setup Type.
-; All other components not listed here will be disabled if
-; this Setup Type is selected.
-C0=Component XPCOM
-C1=Component Navigator
-C2=Component PSM
-C3=Component US English Profile Defaults
-C4=Component En US lang pack
-C5=Component Uninstaller
-; Make sure Component QFA is LAST so 3rd party developers who might not want
-; this component can easily remove it.
-;C6=Component QFA
-
-[Setup Type1]
-;*** LOCALIZE ME BABY ***
-Description Short=C~omplete
-;*** LOCALIZE ME BABY ***
-Description Long=Program will be installed with all the options available.
-
-; List of components to install/enable for this Setup Type.
-; All other components not listed here will be disabled if
-; this Setup Type is selected.
-C0=Component XPCOM
-C1=Component Navigator
-C2=Component MailNews
-C3=Component PSM
-C4=Component Chatzilla
-C5=Component Venkman
-C6=Component US English Profile Defaults
-C7=Component En US lang pack
-C8=Component DOM Inspector
-C9=Component Uninstaller
-; Make sure Component QFA is LAST so 3rd party developers who might not want
-; this component can easily remove it.
-;C11=Component QFA
-C10=Component RPT
-C11=Component SRoaming
-
-[Setup Type2]
-;*** LOCALIZE ME BABY ***
-Description Short=C~ustom
-;*** LOCALIZE ME BABY ***
-Description Long=You may choose the options you want to install.  Recommended for advanced users only.
-;Description Short=~Pro
-;Description Long=Program will be installed with all the options available.
-
-; List of components to install/enable for this Setup Type.
-; All other components not listed here will be disabled if
-; this Setup Type is selected.
-C0=Component XPCOM
-C1=Component Navigator
-C2=Component MailNews
-C3=Component PSM
-C4=Component Chatzilla
-C5=Component Venkman
-C6=Component US English Profile Defaults
-C7=Component En US lang pack
-C8=Component DOM Inspector
-C9=Component Uninstaller
-; Make sure Component QFA is LAST so 3rd party developers who might not want
-; this component can easily remove it.
-;C11=Component QFA
-C10=Component RPT
-C11=Component SRoaming
-
-
-
-[Dialog Select Components]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Components
-;*** LOCALIZE ME BABY ***
-Message0=The browser is always installed.  Select or clear the additional components you want to install.
-
-[Dialog Select Additional Components]
-Show Dialog=FALSE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Additional Components
-;*** LOCALIZE ME BABY ***
-Message0=Select or clear the additional components you want to install.
-
-[Dialog OS/2 Integration]
-Show Dialog=TRUE
-Title=$ProductName$ Setup - OS/2 Integration
-Message0=Check the options you would like Setup to perform.
-Message1=These settings allow you to set default operating system preferences for browsing.
-
-; Only a maximum of 4 OS/2 Integration-Items are allowed.  Each Item
-; shows up as a checkbox in the OS/2 Integration dialog.
-[OS/2 Integration-Item0]
-CheckBoxState=FALSE
-Description=Make $ProductName$ my default Internet browser
-Archive=
-
-[OS/2 Integration-Item1]
-CheckBoxState=FALSE
-Description=Associate HTML files with $ProductName$
-Archive=
-
-[OS/2 Integration-Item2]
-CheckBoxState=FALSE
-Description=Update CONFIG.SYS
-Archive=
-
-[Dialog Additional Options]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Additional Options
-;*** LOCALIZE ME BABY ***
-Message1=Select the following option if you wish to save downloaded Setup files on your own computer.  This allows you to re-run Setup without downloading the files again.  The Setup files will be saved to the path below.
-Save Installer=
-; The following settings control whether the Recapture Homepage checkbox is displayed.
-;    For this option to work the file nsResetPref.js must be installed into the 
-;    components directory
-Message0=The following checkbox gives users the option of reverting to
-the default home page
-Show Homepage Option=FALSE
-Recapture Homepage=FALSE
-
-[Dialog Advanced Settings]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Advanced Settings
-;*** LOCALIZE ME BABY ***
-Message0=If your Internet connection requires a proxy server, enter your server name and port information.  If your Internet connection doesn't require a proxy server, leave the fields blank.
-Proxy Server=
-Proxy Port=
-Proxy User=
-Proxy Password=
-; Use Protocol accepts only two options:
-;   FTP
-;   HTTP
-; Default is FTP if key is not set.
-Use Protocol=HTTP
-; Use Protocol Settings key shows or hides the
-; Use FTP/Use HTTP radio buttons in the Download Dialog.
-; Default value is ENABLED unless DISABLED is specified.
-Use Protocol Settings=ENABLED
-; Controls the radio buttons visibility
-; Default value is TRUE
-Show Protocols=TRUE
-
-[Dialog Quick Launch]
-Show Dialog=FALSE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Quick Launch
-;*** LOCALIZE ME BABY ***
-Message0=Quick Launch starts $ProductName$ faster by keeping portions of the program in computer memory.
-;*** LOCALIZE ME BABY ***
-Message1=You can access Quick Launch through the icon on the Windows taskbar tray.
-;*** LOCALIZE ME BABY ***
-Message2=Check the box below to activate Quick Launch when you restart your computer.
-; Turbo Mode (Quick Launch) values: TRUE, FALSE
-; Defaults to FALSE if not set
-Turbo Mode=FALSE
-; Turbo Mode Settings value: TRUE, FALSE
-; Defaults to FALSE if not set.
-; This will hide the turbo mode checkbox in the Start Install dialog
-; and ignore the Turbo Mode= key, thus disabling it.
-Turbo Mode Enabled=TRUE
-
-[Dialog Start Install]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Start Install
-;*** LOCALIZE ME BABY ***
-Message Install=Setup has enough information to start copying the program files.  If you want to review or change settings, click Back.  If you are satisfied with the current settings, click Install to begin copying files.
-;*** LOCALIZE ME BABY ***
-Message Download=Setup has enough information to start downloading and copying the program files.  If you want to review or change settings, click Back.  If you are satisfied with the current settings, make sure you are currently connected to the internet and click Install to begin downloading files.
-
-[Dialog Download]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Download
-;*** LOCALIZE ME BABY ***
-Message Download0=Setup is downloading the required files now.  This may take some time depending on your network connection speed.
-;*** LOCALIZE ME BABY ***
-Message Retry0=Some files have failed the CRC check and are being downloaded again.  Only those files that have failed will be downloaded.
-
-[Dialog Reboot]
-; Show Dialog values are:
-;   TRUE  - Always show
-;   FALSE - Don't show unless at least one component has its reboot show value set
-;           to TRUE.  This will not show even if some files were in use and a reboot
-;           is necessary.
-;   AUTO  - Don't show unless a component has its reboot show value set to
-;           TRUE or there was at least one file in use and a reboot is
-;           is required for the file to be replaced correctly.
-Show Dialog=AUTO
-
-[Check Instance0]
-; If you create your own product, make sure to change this name to something else
-Class Name=SeaMonkeyMessageWindow
-Window Name=
-;*** LOCALIZE ME BABY ***
-Message=Download of $ProductName$ was successful. $ProductNameNoVersion$ must be closed to proceed with installation. Click OK to exit $ProductNameNoVersion$ automatically and to begin installation.
-;*** LOCALIZE ME BABY ***
-Message Full Installer=$ProductNameNoVersion$ must be closed to proceed with installation. Click OK to exit $ProductNameNoVersion$ automatically and to begin installation.
-
-; This key indicates whether or not to close all the windows associated with
-; the process id of this app instance window found.
-Close All Process Windows=TRUE
-
-; This parameter provides the information needed to shut down turbo mode
-Extra Cmd0 Parameter=-kill
-
-[Check Instance1]
-Process Name=mozturbo.exe
-Extra Cmd0 Parameter=-u
-;*** LOCALIZE ME BABY ***
-Message=Unable to close mozturbo.exe. Please press OK to try again. If this problem persists, press the Cancel button and close mozturbo.exe manually. To do this, go to the directory where $ProductName$ is installed and type 'mozturbo -u'.
-
-[Component XPCOM]
-Description Short=XPCOM
-;*** LOCALIZE ME BABY ***
-Description Long=Install Engine
-Archive=xpcom.xpi
-$InstallSize$:xpcom
-$InstallSizeArchive$:xpcom.xpi
-;
-;DependeeX=Component A means
-;  - if Component A gets checked this component gets checked
-;  - if Component A gets unchecked this component gets unchecked
-;  - if this component is visible it can still be checked/unchecked
-;      independantly after Component A has changed its state.  I.e
-;      this components checkbox will not be disabled or hidden.
-;Dependee0=
-;
-;DependencyX= is not supported at this time. 
-;Dependency0=
-;
-; Attributes can be the following values:
-;
-;   The following Attributes can be overridden:
-;   ------------------------------------------
-;
-;   SELECTED      - Component is selected to be installed by default.
-;
-;   UNSELECTED    - Component is to be displayed unselected in the Options
-;                   dialog.  If the component is listed in the non-custom
-;                   Setup Type section, it will be assumed to be selected
-;                   by default.
-;
-;   ADDITIONAL    - Component is to be shown in the Additional Options
-;                   dialog (2nd Options dialog) instead of the 1st Options
-;                   dialog.
-;
-;   NOTADDITIONAL - Component will be shown (if visible) in the 1st
-;                   1st Options dialog rather than the Additional Options
-;                   dialog (default).
-;
-;   VISIBLE       - Component is shown in one of the two Options dialogs
-;                   (default).
-;
-;   INVISIBLE     - Component is not shown in either of the two Options dialogs.
-;
-;   ENABLED       - Component is to be shown as enabled (not greyed out) in
-;                   either of the two Options dialogs.
-;                   (default).
-;
-;   DISABLED      - Component is to be shown as disabled (greyed out) in
-;                   either of two Options dialog.
-;
-;
-;   The following attributes cannot be overridden:
-;   ---------------------------------------------
-;
-;   LAUNCHAPP     - Component is downloaded and simply run (like a .exe file)
-;                   after all the components have been downloaded and
-;                   xpinstall'ed.
-;
-;   DOWNLOAD_ONLY - Component is to be only downloaded to the ns_temp folder,
-;                   then deleted as Setup is quitting.
-;
-;   FORCE_UPGRADE - Force Upgrade checks for a particular file or directory
-;                   provided in the Force Upgrade FileX= key(s).  If any of
-;                   the listed file or directory exists, then this component
-;                   will have its SELECTED and DISABLED Attributes set
-;                   automatically.  Force Upgrade will override the following:
-;
-;                       Random Install Percentage= setting
-;                       UNSELECTED Attribute setting
-;                       Dependency settings
-;                       Dependee settings
-;                       Setup Type settings - meaning that even if this
-;                                             component is not listed in the
-;                                             selected Setup Type, it will be
-;                                             affected.
-;
-;   IGNORE_DOWNLOAD_ERROR  - If the component needs to be downloaded from a
-;                            server, setting this attribute will indicate that
-;                            any download error encountered will be ignored
-;                            and treated as if there were no error.
-;                            If the component does not need to be downloaded,
-;                            then this attribute has no effect.
-;
-;   IGNORE_XPINSTALL_ERROR - If the component is a .xpi file, then any error
-;                            resulting from the installation of the .xpi file
-;                            will be ignored.  If the .xpi file is not to be
-;                            installed, then this attribute is ignored.
-;
-;   SUPERSEDE     - Component is to be shown as disabled and unselected
-;                   if a file exists.
-;                   Use SupersedeType=File Exists to specify the type of comparison
-;                   Use SupersedeFileX=File Name to specify the file
-;
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\xpcom.dll
-
-[Component Navigator]
-Description Short=Navigator
-;*** LOCALIZE ME BABY ***
-Description Long=for web browsing
-Archive=browser.xpi
-$InstallSize$:browser
-$InstallSizeArchive$:browser.xpi
-Attributes=SELECTED|DISABLED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\$MainExeFile$
-
-
-[Component MailNews]
-Description Short=Mail & Newsgroups
-;*** LOCALIZE ME BABY ***
-Description Long=for reading email and newsgroups
-Archive=mail.xpi
-$InstallSize$:mail
-$InstallSizeArchive$:mail.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\msgbsutl.dll
-
-
-[Component Uninstaller]
-Description Short=$CompanyName$ Uninstaller
-*** LOCALIZE ME BABY ***
-Description Long=Uninstaller for $ProductName$
-Archive=$UninstallFileZip$
-$InstallSize$:$UninstallFileZip$
-$InstallSizeArchive$:$UninstallFileZip$
-Attributes=SELECTED|INVISIBLE|DOWNLOAD_ONLY
-
-[Component Chatzilla]
-Description Short=Chatzilla
-;*** LOCALIZE ME BABY ***
-Description Long=for chatting on Internet Relay Chat(IRC)
-Archive=chatzilla.xpi
-$InstallSize$:chatzilla
-$InstallSizeArchive$:chatzilla.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\chatzilla.jar
-
-[Component Venkman]
-Description Short=Debugger
-;*** LOCALIZE ME BABY ***
-Description Long=for debugging JavaScript
-Archive=venkman.xpi
-$InstallSize$:venkman
-$InstallSizeArchive$:venkman.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\venkman.jar
-
-[Component DOM Inspector]
-Description Short=Inspector
-;*** LOCALIZE ME BABY ***
-Description Long=DOM Inspector
-Archive=inspector.xpi
-$InstallSize$:inspector
-$InstallSizeArchive$:inspector.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\inspector.jar
-
-[Component SRoaming]
-Description Short=Roaming
-;*** LOCALIZE ME BABY ***
-Description Long=Profile Roaming
-Archive=sroaming.xpi
-$InstallSize$:sroaming
-$InstallSizeArchive$:sroaming.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\sroaming.jar
-
-[Component US English Profile Defaults]
-Description Short=US English profile defaults
-;*** LOCALIZE ME BABY ***
-Description Long=US English profile defaults
-Archive=deflenus.xpi
-$InstallSize$:deflenus
-$InstallSizeArchive$:deflenus.xpi
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\defaults\profile\bookmarks.html
-
-[Component En US lang pack]
-;*** LOCALIZE ME BABY ***
-Description Short=English (US) language pack
-;*** LOCALIZE ME BABY ***
-Description Long=English (US) language pack
-Archive=langenus.xpi
-$InstallSize$:langenus
-$InstallSizeArchive$:langenus.xpi
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\en-US.jar
-
-[Component PSM]
-Description Short=Personal Security Manager
-;*** LOCALIZE ME BABY ***
-Description Long=for secure browsing and email; required for SSL(https) and S/MIME
-Archive=psm.xpi
-$InstallSize$:psm
-$InstallSizeArchive$:psm.xpi
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Components\pipnss.dll
-Force Upgrade File1=[SETUP PATH]\psm.exe
-
-[Component RPT]
-Description Short=Website Reporter
-;*** LOCALIZE ME BABY ***
-Description Long=Website Reporter
-Archive=reporter.xpi
-$InstallSize$:reporter
-$InstallSizeSystem$
-$InstallSizeArchive$:reporter.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\chrome\reporter.jar
-
-[Core]
-Source=[XPI PATH]\xpcom.xpi
-Destination=[WIZTEMP]\xpcom.ns
-$InstallSize$:xpcom
-Cleanup=TRUE
-;*** LOCALIZE ME BABY ***
-Message=Preparing Install, please wait...
-
-[Redirect]
-Status=Disabled
-; This is used in conjunction with the Site Selector info to build a
-; url to where to download the needed redirect.ini file from.
-; If there's more than one server path, they will be used as fail
-; over paths.
-;
-; The Server Path= keys need to be named in the following convention:
-;
-;   Server Path0=
-;   Server Path1=
-;   Server Path2=
-;
-; and so on...
-Server Path=redirect.ini
-;*** LOCALIZE ME BABY ***
-Description=Redirect File
-Message=
-
-
-; The Timing key needs to be one of the following values:
-;   pre download     - process before any files have been downloaded.
-;   post download    - process after all files have been downloaded.
-;   pre xpcom        - process before the xpcom file has been uncompressed.
-;   post xpcom       - process after the xpcom file has been uncompressed.
-;   pre smartupdate  - process before the smartupdate engine has been launched.
-;   post smartupdate - process after the smartupdate engine has been launched.
-;   pre launchapp    - process before the launching of executables.
-;   post launchapp   - process after the launching of executables.
-;   pre archive      - process before the launching of each individual archive file.
-;   post archive     - process after the launching of each individual archive file.
-;   depend reboot    - process depending on if a reboot is necessary or not.
-;                      if reboot is necessary, installer can set it up so
-;                      the app runs once upon windows reboot.
-
-;Uncompress FileX sections
-[Uncompress File0]
-Timing=post smartupdate
-Source=[XPI PATH]\$UninstallFileZip$
-Destination=[SETUP PATH]\Uninstall
-*** LOCALIZE ME BABY ***
-Message=Installing the uninstaller, please wait...
-Only If Exists=FALSE
-
-
-;Copy FileX sections
-;[Copy File0]
-;Timing=post smartupdate
-;Source=[XPI PATH]\$MainIcoFile$
-;Destination=[SETUP PATH]
-;Fail If Exists=FALSE
-;Do Not Uninstall=FALSE
-
-
-;Copy File SequentialX sections
-[Copy File Sequential0]
-Timing=post launchapp
-Filename=install_wizard.log
-Source=[SETUP PATH]
-Destination=[SETUP PATH]\Uninstall
-
-
-;Create DirectoryX sections
-[Create Directory0]
-Timing=post download
-Destination=[SETUP PATH]\Plugins
-
-
-[Delete File0]
-Timing=post launchapp
-Destination=[SETUP PATH]\install_wizard.log
-
-
-;RunAppX sections
-;[RunApp0]
-;Timing=depend reboot
-;Wait=FALSE
-;Target=[SETUP PATH]\$MainExeFile$
-;Parameters=-installer
-;WorkingDir=[SETUP PATH]
-;The Criterion ID=RecaptureHP associates the decision to run this app with
-;  the user input to the Recapture Homepage checkbox offered (optionally) in the
-;  Additional Options dialog.
-;Criterion ID=RecaptureHP
-;Run App If Criterion=FALSE
-
-;[RunApp1]
-;Timing=depend reboot
-;Wait=FALSE
-;Target=[SETUP PATH]\$MainExeFile$
-;Parameters=-installer -resetPref browser.startup.homepage
-;WorkingDir=[SETUP PATH]
-;The Criterion ID=RecaptureHP associates the decision to run this app with
-;  the user input to the Recapture Homepage checkbox offered (optionally) in the
-;  Additional Options dialog.
-;Criterion ID=RecaptureHP
-;Run App If Criterion=TRUE
-
-[OS2 INI0]
-App=$ProductName$ $UserAgent$
-Key=Program Folder Path
-Key Value=[Default Folder]
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI1]
-App=$ProductName$ $UserAgent$
-Key=Install Directory
-Key Value=[SETUP PATH]
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI2]
-App=$ProductName$ $UserAgent$
-Key=Uninstall Log Folder
-Key Value=[SETUP PATH]\Uninstall
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI3]
-App=$ProductName$
-Key=CurrentVersion
-Key Value=$ProductName$ $UserAgent$
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI4]
-App=$ProductName$ $UserAgent$
-Key=Plugins
-Key Value=[SETUP PATH]\Plugins
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI5]
-App=$ProductName$ $UserAgent$
-Key=Components
-Key Value=[SETUP PATH]\Components
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI6]
-App=$ProductName$ $UserAgent$
-Key=PathToExe
-Key Value=[SETUP PATH]\$MainExeFile$
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-[OS2 INI7]
-App=Netscape
-Key=6.0
-Key Value=[SETUP PATH]
-Decrypt App=FALSE
-Decrypt Key=FALSE
-Decrypt Key Value=TRUE
-Timing=pre smartupdate
-
-; This version looks in the default INI for anything beginning with Product Name
-; and if it begins with product name and doesn't have current version set the same
-; and the value of Key is the same as the installed directory, it removes the
-; entire app
-[Cleanup Previous Product INIApps0]
-Product Name=$ProductName$
-Current Version=$UserAgent$
-Key=Install Directory
-
-; This version looks in a specified or the default INI for the given App
-; and if the value of the specified Key matched the installed directory,
-; it removes the entire app
-;[Cleanup Previous Product INIApps1]
-;INI=[OS2SYSDIR]\EPFIS.INI
-;Decrypt INI=TRUE
-;App=EPFINST_IBM Web Browser for OS/2_0000-000_0000
-;Key=FilePath
-
-; Open Folder indicates whether to open the program folder after the install
-;
-; Default value is TRUE if nothing is set.
-;
-; When creating objects, you can specify Attributes=UPDATE or FAIL
-; FAIL will fail when trying to create the object, UPDATE will replace it
-
-[Program Folder0]
-Timing=post smartupdate
-
-[Program Folder0-Object0]
-ClassName=WPFolder
-Title=$ProductName$
-Location=[DESKTOP]
-Object ID=<SEAMONKEYFLDR>
-Attributes=FAIL
-
-[Component Navigator-Program Folder0]
-Timing=post smartupdate
-
-[Component Navigator-Program Folder0-Object0]
-ClassName=WPProgram
-Title=$ProductName$
-File=[SETUP PATH]\$MainExeFile$
-Working Dir=[SETUP PATH]
-Location=[Default Folder]
-Association Filters=*.HTM,*.HTML
-Association Types=HTML,text/html
-Object ID=<SEAMONKEYEXE>
-Attributes=UPDATE
-
-[Component Navigator-Program Folder0-Object1]
-ClassName=WPProgram
-Title=$ProductName$ Profile Manager
-File=[SETUP PATH]\$MainExeFile$
-Parameters=-ProfileManager
-Working Dir=[SETUP PATH]
-Location=[Default Folder]
-Object ID=<SEAMONKEYPROFMANAGER>
-Attributes=UPDATE
-
-[Component Uninstaller-Program Folder0]
-Timing=post smartupdate
-
-[Component Uninstaller-Program Folder0-Object0]
-ClassName=WPProgram
-Title=Uninstall $ProductName$
-File=[SETUP PATH]\Uninstall\$UninstallFile$
-Parameters=/ua \"$UserAgent$\"
-Working Dir=[SETUP PATH]
-Location=[Default Folder]
-Object ID=<SEAMONKEY_UNINSTALL>
-Attributes=UPDATE
-
-[Component MailNews-Program Folder0]
-Timing=post smartupdate
-
-[Component MailNews-Program Folder0-Object0]
-ClassName=WPProgram
-Title=$ProductName$ Mail
-File=[SETUP PATH]\$MainExeFile$
-Parameters=-mail
-Working Dir=[SETUP PATH]
-Location=[Default Folder]
-Object ID=<SEAMONKEYMAIL>
-Attributes=UPDATE
-
-[Strings]
-;*** LOCALIZE ME BABY ***
-Message Unfinished Download Restart=A previous session of Setup did not finish downloading all the necessary files.  Would you like to use the files previously downloaded, to avoid downloading them again?
-;*** LOCALIZE ME BABY ***
-Message Unfinished Install Xpi Restart=A previous session of Setup did not finish with installation of all the necessary files.  Would you like to use the files previously downloaded, to avoid downloading them again?
-;*** LOCALIZE ME BABY ***
-Error Corrupted Archives Detected=Setup has detected that the following archives within this Setup are corrupted:%sYou will need to obtain another copy of the $ProductName$ Setup in order for installation to proceed.
-;*** LOCALIZE ME BABY ***
-Error Corrupted Archives Detected AUTO mode=Setup has detected that at least one archive within this Setup is corrupt.  You will need to obtain another copy of the $ProductName$ Setup in order for installation to proceed.
-;*** LOCALIZE ME BABY ***
-Error Too Many CRC Failures=Too many download failures.  Setup will cancel.  Any files already downloaded will not be deleted.  The next time Setup is run, these files will be taken into account during the download.
-;*** LOCALIZE ME BABY ***
-Error Too Many Network Errors=Too many network errors trying to download %s.  Please retry again later.  Any files already downloaded will not be deleted.  The next time Setup is run, these files will be taken into account during the download.
-;*** LOCALIZE ME BABY ***
-Message Verifying Archives=Verifying integrity of archives, please wait...
-;*** LOCALIZE ME BABY ***
-Error Undefined=Error undefined
-;*** LOCALIZE ME BABY ***
-Error Out Of Memory=Out of memory!
-;*** LOCALIZE ME BABY ***
-Status Download=%s at %.2f KB/sec (%u KB of %u KB downloaded)
-;*** LOCALIZE ME BABY ***
-Status Retry=%s at %.2f KB/sec (%u KB of %u KB downloaded)
-;*** LOCALIZE ME BABY ***
-Status File Info=%s
-;*** LOCALIZE ME BABY ***
-Status Percentage Completed=%d%%
-;*** LOCALIZE ME BABY ***
-Dialog Download Title Minimized=%d%% completed
-;*** LOCALIZE ME BABY ***
-STR Force Upgrade Required=(Required)
-;*** LOCALIZE ME BABY ***
-Message Cancel Setup AUTO mode=Canceling Setup, please wait...
-;*** LOCALIZE ME BABY ***
-Error File Uncompress=Error uncompressing file %s: %d
-;*** LOCALIZE ME BABY ***
-UsageMsg Usage=Usage: %s [options]%s	[options] can be any of the following combination:%s		-h:		This help.%s		-a [path]:		Alternate archive search path.%s		-n [filename]:	Setup's parent's process filename.%s		-ma:		Run setup in Auto mode.%s		-ms:		Run setup in Silent mode.%s		-ira:		Ignore the [RunAppX] sections%s		-ispf:		Ignore the [Program FolderX] sections that show%s				the Start Menu shortcut folder at the end of installation.
-;*** LOCALIZE ME BABY ***
-IDC Use FTP=Use ~FTP for downloading files
-;*** LOCALIZE ME BABY ***
-IDC Use HTTP=Use ~HTTP for downloading files
-;*** LOCALIZE ME BABY ***
-IDC Save Installer Files=~Save installer files locally
-;*** LOCALIZE ME BABY ***
-IDC Recapture Homepage=~Make Netscape.com my home page
-;*** LOCALIZE ME BABY ***
-IDC Turbo Mode=~Use Quick Launch for faster startup times when possible
-;*** LOCALIZE ME BABY ***
-Message Download Paused=Setup has encountered a network problem and has paused the download.  If you have just lost your network connection, please click Resume once your network has been reestablished.
-
-[Site Selector]
-; Dictates whether or not to show the pull down menu.
-; Default value is SHOW.
-; If Status= is set to HIDE, then Identifier0 will be used
-; and all other IdentifiersX will be ignored.
-Status=HIDE
-
-Identifier0=Site0
-;*** LOCALIZE ME BABY ***
-Description0=Default
-;*** LOCALIZE ME BABY ***
-Domain0=$ArchiveUrl$
-
-Identifier1=Site1
-;*** LOCALIZE ME BABY ***
-Description1=North America
-;*** LOCALIZE ME BABY ***
-Domain1=$ArchiveUrl$
-
deleted file mode 100644
--- a/xpinstall/packager/os2/deflenus.jst
+++ /dev/null
@@ -1,42 +0,0 @@
-// main
-var srDest;
-var err;
-var fProgram;
-
-// ----LOCALIZATION NOTE: translate only these ------
-var prettyName = "US English profile default";
-var regName    = "defaults/mozilla/en-US";
-// --- END CHANGABLE STUFF ---
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall(prettyName, regName, "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  setPackageFolder(fProgram);
-
-  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
deleted file mode 100644
--- a/xpinstall/packager/os2/editor.jst
+++ /dev/null
@@ -1,18 +0,0 @@
-var err = initInstall("SeaMonkey Editor", "Editor", "$Version$"); 
-logComment("initInstall: " + err);
-
-var communicatorFolder = 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, 
-                   true);              // Force Flag 
-
-logComment("addDirectory() returned: " + err);
-
-err = performInstall(); 
-logComment("performInstall() returned: " + err);
-
deleted file mode 100644
--- a/xpinstall/packager/os2/inspector.jst
+++ /dev/null
@@ -1,25 +0,0 @@
-var err = initInstall("DOM Inspector", "Inspector", "$Version$"); 
-logComment("initInstall: " + err);
-
-var fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-err = addDirectory("", "$Version$", "bin", fProgram, "", true);
-logComment("addDirectory: " + err);
-
-addFile("Inspector Command Line Handler",
-        "bin/components/inspector-cmdline.js",
-        getFolder("Components"),
-        "");
-
-var jarFolder = getFolder("Chrome", "inspector.jar");
-registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/inspector/");
-registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/modern/inspector/");
-registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/inspector/");
-registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/inspector/");
-
-err = getLastError();
-if (err==SUCCESS)
-    performInstall(); 
-else
-    cancelInstall(err);
deleted file mode 100644
--- a/xpinstall/packager/os2/install.it
+++ /dev/null
@@ -1,87 +0,0 @@
-[General]
-FONTNAME=WarpSans
-FONTSIZE=9
-
-OK_=~OK
-OK=OK
-CANCEL=Cancel
-CANCEL_=~Cancel
-NEXT_=~Next >
-BACK_=< ~Back
-PROXYSETTINGS=Proxy Settings:
-PROXYSETTINGS_=~Proxy Settings
-SERVER=Server:
-PORT=Port:
-USERID=User id:
-PASSWORD=Password:
-SELECTDIRECTORY=Select a directory
-DIRECTORIES_=~Directories:
-DRIVES_=Dri~ves:
-STATUS=Remaining:
-FILE=File:
-URL=URL:
-TO=To Path:
-ACCEPT_=~Accept
-DECLINE_=~Decline
-SETUPMESSAGE=Setup has finished copying files to your computer.  Before you can use the program, you must restart OS/2 or your computer. Choose one of the following options and click OK to finish setup.
-YESRESTART=Yes, I want to restart my computer now.
-NORESTART=No, I will restart my computer later.
-ADDITIONALCOMPONENTS_=~Additional Components:
-DESCRIPTION=Description
-TOTALDOWNLOADSIZE=Total download size:
-SPACEAVAILABLE=Space Available:
-COMPONENTS_=C~omponents:
-DESTINATIONDIRECTORY=Destination Directory
-BROWSE_=B~rowse...
-CURRENTSETTINGS=Current Settings:
-INSTALL_=~Install
-DELETE_=~Delete
-README=Re~ad Me
-PAUSE_=~Pause
-RESUME_=~Resume
-
-EXTRACTING=Extracting...
-
-
-[Messages]
-
-ERROR_DIALOG_CREATE=Could not create %s dialog.
-ERROR_FAILED=%s failed.
-ERROR_FILE_NOT_FOUND=File not found: %s
-DLGQUITTITLE=Exit Setup
-DLGQUITMSG=Setup is not complete.  If you quit the Setup program now, the program will not be installed. You may run the Setup program at a later time to complete the installation. Are you sure you want to cancel Setup?
-DLG_REBOOT_TITLE=Restarting OS/2
-ERROR_DOSQUERYPROCADDR=DosQueryProcAddr() of %s failed.
-ERROR_WRITEPRIVATEPROFILESTRING=WritePrivateProfileString() failed for file %s
-MSG_RETRIEVE_CONFIGINI=Please wait while Setup is attempting to retrieve Config.ini, required by Setup, from the Web...
-ERROR_CREATE_TEMP_DIR=Setup was unable to create the TEMP directory: %s
-DLGBROWSETITLE=Select a directory
-ERROR_DETERMINING_DISK_SPACE=Could not determine available disk space for: %s
-DLG_DISK_SPACE_CHECK_TITLE=Disk space check
-DLG_DISK_SPACE_CHECK_CRUCIAL_MSG=Setup has detected insufficient disk space to continue with installation on %s for the path: %sRequired: %sAvailable: %sClick Retry if more disk space has been made available, or click Cancel to cancel Setup.
-DLG_DISK_SPACE_CHECK_MSG=Setup has detected insufficient disk space to continue with installation process on %s for the path: %sRequired: %sAvailable: %sClick OK to go back and choose a different destination path.
-ERROR_CREATE_DIRECTORY=Could not create folder: %sMake sure you have access to create the folder.
-MSG_SMARTUPDATE_START=Preparing Install, please wait...
-MSG_CONFIGURING=Configuring %s, please wait...
-ERROR_XPI_INSTALL=Error occurred during installation
-DLG_EXTRACTING_TITLE=Install Progress
-STR_PROCESSINGFILE=Preparing file: %s
-STR_INSTALLING=Currently installing %s
-STR_COPYINGFILE=Copying file: %s
-MB_WARNING_STR=Warning
-MB_MESSAGE_STR=Message
-MB_ATTENTION_STR=Attention
-MSG_CREATE_DIRECTORY=The following directory does not exist:%sWould you like to create it?
-STR_CREATE_DIRECTORY=Create Directory?
-ERROR_FILESYSTEM=The drive you selected does not support long filenames
-CB_DEFAULT=Default
-ERROR_DESTINATION_PATH=Invalid path entered.
-STR_SETUP_TYPE=Setup Type:
-STR_SELECTED_COMPONENTS=Selected Components:
-STR_DESTINATION_DIRECTORY=Destination Directory:
-STR_SETUP=Setup
-STR_DOWNLOAD_SITE=Download Site:
-STR_SAVE_INSTALLER_FILES=Save downloaded and Setup program files to:
-MSG_INIT_SETUP=Initializing Setup, please wait...
-STR_MESSAGEBOX_TITLE=%s Setup
-
deleted file mode 100644
--- a/xpinstall/packager/os2/langenus.jst
+++ /dev/null
@@ -1,97 +0,0 @@
-// main
-var srDest;
-var err;
-var fProgram;
-
-var platformNode = getPlatform();
-/* BEGIN TEMPORARY UNTIL xpinstall/packager/common/share.t is fixed*/
-platformNode = "win";
-/* END TEMPORARY */
-logComment("initInstall: platformNode=" + platformNode);
-// end
-// end - OS type detection
-
-// ----LOCALIZATION NOTE: translate only these ------
-var prettyName = "English (US) Language Pack";
-var chromeNode = "en-US";
-// --- END CHANGABLE STUFF ---
-var regName    = "locales/mozilla/" + chromeNode;
-var chromeName = chromeNode + ".jar";
-var localeName = "locale/" + chromeNode + "/";
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall(prettyName, regName, "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  var chromeType = LOCALE;
-  err = addDirectory("",
-                     "bin",     // dir name in jar to extract 
-                     fProgram,  // Where to put this file (Returned from GetFolder) 
-                     "");       // Force Flag 
-  logComment("addDirectory() returned: " + err);
-
-  if (err != SUCCESS)
-  {
-    logComment("addDirectory() to " + fProgram + "failed!");
-    // couldn't install globally, try installing to the profile
-    resetError();
-    chromeType |= PROFILE_CHROME;
-    fProgram = getFolder("Profile");
-    logComment("try installing to the user profile:" + fProgram);
-    err = addDirectory("","bin",fProgram,"");
-  }
- 
-  setPackageFolder(fProgram);
- 
-  // check return value
-  if (err == SUCCESS)
-  {
-    // register chrome
-    var cf = getFolder(fProgram, "chrome/"+chromeName);
-
-    registerChrome(chromeType, cf, localeName + "global/");
-    registerChrome(chromeType, cf, localeName + "communicator/");
-    registerChrome(chromeType, cf, localeName + "branding/");
-
-    registerChrome(chromeType, cf, localeName + "messenger/");
-    registerChrome(chromeType, cf, localeName + "messenger-smime/");
-
-    registerChrome(chromeType, cf, localeName + "editor/");
-    registerChrome(chromeType, cf, localeName + "navigator/");
-    registerChrome(chromeType, cf, localeName + "necko/");
-    registerChrome(chromeType, cf, localeName + "mozldap/");
-    registerChrome(chromeType, cf, localeName + "autoconfig/");
-    registerChrome(chromeType, cf, localeName + "cookie/");
-    registerChrome(chromeType, cf, localeName + "wallet/");
-    registerChrome(chromeType, cf, localeName + "help/");
-    registerChrome(chromeType, cf, localeName + "pippki/");
-    registerChrome(chromeType, cf, localeName + "pipnss/");
-
-    registerChrome(chromeType, cf, localeName + "global-region/");
-    registerChrome(chromeType, cf, localeName + "communicator-region/");
-    registerChrome(chromeType, cf, localeName + "editor-region/");
-    registerChrome(chromeType, cf, localeName + "messenger-region/");
-    registerChrome(chromeType, cf, localeName + "navigator-region/");
-
-    registerChrome(chromeType, cf, localeName + "global-platform/" + platformNode + "/");
-    registerChrome(chromeType, cf, localeName + "communicator-platform/" + platformNode + "/");
-    registerChrome(chromeType, cf, localeName + "navigator-platform/" + platformNode + "/");
- 
-    err = performInstall(); 
-    logComment("performInstall() returned: " + err);
-  }
-  else
-  {
-    cancelInstall(err);
-    logComment("cancelInstall due to error: " + err);
-  }
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/os2/mail.jst
+++ /dev/null
@@ -1,90 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files and generated files that
-  // need to be cleaned up.
-  deleteThisFile("Program",    "msgMapi.dll");
-  deleteThisFile("Components", "signed.dll");
-  deleteThisFile("Components", "smimestb.dll");
-  deleteThisFile("Components", "nsMapiRegistry.dll");
-  deleteThisFile("Components", "absyncsv.dll");
-
-  deleteThisFile("Components", "addrbook.xpt");
-  deleteThisFile("Components", "impComm4xMail.xpt");
-  deleteThisFile("Components", "import.xpt");
-  deleteThisFile("Components", "mailnews.xpt");
-  deleteThisFile("Components", "mailview.xpt");
-  deleteThisFile("Components", "mime.xpt");
-  deleteThisFile("Components", "msgbase.xpt");
-  deleteThisFile("Components", "msgcompose.xpt");
-  deleteThisFile("Components", "msgdb.xpt");
-  deleteThisFile("Components", "msgimap.xpt");
-  deleteThisFile("Components", "msglocal.xpt");
-  deleteThisFile("Components", "msgnews.xpt");
-  deleteThisFile("Components", "msgsearch.xpt");
-  deleteThisFile("Components", "msgsmime.xpt");
-  deleteThisFile("Components", "impText.dll");
-  deleteThisFile("Components", "imp4Mail.dll");
-}
-
-// main
-var srDest;
-var err;
-var fProgram;
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("SeaMonkey Mail", "Mail", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  setPackageFolder(fProgram);
-
-  upgradeCleanup();
-  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 )
-  {
-    // register chrome
-    registerChrome(CONTENT | DELAYED_CHROME, 
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger/");
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-region/");
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-smime/");
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-mdn/");
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-views/");
-
-    // check return value
-    err = getLastError();
-    if(err == SUCCESS)
-    {
-      err = performInstall(); 
-      logComment("performInstall() returned: " + err);
-    }
-    else
-      cancelInstall(err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/os2/makeall.pl
+++ /dev/null
@@ -1,802 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script builds the xpi, config.ini, and js files.
-#
-
-use Cwd;
-use File::Copy;
-use File::Path;
-use File::Basename;
-
-$DEPTH = "../../..";
-$topsrcdir = GetTopSrcDir();
-
-# ensure that Packager.pm is in @INC, since we might not be called from
-# mozilla/xpinstall/packager
-push(@INC, "$topsrcdir/xpinstall/packager");
-require StageUtils;
-require "$topsrcdir/config/zipcfunc.pl";
-
-ParseArgv(@ARGV);
-
-$topobjdir                = "$topsrcdir"                     if !defined($topobjdir);
-$inStagePath              = "$topobjdir/stage"               if !defined($inStagePath);
-$inDistPath               = "$topobjdir/dist"                if !defined($inDistPath);
-$inXpiURL                 = "ftp://not.supplied.invalid"     if !defined($inXpiURL);
-$inRedirIniURL            = $inXpiURL                        if !defined($inRedirIniURL);
-$inInstName               = "seamonkey-os2-installer"        if !defined($inInstName);
-$inStubName               = "seamonkey-os2-stub-installer"   if !defined($inStubName);
-
-$seiFileNameGeneric       = "stubinstall.exe";
-$seiFileNameSpecific      = "$inInstName.exe";
-$seiStubRootName          = $inStubName;
-$seiFileNameSpecificStub  = "$seiStubRootName.exe";
-$seuFileNameSpecific      = "SeaMonkeyUninstall.exe";
-$seuzFileNameSpecific     = "seamonkeyuninstall.zip";
-$seiGreFileNameSpecific   = "gre-os2-installer.exe";
-$seizGreFileNameSpecific  = "gre-os2-installer.zip";
-
-$seiFileNameGenericRes      = "stubinstall.res";
-$seiFileNameSpecificRes     = "$inInstName.res";
-$seiFileNameSpecificRC      = "$inInstName.rc";
-$seiFileNameSpecificStubRC  = "$seiStubRootName.rc";
-$seiFileNameSpecificStubRes = "$seiStubRootName.res";
-$seuFileNameSpecificRes     = "SeaMonkeyUninstall.res";
-$seuFileNameSpecificRC      = "SeaMonkeyUninstall.rc";
-
-
-if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-{
-  print " os2/makeall.pl\n";
-  print "   topobjdir  : $topobjdir\n";
-  print "   topsrcdir  : $topsrcdir\n";
-  print "   inStagePath: $inStagePath\n";
-  print "   inDistPath : $inDistPath\n";
-}
-
-$gDefaultProductVersion   = StageUtils::GetProductY2KVersion($topobjdir, $topsrcdir, $topsrcdir);
-
-print "\n";
-print " Building SeaMonkey\n";
-print "  Raw version id   : $gDefaultProductVersion\n";
-
-# $gDefaultProductVersion has the form maj.min.release.bld where maj, min, release
-#   and bld are numerics representing version information.
-# Other variables need to use parts of the version info also so we'll
-#   split out the dot separated values into the array @versionParts
-#   such that:
-#
-#   $versionParts[0] = maj
-#   $versionParts[1] = min
-#   $versionParts[2] = release
-#   $versionParts[3] = bld
-@versionParts = split /\./, $gDefaultProductVersion;
-
-# We allow non-numeric characters to be included as the last 
-#   characters in fields of $gDefaultProductVersion for display purposes (mostly to
-#   show that we have moved past a certain version by adding a '+'
-#   character).  Non-numerics must be stripped out of $gDefaultProductVersion,
-#   however, since this variable is used to identify the the product 
-#   for comparison with other installations, so the values in each field 
-#   must be numeric only:
-$gDefaultProductVersion =~ s/[^0-9.][^.]*//g;
-
-# set environment vars for use by other .pl scripts called from this script.
-if($versionParts[2] eq "0")
-{
-  $versionMain = "$versionParts[0].$versionParts[1]";
-}
-else
-{
-  $versionMain = "$versionParts[0].$versionParts[1].$versionParts[2]";
-}
-
-print "  Display version  : $versionMain\n";
-print "  Xpinstall version: $gDefaultProductVersion\n";
-print "\n";
-
-$gDirPackager         = "$topsrcdir/xpinstall/packager";
-$gDirStageProduct     = "$inStagePath/mozilla";
-$gDirDistInstall      = "$inDistPath/install";
-$gDirDistInstGre      = "$inDistPath/inst_gre";
-
-# Build GRE installer package first before building Mozilla!  GRE installer is required by the mozilla installer.
-#if(system("perl \"$gDirPackager/win_gre/makeall.pl\" -objDir \"$topobjdir\" -stagePath \"$inStagePath\" -distPath \"$inDistPath\" -aurl $inXpiURL -rurl $inRedirIniURL"))
-#{
-#  die "\n Error: perl \"$gDirPackager/win_gre/makeall.pl\" -objDir \"$topobjdir\" -stagePath \"$inStagePath\" -distPath \"$inDistPath\" -aurl $inXpiURL -rurl $inRedirIniURL\n";
-#}
-
-if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-{
-  print " back in os2/makeall.pl\n";
-  print "   inStagePath: $inStagePath\n";
-  print "   inDistPath : $inDistPath\n";
-}
-
-# Create the stage area here.
-# If -sd is not used, the default stage dir will be: $topobjdir/stage
-if(system("perl \"$gDirPackager/make_stage.pl\" -pn mozilla -os os2 -sd \"$inStagePath\" -dd \"$inDistPath\""))
-{
-  die "\n Error: perl \"$gDirPackager/make_stage.pl\" -pn mozilla -os os2 -sd \"$inStagePath\" -dd \"$inDistPath\"\n";
-}
-
-# Copy the GRE installer to the Ns' stage area
-#if(!(-e "$gDirDistInstGre/$seiGreFileNameSpecific"))
-#{
-#  die "\"$gDirDistInstGre/$seiGreFileNameSpecific\": file missing\n";
-#}
-#mkdir "$gDirStageProduct/gre";
-#copy("$gDirDistInstGre/$seiGreFileNameSpecific", "$gDirStageProduct/gre") ||
-#  die "copy(\"$gDirDistInstGre/$seiGreFileNameSpecific\", \"$gDirStageProduct/gre\"): $!\n";
-
-$versionLanguage               = "en";
-$ENV{WIZ_nameCompany}          = "mozilla.org";
-$ENV{WIZ_nameProduct}          = "SeaMonkey";
-$ENV{WIZ_nameProductInternal}  = "SeaMonkey"; # product name without the version string
-$ENV{WIZ_fileMainExe}          = "seamonkey.exe";
-$ENV{WIZ_fileUninstall}        = $seuFileNameSpecific;
-$ENV{WIZ_fileUninstallZip}     = $seuzFileNameSpecific;
-# The following variables are for displaying version info in the 
-# the installer.
-$ENV{WIZ_userAgent}            = "$versionMain ($versionLanguage)";
-$ENV{WIZ_userAgentShort}       = "$versionMain";
-$ENV{WIZ_xpinstallVersion}     = "$gDefaultProductVersion";
-$ENV{WIZ_distInstallPath}      = "$gDirDistInstall";
-
-# GetProductBuildID() will return the build id for GRE located here:
-#      NS_BUILD_ID in nsBuildID.h: 2003030610
-$ENV{WIZ_greBuildID}       = StageUtils::GetProductBuildID("$inDistPath/include/nsBuildID.h", "NS_BUILD_ID");
-
-# GetGreFileVersion() will return the actual version of xpcom.dll used by GRE.
-#  ie:
-#      given milestone.txt : 1.4a
-#      given nsBuildID.h   : 2003030610
-#      gre version would be: 1.4.20030.30610
-$ENV{WIZ_greFileVersion}       = StageUtils::GetGreFileVersion($topobjdir, $topsrcdir);
-
-# GetGreSpecialID() will return the GRE ID to be used in the windows registry.
-# This ID is also the same one being querried for by the seamonkey glue code.
-#  ie:
-#      given milestone.txt    : 1.4a
-#      given nsBuildID.h      : 2003030610
-#      gre special ID would be: 1.4a_2003030610
-$ENV{WIZ_greUniqueID}          = StageUtils::GetGreSpecialID($topobjdir);
-
-print "\n";
-print " GRE build id       : $ENV{WIZ_greBuildID}\n";
-print " GRE file version   : $ENV{WIZ_greFileVersion}\n";
-print " GRE special version: $ENV{WIZ_greUniqueID}\n";
-print "\n";
-print " Building $ENV{WIZ_nameProduct} $ENV{WIZ_userAgent}...\n";
-print "\n";
-
-# Check for existence of staging path
-if(!(-d "$gDirStageProduct"))
-{
-  die "\n Invalid path: $gDirStageProduct\n";
-}
-
-# List of components for to create xpi files from
-@gComponentList = ("xpcom",
-                   "browser",
-                   "mail",
-                   "psm",
-                   "chatzilla",
-                   "deflenus",
-                   "langenus",
-                   "venkman",
-                   "inspector",
-                   "reporter",
-                   "sroaming");
-
-if(VerifyComponents()) # return value of 0 means no errors encountered
-{
-  exit(1);
-}
-
-# Make sure gDirDistInstall exists
-if(!(-d "$gDirDistInstall"))
-{
-  mkdir ("$gDirDistInstall",0775);
-}
-
-if(-d "$gDirDistInstall/xpi")
-{
-  unlink <$gDirDistInstall/xpi/*>;
-}
-else
-{
-  mkdir ("$gDirDistInstall/xpi",0775);
-}
-
-if(-d "$gDirDistInstall/uninstall")
-{
-  unlink <$gDirDistInstall/uninstall/*>;
-}
-else
-{
-  mkdir ("$gDirDistInstall/uninstall",0775);
-}
-
-if(-d "$gDirDistInstall/setup")
-{
-  unlink <$gDirDistInstall/setup/*>;
-}
-else
-{
-  mkdir ("$gDirDistInstall/setup",0775);
-}
-
-#if(!(-e "$inDistPath/inst_gre/$seiGreFileNameSpecific"))
-#{
-#  die "\"$inDistPath/inst_gre/$seiGreFileNameSpecific\": file missing\n";
-#}
-#MakeExeZip("$inDistPath/inst_gre", $seiGreFileNameSpecific, $seizGreFileNameSpecific);
-
-if(MakeXpiFile())
-{
-  exit(1);
-}
-if(MakeUninstall())
-{
-  exit(1);
-}
-if(MakeConfigFile())
-{
-  exit(1);
-}
-
-# Copy the setup files to the dist setup directory.
-os2copy("install.ini", "$gDirDistInstall") || 
-  die "copy install.ini $gDirDistInstall: $!\n";
-os2copy("install.ini", "$gDirDistInstall/setup") ||
-  die "copy install.ini $gDirDistInstall/setup: $!\n";
-os2copy("config.ini", "$gDirDistInstall") ||
-  die "copy config.ini $gDirDistInstall: $!\n";
-os2copy("config.ini", "$gDirDistInstall/setup") ||
-  die "copy config.ini $gDirDistInstall/setup: $!\n";
-os2copy("$gDirDistInstall/setup.exe", "$gDirDistInstall/setup") ||
-  die "copy $gDirDistInstall/setup.exe $gDirDistInstall/setup: $!\n";
-os2copy("$gDirDistInstall/setuprsc.dll", "$gDirDistInstall/setup") ||
-  die "copy $gDirDistInstall/setuprsc.dll $gDirDistInstall/setup: $!\n";
-
-# copy license file for the installer
-os2copy("$topsrcdir/LICENSE", "$gDirDistInstall/license.txt") ||
-  die "copy $topsrcdir/LICENSE $gDirDistInstall/license.txt: $!\n";
-os2copy("$topsrcdir/LICENSE", "$gDirDistInstall/setup/license.txt") ||
-  die "copy $topsrcdir/LICENSE $gDirDistInstall/setup/license.txt: $!\n";
-
-
-# copy the lean installer to stub\ dir
-print "\n****************************\n";
-print "*                          *\n";
-print "*  creating Stub files...  *\n";
-print "*                          *\n";
-print "****************************\n";
-print "\n $gDirDistInstall/stub/$seiFileNameSpecificStub\n";
-
-# build the self-extracting .exe (installer) file.
-os2copy("$gDirDistInstall/$seiFileNameGeneric", "$gDirDistInstall/$seiFileNameSpecificStub") ||
-  die "copy $gDirDistInstall/$seiFileNameGeneric $gDirDistInstall/$seiFileNameSpecificStub: $!\n";
-
-os2copy("$gDirDistInstall/$seiFileNameGenericRes", "$gDirDistInstall/$seiFileNameSpecificStubRes") ||
-  die "copy $gDirDistInstall/$seiFileNameGenericRes $gDirDistInstall/$seiFileNameSpecificStubRes: $!\n";
-
-@stubFiles = <$gDirDistInstall/setup/*.*>;
-
-$size = (-s "$gDirDistInstall/$seiFileNameSpecificStubRes");
-truncate("$gDirDistInstall/$seiFileNameSpecificStubRes", "$size-1");
-open(OUTPUTFILE, ">$gDirDistInstall/$seiFileNameSpecificStubRC");
-print OUTPUTFILE "#include <os2.h>\n";
-print OUTPUTFILE "STRINGTABLE DISCARDABLE\n";
-print OUTPUTFILE "BEGIN\n";
-$currentResourceID = 10000+1;
-foreach $entry ( @stubFiles ) 
-{
-  $filename = basename($entry);
-  print OUTPUTFILE "$currentResourceID \"$filename\"\n";
-  $currentResourceID++;
-}
-print OUTPUTFILE "END\n";
-$currentResourceID = 10000+1;
-foreach $entry ( @stubFiles ) 
-{
-  print OUTPUTFILE "RESOURCE RT_RCDATA $currentResourceID \"$entry\"\n";
-  $currentResourceID++;
-}
-close(OUTPUTFILE);
-if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-{
-  print "rc -r $gDirDistInstall/$seiFileNameSpecificStubRC $gDirDistInstall/temp.res\n";
-}
-system("rc -r $gDirDistInstall/$seiFileNameSpecificStubRC $gDirDistInstall/temp.res");
-if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-{
-  print "cat $gDirDistInstall/$seiFileNameSpecificStubRes $gDirDistInstall/temp.res > $gDirDistInstall/new.res\n";
-}
-system("cat $gDirDistInstall/$seiFileNameSpecificStubRes $gDirDistInstall/temp.res > $gDirDistInstall/new.res");
-unlink("$gDirDistInstall/$seiFileNameSpecificStubRes");
-rename("$gDirDistInstall/new.res", "$gDirDistInstall/$seiFileNameSpecificStubRes");
-unlink("$gDirDistInstall/temp.res");
-system("rc $gDirDistInstall/$seiFileNameSpecificStubRes $gDirDistInstall/$seiFileNameSpecificStub");
-
-if(-d "$gDirDistInstall/stub")
-{
-  unlink <$gDirDistInstall/stub/*>;
-}
-else
-{
-  mkdir ("$gDirDistInstall/stub",0775);
-}
-os2copy("$gDirDistInstall/$seiFileNameSpecificStub", "$gDirDistInstall/stub") ||
-  die "copy $gDirDistInstall/$seiFileNameSpecificStub $gDirDistInstall/stub: $!\n";
-
-# create the xpi for launching the stub installer
-print "\n************************************\n";
-print "*                                  *\n";
-print "*  creating stub installer xpi...  *\n";
-print "*                                  *\n";
-print "************************************\n";
-print "\n $gDirDistInstall/$seiStubRootName.xpi\n\n";
-
-if(-d "$gDirStageProduct/$seiStubRootName")
-{
-  unlink <$gDirStageProduct/$seiStubRootName/*>;
-}
-else
-{
-  mkdir ("$gDirStageProduct/$seiStubRootName",0775);
-}
-os2copy("$gDirDistInstall/stub/$seiFileNameSpecificStub", "$gDirStageProduct/$seiStubRootName") ||
-  die "copy $gDirDistInstall/stub/$seiFileNameSpecificStub $gDirStageProduct/$seiStubRootName: $!\n";
-
-# Make .js files
-if(MakeJsFile($seiStubRootName))
-{
-  return(1);
-}
-
-# Make .xpi file
-if(system("perl makexpi.pl $seiStubRootName $gDirStageProduct $gDirDistInstall"))
-{
-  print "\n Error: perl makexpi.pl $seiStubRootName $gDirStageProduct $gDirDistInstall\n";
-  return(1);
-}
-
-# group files for CD
-print "\n************************************\n";
-print "*                                  *\n";
-print "*  creating Compact Disk files...  *\n";
-print "*                                  *\n";
-print "************************************\n";
-print "\n $gDirDistInstall/cd\n";
-
-if(-d "$gDirDistInstall/cd")
-{
-  unlink <$gDirDistInstall/cd/*>;
-}
-else
-{
-  mkdir ("$gDirDistInstall/cd",0775);
-}
-
-os2copy("$gDirDistInstall/$seiFileNameSpecificStub", "$gDirDistInstall/cd") ||
-  die "copy $gDirDistInstall/$seiFileNameSpecificStub $gDirDistInstall/cd: $!\n";
-
-StageUtils::CopyFiles("$gDirDistInstall/xpi", "$gDirDistInstall/cd");
-
-# create the big self extracting .exe installer
-print "\n**************************************************************\n";
-print "*                                                            *\n";
-print "*  creating Self Extracting Executable Full Install file...  *\n";
-print "*                                                            *\n";
-print "**************************************************************\n";
-print "\n $gDirDistInstall/$seiFileNameSpecific\n";
-
-if(-d "$gDirDistInstall/sea")
-{
-  unlink <$gDirDistInstall/sea/*>;
-}
-else
-{
-  mkdir ("$gDirDistInstall/sea",0775);
-}
-os2copy("$gDirDistInstall/$seiFileNameGeneric", "$gDirDistInstall/$seiFileNameSpecific") ||
-  die "copy $gDirDistInstall/$seiFileNameGeneric $gDirDistInstall/$seiFileNameSpecific: $!\n";
-
-os2copy("$gDirDistInstall/$seiFileNameGenericRes", "$gDirDistInstall/$seiFileNameSpecificRes") ||
-  die "copy $gDirDistInstall/$seiFileNameGenericRes $gDirDistInstall/$seiFileNameSpecificRes: $!\n";
-
-@stubFiles = <$gDirDistInstall/setup/*.*>;
-@xpiFiles = <$gDirDistInstall/xpi/*.*>;
-
-$size = (-s "$gDirDistInstall/$seiFileNameSpecificRes");
-truncate("$gDirDistInstall/$seiFileNameSpecificRes", "$size-1");
-open(OUTPUTFILE, ">$gDirDistInstall/$seiFileNameSpecificRC");
-print OUTPUTFILE "#include <os2.h>\n";
-print OUTPUTFILE "STRINGTABLE DISCARDABLE\n";
-print OUTPUTFILE "BEGIN\n";
-$currentResourceID = 10000+1;
-foreach $entry ( @stubFiles ) 
-{
-  $filename = basename($entry);
-  print OUTPUTFILE "$currentResourceID \"$filename\"\n";
-  $currentResourceID++;
-}
-foreach $entry ( @xpiFiles ) 
-{
-  $filename = basename($entry);
-  print OUTPUTFILE "$currentResourceID \"$filename\"\n";
-  $currentResourceID++;
-}
-print OUTPUTFILE "END\n";
-$currentResourceID = 10000+1;
-foreach $entry ( @stubFiles ) 
-{
-  print OUTPUTFILE "RESOURCE RT_RCDATA $currentResourceID \"$entry\"\n";
-  $currentResourceID++;
-}
-foreach $entry ( @xpiFiles ) 
-{
-  print OUTPUTFILE "RESOURCE RT_RCDATA $currentResourceID \"$entry\"\n";
-  $currentResourceID++;
-}
-close(OUTPUTFILE);
-system("rc -r $gDirDistInstall/$seiFileNameSpecificRC $gDirDistInstall/temp.res");
-system("cat $gDirDistInstall/$seiFileNameSpecificRes $gDirDistInstall/temp.res > $gDirDistInstall/new.res");
-unlink("$gDirDistInstall/$seiFileNameSpecificRes");
-rename("$gDirDistInstall/new.res", "$gDirDistInstall/$seiFileNameSpecificRes");
-unlink("$gDirDistInstall/temp.res");
-system("rc $gDirDistInstall/$seiFileNameSpecificRes $gDirDistInstall/$seiFileNameSpecific");
-
-os2copy("$gDirDistInstall/$seiFileNameSpecific", "$gDirDistInstall/sea") ||
-  die "copy $gDirDistInstall/$seiFileNameSpecific $gDirDistInstall/sea: $!\n";
-
-unlink <$gDirDistInstall/$seiFileNameSpecificStub>;
-
-print " done!\n\n";
-
-# end of script
-exit(0);
-
-sub MakeExeZip
-{
-  my($aSrcDir, $aExeFile, $aZipFile) = @_;
-  my($saveCwdir);
-
-  $saveCwdir = cwd();
-  chdir($aSrcDir);
-  if(system("zip $gDirDistInstall/xpi/$aZipFile $aExeFile"))
-  {
-    chdir($saveCwdir);
-    die "\n Error: zip $gDirDistInstall/xpi/$aZipFile $aExeFile";
-  }
-  chdir($saveCwdir);
-}
-
-sub PrintUsage
-{
-  die "usage: $0 [options]
-
-       options include:
-
-           -objDir <path>            : path to the objdir.  default is topsrcdir
-
-           -stagePath <staging path> : full path to where the mozilla components are staged at
-                                       Default stage path, if this is not set, is:
-                                         [mozilla]/stage
-
-           -distPath <dist path>     : full path to where the mozilla dist dir is at.
-                                       Default stage path, if this is not set, is:
-                                         [mozilla]/dist
-
-           -aurl <archive url>       : either ftp:// or http:// url to where the
-                                       archives (.xpi, .exe, .zip, etc...) reside
-
-           -rurl <redirect.ini url>  : either ftp:// or http:// url to where the
-                                       redirec.ini resides.  If not supplied, it
-                                       will be assumed to be the same as archive
-                                       url.
-
-           -instname <filename base> : the base of the filename to be used for
-                                       the installer, e.g.
-                                       mozilla-1.8b2.en-US.os2.installer
-                                       (.exe will be appended in any case)
-
-           -stubname <filename base> : the base of the filename to be used for
-                                       the stub installer, e.g.
-                                       mozilla-1.8b2.en-US.os2.stub-installer
-                                       (.exe will be appended in any case)
-       \n";
-}
-
-sub ParseArgv
-{
-  my(@myArgv) = @_;
-  my($counter);
-
-  for($counter = 0; $counter <= $#myArgv; $counter++)
-  {
-    if($myArgv[$counter] =~ /^[-,\/]h$/i)
-    {
-      PrintUsage();
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]objDir$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $topobjdir = $myArgv[$counter];
-        $topobjdir =~ s/\\/\//g;
-      }
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]stagePath$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inStagePath = $myArgv[$counter];
-        $inStagePath =~ s/\\/\//g;
-      }
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]distPath$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inDistPath = $myArgv[$counter];
-        $inDistPath =~ s/\\/\//g;
-      }
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]aurl$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inXpiURL = $myArgv[$counter];
-        $inRedirIniURL = $inXpiURL;
-      }
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]rurl$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inRedirIniURL = $myArgv[$counter];
-      }
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]instname$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inInstName = $myArgv[$counter];
-      }
-    }
-    elsif($myArgv[$counter] =~ /^[-,\/]stubname$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inStubName = $myArgv[$counter];
-      }
-    }
-  }
-}
-
-sub MakeConfigFile
-{
-  chdir("$gDirPackager/os2");
-  # Make config.ini file
-  if(system("perl makecfgini.pl config.it $gDefaultProductVersion $gDirStageProduct $gDirDistInstall/xpi $inRedirIniURL $inXpiURL"))
-  {
-    print "\n Error: perl makecfgini.pl config.it $gDefaultProductVersion $gDirStageProduct $gDirDistInstall/xpi $inRedirIniURL $inXpiURL\n";
-    return(1);
-  }
-
-  # Make install.ini file
-  if(system("perl makecfgini.pl install.it $gDefaultProductVersion $gDirStageProduct $gDirDistInstall/xpi $inRedirIniURL $inXpiURL"))
-  {
-    print "\n Error: perl makecfgini.pl install.it $gDefaultProductVersion $gDirStageProduct $gDirDistInstall/xpi $inRedirIniURL $inXpiURL\n";
-    return(1);
-  }
-  return(0);
-}
-
-sub MakeUninstall
-{
-  chdir("$gDirPackager/os2");
-  if(MakeUninstallIniFile())
-  {
-    return(1);
-  }
-
-  # Copy the uninstall files to the dist uninstall directory.
-  os2copy("uninstall.ini", "$gDirDistInstall") ||
-    die "copy uninstall.ini $gDirDistInstall: $!\n";
-  os2copy("uninstall.ini", "$gDirDistInstall/uninstall") ||
-    die "copy uninstall.ini $gDirDistInstall/uninstall: $!\n";
-  os2copy("$gDirDistInstall/uninstall.exe", "$gDirDistInstall/uninstall") ||
-    die "copy $gDirDistInstall/uninstall.exe $gDirDistInstall/uninstall: $!\n";
-
-  # build the self-extracting .exe (uninstaller) file.
-  print "\nbuilding self-extracting uninstaller ($seuFileNameSpecific)...\n";
-  os2copy("$gDirDistInstall/$seiFileNameGeneric", "$gDirDistInstall/$seuFileNameSpecific") ||
-    die "copy $gDirDistInstall/$seiFileNameGeneric $gDirDistInstall/$seuFileNameSpecific: $!\n";
-
-  print "copy $gDirDistInstall/$seiFileNameGeneric $gDirDistInstall/$seuFileNameSpecific: $!\n";
-  print "copy $gDirDistInstall/$seiFileNameGeneric $gDirDistInstall/$seuFileNameSpecific: $!\n";
-  print "copy $gDirDistInstall/$seiFileNameGeneric $gDirDistInstall/$seuFileNameSpecific: $!\n";
-
-  os2copy("$gDirDistInstall/$seiFileNameGenericRes", "$gDirDistInstall/$seuFileNameSpecificRes") ||
-    die "copy $gDirDistInstall/$seiFileNameGenericRes $gDirDistInstall/$seuFileNameSpecificRes: $!\n";
-  print "copy $gDirDistInstall/$seiFileNameGenericRes $gDirDistInstall/$seuFileNameSpecificRes: $!\n";
-  print "copy $gDirDistInstall/$seiFileNameGenericRes $gDirDistInstall/$seuFileNameSpecificRes: $!\n";
-  print "copy $gDirDistInstall/$seiFileNameGenericRes $gDirDistInstall/$seuFileNameSpecificRes: $!\n";
-
-  @stubFiles = <$gDirDistInstall/uninstall/*.*>;
-
-  $size = (-s "$gDirDistInstall/$seuFileNameSpecificRes");
-  truncate("$gDirDistInstall/$seuFileNameSpecificRes", "$size-1");
-  open(OUTPUTFILE, ">$gDirDistInstall/$seuFileNameSpecificRC");
-  print OUTPUTFILE "#include <os2.h>\n";
-  print OUTPUTFILE "STRINGTABLE DISCARDABLE\n";
-  print OUTPUTFILE "BEGIN\n";
-  $currentResourceID = 10000+1;
-  foreach $entry ( @stubFiles ) 
-  {
-    $filename = basename($entry);
-    print OUTPUTFILE "$currentResourceID \"$filename\"\n";
-    $currentResourceID++;
-  }
-  print OUTPUTFILE "END\n";
-  $currentResourceID = 10000+1;
-  foreach $entry ( @stubFiles ) 
-  {
-    print OUTPUTFILE "RESOURCE RT_RCDATA $currentResourceID \"$entry\"\n";
-    $currentResourceID++;
-  }
-  close(OUTPUTFILE);
-  system("rc -r $gDirDistInstall/$seuFileNameSpecificRC $gDirDistInstall/temp.res");
-  system("cat $gDirDistInstall/$seuFileNameSpecificRes $gDirDistInstall/temp.res > $gDirDistInstall/new.res");
-  unlink("$gDirDistInstall/$seuFileNameSpecificRes");
-  rename("$gDirDistInstall/new.res", "$gDirDistInstall/$seuFileNameSpecificRes");
-  unlink("$gDirDistInstall/temp.res");
-  system("rc $gDirDistInstall/$seuFileNameSpecificRes $gDirDistInstall/$seuFileNameSpecific");
-
-  MakeExeZip($gDirDistInstall, $seuFileNameSpecific, $seuzFileNameSpecific);
-  unlink <$gDirDistInstall/$seuFileNameSpecific>;
-  return(0);
-}
-
-sub MakeUninstallIniFile
-{
-  # Make config.ini file
-  if(system("perl makeuninstallini.pl uninstall.it $gDefaultProductVersion"))
-  {
-    print "\n Error: perl makeuninstallini.pl uninstall.it $gDefaultProductVersion\n";
-    return(1);
-  }
-  return(0);
-}
-
-sub MakeJsFile
-{
-  my($mComponent) = @_;
-
-  # Make .js file
-  chdir("$gDirPackager/os2");
-  if(system("perl makejs.pl $mComponent.jst $gDefaultProductVersion $gDirStageProduct/$mComponent"))
-  {
-    print "\n Error: perl makejs.pl $mComponent.jst $gDefaultProductVersion $gDirStageProduct/$mComponent\n";
-    return(1);
-  }
-  return(0);
-}
-
-sub MakeXpiFile
-{
-  my($mComponent);
-
-  chdir("$gDirPackager/os2");
-  foreach $mComponent (@gComponentList)
-  {
-    # Make .js files
-    if(MakeJsFile($mComponent))
-    {
-      return(1);
-    }
-
-    # Make .xpi file
-    if(system("perl makexpi.pl $mComponent $gDirStageProduct $gDirDistInstall/xpi"))
-    {
-      print "\n Error: perl makexpi.pl $mComponent $gDirStageProduct $gDirDistInstall/xpi\n";
-      return(1);
-    }
-  }
-  return(0);
-}
-
-sub VerifyComponents()
-{
-  my($mComponent);
-  my($mError) = 0;
-
-  print "\n Verifying existence of required components...\n";
-  foreach $mComponent (@gComponentList)
-  {
-    if($mComponent =~ /talkback/i)
-    {
-      print " place holder: $gDirStageProduct/$mComponent\n";
-      mkdir("$gDirStageProduct/$mComponent", 0775);
-    }
-    elsif(-d "$gDirStageProduct/$mComponent")
-    {
-      print "           ok: $gDirStageProduct/$mComponent\n";
-    }
-    else
-    {
-      print "        Error: $gDirStageProduct/$mComponent does not exist!\n";
-      $mError = 1;
-    }
-  }
-  print "\n";
-  return($mError);
-}
-
-sub GetTopSrcDir
-{
-  my($rootDir) = dirname($0) . "/$DEPTH";
-  my($savedCwdDir) = cwd();
-
-  chdir($rootDir);
-  $rootDir = cwd();
-  chdir($savedCwdDir);
-  return($rootDir);
-}
-
-sub os2copy
-{
-  my($source, $dest) = @_;
-  system("cp $source $dest");
-  return 1;
-}
deleted file mode 100644
--- a/xpinstall/packager/os2/makecfgini.pl
+++ /dev/null
@@ -1,383 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .it file
-#             - which is a .ini template
-#
-#        version
-#             - version to display on the blue background
-#
-#        Path to staging area
-#             - path on where the seamonkey built bits are staged to
-#
-#        xpi path
-#             - path on where xpi files will be located at
-#
-#        redirect file url
-#             - url to where the redirect.ini file will be staged at.
-#               Either ftp:// or http:// can be used
-#               ie: ftp://ftp.netscape.com/pub/seamonkey
-#
-#        xpi url
-#             - url to where the .xpi files will be staged at.
-#               Either ftp:// or http:// can be used
-#               ie: ftp://ftp.netscape.com/pub/seamonkey/xpi
-#
-#   ie: perl makecfgini.pl config.it 5.0.0.1999120608 k:\windows\32bit\5.0 d:\builds\mozilla\dist\win32_o.obj\install\xpi ftp://ftp.netscape.com/pub/seamonkey/windows/32bit/x86/1999-09-13-10-M10 ftp://ftp.netscape.com/pub/seamonkey/windows/32bit/x86/1999-09-13-10-M10/xpi
-#
-#
-
-# Make sure there are at least two arguments
-if($#ARGV < 5)
-{
-  die "usage: $0 <.it file> <version> <staging path> <.xpi path> <redirect file url> <xpi url>
-
-       .it file      : input ini template file
-
-       version       : version to be shown in setup.  Typically the same version
-                       as show in mozilla.exe.
-
-       staging path  : path to where the components are staged at
-
-       .xpi path     : path to where the .xpi files have been built to
-                       ie: d:/builds/mozilla/dist/win32_o.obj/install/xpi
-
-       redirect file : url to where the redirect.ini file will be staged at.
-
-       xpi url       : url to where the .xpi files will be staged at.
-                       Either ftp:// or http:// can be used
-                       ie: ftp://ftp.netscape.com/pub/seamonkey/xpi
-       \n";
-}
-
-$inItFile         = $ARGV[0];
-$inVersion        = $ARGV[1];
-$inStagePath      = $ARGV[2];
-$inXpiPath        = $ARGV[3];
-$inRedirIniUrl    = $ARGV[4];
-$inUrl            = $ARGV[5];
-
-# get environment vars
-$userAgent        = $ENV{WIZ_userAgent};
-$userAgentShort   = $ENV{WIZ_userAgentShort};
-$xpinstallVersion = $ENV{WIZ_xpinstallVersion};
-$nameCompany      = $ENV{WIZ_nameCompany};
-$nameProduct      = $ENV{WIZ_nameProduct};
-$nameProductInternal = $ENV{WIZ_nameProductInternal};
-$fileMainExe      = $ENV{WIZ_fileMainExe};
-$fileMainIco      = $ENV{WIZ_fileMainIco};
-$fileUninstall    = $ENV{WIZ_fileUninstall};
-$fileUninstallZip = $ENV{WIZ_fileUninstallZip};
-$greBuildID       = $ENV{WIZ_greBuildID};
-$greFileVersion   = $ENV{WIZ_greFileVersion};
-$greUniqueID      = $ENV{WIZ_greUniqueID};
-
-$inDomain;
-$inRedirDomain;
-$inServerPath;
-$inRedirServerPath;
-
-($inDomain,      $inServerPath)      = ParseDomainAndPath($inUrl);
-($inRedirDomain, $inRedirServerPath) = ParseDomainAndPath($inRedirIniUrl);
-
-# Get the name of the file replacing the .it extension with a .ini extension
-@inItFileSplit    = split(/\./,$inItFile);
-$outIniFile       = $inItFileSplit[0];
-$outIniFile      .= ".ini";
-
-# Open the input file
-open(fpInIt, $inItFile) || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOutIni, ">$outIniFile") || die "\nCould not open $outIniFile: $!\n";
-
-print "\n Making $outIniFile...\n";
-
-# While loop to read each line from input file
-while($line = <fpInIt>)
-{
-  # For each line read, search and replace $InstallSize$ with the calculated size
-  if($line =~ /\$InstallSize\$/i)
-  {
-    $installSize          = 0;
-    $installSizeSystem    = 0;
-
-    # split read line by ":" deliminator
-    @colonSplit = split(/:/, $line);
-    if($#colonSplit >= 0)
-    {
-      $componentName    = $colonSplit[1];
-      chop($componentName);
-
-      if($componentName =~ /\$UninstallFileZip\$/i)
-      {
-        $installSize = OutputInstallSizeArchive("$inXpiPath/$fileUninstallZip") * 2;
-      }
-      else
-      {
-        $installSize = OutputInstallSize("$inStagePath/$componentName");
-
-        # special oji consideration here.  Since it's an installer that 
-        # seamonkey installer will be calling, the disk space allocation
-        # needs to be adjusted by an expansion factor of 3.62.
-        if($componentName =~ /oji/i)
-        {
-          $installSize = int($installSize * 3.62);
-        }
-
-        if($componentName =~ /gre/i)
-        {
-          $installSize = int($installSize * 4.48);
-        }
-      }
-    }
-
-    # Read the next line to calculate for the "Install Size System="
-    if($line = <fpInIt>)
-    {
-      if($line =~ /\$InstallSizeSystem\$/i)
-      {
-        $installSizeSystem = OutputInstallSizeSystem($line, "$inStagePath/$componentName");
-      }
-    }
-
-    $installSize -= $installSizeSystem;
-    print fpOutIni "Install Size=$installSize\n";
-    print fpOutIni "Install Size System=$installSizeSystem\n";
-  }
-  elsif($line =~ /\$InstallSizeArchive\$/i)
-  {
-    $installSizeArchive = 0;
-
-    # split read line by ":" deliminator
-    @colonSplit = split(/:/, $line);
-    if($#colonSplit >= 0)
-    {
-      $componentName = $colonSplit[1];
-      chop($componentName);
-      $componentName      =~ s/\$UninstallFileZip\$/$fileUninstallZip/gi;
-      $installSizeArchive = OutputInstallSizeArchive("$inXpiPath/$componentName");
-    }
-
-    print fpOutIni "Install Size Archive=$installSizeArchive\n";
-  }
-  else
-  {
-    # For each line read, search and replace $Version$ with the version passed in
-    $line =~ s/\$Version\$/$inVersion/gi;
-    $line =~ s/\$Domain\$/$inDomain/gi;
-    $line =~ s/\$ServerPath\$/$inServerPath/gi;
-    $line =~ s/\$RedirIniUrl\$/$inRedirIniUrl/gi;
-    $line =~ s/\$ArchiveServerPath\$/$inServerPath/gi;
-    $line =~ s/\$ArchiveUrl\$/$inUrl/gi;
-    $line =~ s/\$RedirectServerPath\$/$inRedirServerPath/gi;
-    $line =~ s/\$RedirectUrl\$/$inRedirUrl/gi;
-    $line =~ s/\$UserAgent\$/$userAgent/gi;
-    $line =~ s/\$UserAgentShort\$/$userAgentShort/gi;
-    $line =~ s/\$XPInstallVersion\$/$xpinstallVersion/gi;
-    $line =~ s/\$CompanyName\$/$nameCompany/gi;
-    $line =~ s/\$ProductName\$/$nameProduct/gi;
-    $line =~ s/\$ProductNameInternal\$/$nameProductInternal/gi;
-    $line =~ s/\$MainExeFile\$/$fileMainExe/gi;
-    $line =~ s/\$MainIcoFile\$/$fileMainIco/gi;
-    $line =~ s/\$UninstallFile\$/$fileUninstall/gi;
-    $line =~ s/\$UninstallFileZip\$/$fileUninstallZip/gi;
-    $line =~ s/\$GreBuildID\$/$greBuildID/gi;
-    $line =~ s/\$GreFileVersion\$/$greFileVersion/gi;
-    $line =~ s/\$GreUniqueID\$/$greUniqueID/gi;
-    print fpOutIni $line;
-  }
-}
-
-print " done!\n";
-
-# end of script
-exit(0);
-
-sub ParseDomainAndPath()
-{
-  my($aUrl) = @_;
-  my($aDomain, $aServerPath);
-
-  @slashSplit = split(/\//, $aUrl);
-  if($#slashSplit >= 0)
-  {
-    for($i = 0; $i <= $#slashSplit; $i++)
-    {
-      if($i <= 2)
-      {
-        if($aDomain eq "")
-        {
-          $aDomain = "$slashSplit[$i]";
-        }
-        else
-        {
-          $aDomain = "$aDomain/$slashSplit[$i]";
-        }
-      }
-      else
-      {
-        if($aServerPath eq "")
-        {
-          $aServerPath = "/$slashSplit[$i]";
-        }
-        else
-        {
-          $aServerPath = "$aServerPath/$slashSplit[$i]";
-        }
-      }
-    }
-  }
-
-  return($aDomain, $aServerPath);
-}
-
-sub OutputInstallSize()
-{
-  my($inPath) = @_;
-  my($installSize);
-
-  print "   calculating size for $inPath\n";
-  $installSize    = GetSpaceRequired($inPath);
-  $installSize   += 32768; # take into account install.js
-  $installSize    = int($installSize / 1024);
-  $installSize   += 1;
-  return($installSize);
-}
-
-sub OutputInstallSizeArchive()
-{
-  my($inPath) = @_;
-  my($installSizeArchive);
-  my($dev, $ino, $mode, $nlink, $uid, $gui, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks);
-
-  print "   calculating size for $inPath\n";
-  ($dev, $ino, $mode, $nlink, $uid, $gui, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks) = stat $inPath;
-  $installSizeArchive   += 32768; # take into account install.js
-  $installSizeArchive    = int($size / 1024);
-  $installSizeArchive   += 1;
-  return($installSizeArchive);
-}
-
-sub OutputInstallSizeSystem()
-{
-  my($inLine, $inPath) = @_;
-  my($installSizeSystem) = 0;
-
-  # split read line by ":" deliminator
-  @colonSplit = split(/:/, $inLine);
-  if($#colonSplit >= 0)
-  {
-    # split line by "," deliminator
-    @commaSplit = split(/\,/, $colonSplit[1]);
-    if($#commaSplit >= 0)
-    {
-      foreach(@commaSplit)
-      {
-        # calculate the size of component installed using ds32.exe in Kbytes
-        print "   calculating size for $inPath/$_";
-        $installSizeSystem    = GetSpaceRequired($inPath/$_);
-      }
-    }
-  }
-
-  $installSizeSystem  = int($installSizeSystem / 1024);
-  $installSizeSystem += 1;
-  return($installSizeSystem);
-}
-
-sub ParseUserAgentShort()
-{
-  my($aUserAgent) = @_;
-  my($aUserAgentShort);
-
-  @spaceSplit = split(/ /, $aUserAgent);
-  if($#spaceSplit >= 0)
-  {
-    $aUserAgentShort = $spaceSplit[0];
-  }
-
-  return($aUserAgentShort);
-}
-
-##
-# GetSpaceRequired
-#
-# Finds the space used by the contents of a dir by recursively
-# traversing the subdir hierarchy and counting individual file
-# sizes
-#
-# @param   targetDir  the directory whose space usage to find
-# @return  spaceUsed  the number of bytes used by the dir contents
-# @author  sgehani@netscape.com
-##
-sub GetSpaceRequired()
-{
-    my($targetDir) = $_[0];
-    my($spaceUsed) = 0;
-    my(@dirEntries) = ();
-    my($item) = "";
-
-    @dirEntries = <$targetDir/*>;
-
-    # iterate over all dir entries 
-    foreach $item ( @dirEntries ) 
-    {
-        # if dir entry is dir
-        if (-d $item)
-        {       
-            # add GetSpaceRequired(<dirEntry>) to space used
-            $spaceUsed += GetSpaceRequired($item);
-        }
-        # else if dir entry is file
-        elsif (-e $item)
-        {
-            # add size of file to space used
-            $spaceUsed += (-s $item);
-        }
-    }
-
-    return $spaceUsed;
-}
deleted file mode 100644
--- a/xpinstall/packager/os2/makejs.pl
+++ /dev/null
@@ -1,239 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .jst file              - which is a .js template
-#        default version        - a date in the form of:
-#                                 major.minor.release.yyyymmdyhr
-#                                 ie: 5.0.0.1999120910
-#        component staging path - path to where the components are staged at
-#
-#        ie: perl makejs.pl xpcom.jst 5.0.0.99256
-#
-
-use File::Copy;
-use File::Basename;
-use Cwd;
-
-# Make sure there are at least three arguments
-if($#ARGV < 2)
-{
-  die "usage: $0 <.jst file> <default version> <staging path>
-
-       .jst file              : .js template input file
-       default version        : default julian base version number to use in the
-                                form of: major.minor.release.yydoy
-                                ie: 5.0.0.99256
-       component staging path : path to where this component is staged at
-                                ie: z:/stage/windows/32bit/en/5.0/xpcom
-       \n";
-}
-
-$DEPTH = "../../..";
-$topsrcdir        = GetTopSrcDir();
-$inJstFile        = $ARGV[0];
-$inVersion        = $ARGV[1];
-$inStagePath      = $ARGV[2];
-
-# get environment vars
-$userAgent        = $ENV{WIZ_userAgent};
-$userAgentShort   = $ENV{WIZ_userAgentShort};
-$xpinstallVersion = $ENV{WIZ_xpinstallVersion};
-$nameCompany      = $ENV{WIZ_nameCompany};
-$nameProduct      = $ENV{WIZ_nameProduct};
-$nameProductInternal = $ENV{WIZ_nameProductInternal};
-$fileMainExe      = $ENV{WIZ_fileMainExe};
-$fileMainIco      = $ENV{WIZ_fileMainIco};
-$fileUninstall    = $ENV{WIZ_fileUninstall};
-$greBuildID       = $ENV{WIZ_greBuildID};
-$greFileVersion   = $ENV{WIZ_greFileVersion};
-$greUniqueID      = $ENV{WIZ_greUniqueID};
-
-# Get the name of the file replacing the .jst extension with a .js extension
-@inJstFileSplit   = split(/\.jst/,$inJstFile);
-$outJsFile        = $inJstFileSplit[0];
-$outJsFile       .= ".js";
-$outTempFile      = $inJstFileSplit[0];
-$outTempFile     .= ".template";
-$foundLongFiles   = 0;
-
-print " copy \"$topsrcdir/xpinstall/packager/common/share.t\" $outTempFile\n";
-os2copy("$topsrcdir/xpinstall/packager/common/share.t", "$outTempFile");
-system("cat $inJstFile >> $outTempFile");
-
-# Open the input .template file
-open(fpInTemplate, $outTempFile) || die "\ncould not open $outTempFile: $!\n";
-
-# Open the output .js file
-open(fpOutJs, ">$outJsFile") || die "\nCould not open $outJsFile: $!\n";
-
-# While loop to read each line from input file
-while($line = <fpInTemplate>)
-{
-  if($line =~ /\$SpaceRequired\$/i) # For each line read, search and replace $SpaceRequired$ with the calculated size
-  {
-    $spaceRequired = 0;
-
-    # split read line by ":" deliminator
-    @colonSplit = split(/:/, $line);
-    if($#colonSplit > 0)
-    {
-      @semiColonSplit = split(/;/, $colonSplit[1]);
-      $subDir         = $semiColonSplit[0];
-      $spaceRequired  = GetSpaceRequired("$inStagePath/$subDir");
-      $line =~ s/\$SpaceRequired\$:$subDir/$spaceRequired/i;
-    }
-    else
-    {
-      $spaceRequired = GetSpaceRequired("$inStagePath");
-      $line =~ s/\$SpaceRequired\$/$spaceRequired/i;
-    }
-  }
-  else
-  {
-    $line =~ s/\$Version\$/$inVersion/i;
-    $line =~ s/\$UserAgent\$/$userAgent/i;
-    $line =~ s/\$UserAgentShort\$/$userAgentShort/i;
-    $line =~ s/\$XPInstallVersion\$/$xpinstallVersion/i;
-    $line =~ s/\$CompanyName\$/$nameCompany/i;
-    $line =~ s/\$ProductName\$/$nameProduct/i;
-    $line =~ s/\$ProductNameInternal\$/$nameProductInternal/gi;
-    $line =~ s/\$MainExeFile\$/$fileMainExe/i;
-    $line =~ s/\$MainIcoFile\$/$fileMainIco/i;
-    $line =~ s/\$UninstallFile\$/$fileUninstall/i;
-    $line =~ s/\$GreBuildID\$/$greBuildID/gi;
-    $line =~ s/\$GreFileVersion\$/$greFileVersion/gi;
-    $line =~ s/\$GreUniqueID\$/$greUniqueID/gi;
-  }
-
-  print fpOutJs $line;
-}
-
-close(fpInTemplate);
-close(fpOutJs);
-exit(0);
-
-sub GetSpaceRequired()
-{
-  my($inPath) = @_;
-  my($spaceRequired);
-
-  print "   calculating size for $inPath\n";
-  $spaceRequired    = GetSpaceRequired2($inPath);
-  $spaceRequired    = int($spaceRequired / 1024);
-  $spaceRequired   += 1;
-  return($spaceRequired);
-}
-
-sub ParseUserAgentShort()
-{
-  my($aUserAgent) = @_;
-  my($aUserAgentShort);
-
-  @spaceSplit = split(/ /, $aUserAgent);
-  if($#spaceSplit >= 0)
-  {
-    $aUserAgentShort = $spaceSplit[0];
-  }
-
-  return($aUserAgentShort);
-}
-
-sub GetTopSrcDir
-{
-  my($rootDir) = dirname($0) . "/$DEPTH";
-  my($savedCwdDir) = cwd();
-
-  chdir($rootDir);
-  $rootDir = cwd();
-  chdir($savedCwdDir);
-  return($rootDir);
-}
-
-sub os2copy
-{
-  my($source, $dest) = @_;
-  system("cp $source $dest");
-  return 1;
-}
-
-##
-# GetSpaceRequired2
-#
-# Finds the space used by the contents of a dir by recursively
-# traversing the subdir hierarchy and counting individual file
-# sizes
-#
-# @param   targetDir  the directory whose space usage to find
-# @return  spaceUsed  the number of bytes used by the dir contents
-# @author  sgehani@netscape.com
-##
-sub GetSpaceRequired2()
-{
-    my($targetDir) = $_[0];
-    my($spaceUsed) = 0;
-    my(@dirEntries) = ();
-    my($item) = "";
-
-    @dirEntries = <$targetDir/*>;
-
-    # iterate over all dir entries 
-    foreach $item ( @dirEntries ) 
-    {
-        # if dir entry is dir
-        if (-d $item)
-        {       
-            # add GetSpaceRequired(<dirEntry>) to space used
-            $spaceUsed += GetSpaceRequired2($item);
-        }
-        # else if dir entry is file
-        elsif (-e $item)
-        {
-            # add size of file to space used
-            $spaceUsed += (-s $item);
-        }
-    }
-
-    return $spaceUsed;
-}
deleted file mode 100644
--- a/xpinstall/packager/os2/makeuninstallini.pl
+++ /dev/null
@@ -1,129 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .it file
-#             - which is a .ini template
-#
-#        version
-#             - version to display on the blue background
-#
-#   ie: perl makeuninstallini.pl uninstall.it 6.0.0.1999120608
-#
-#
-
-if($#ARGV < 1)
-{
-  die "usage: $0 <.it file> <version>
-
-       .it file      : input ini template file
-
-       version       : version to be shown in setup.  Typically the same version
-                       as show in seamonkey.exe.  This version string will be shown
-                       on the title of the main dialog.
-
-                     ie: perl makeuninstallini.pl uninstall.it 6.0.0.1999120608
-                      or perl makeuninstallini.pl uninstall.it 6.0b2
-       \n";
-}
-
-$inItFile         = $ARGV[0];
-$inVersion        = $ARGV[1];
-
-# get environment vars
-$userAgent        = $ENV{WIZ_userAgent};
-$userAgentShort   = $ENV{WIZ_userAgentShort};
-$xpinstallVersion = $ENV{WIZ_xpinstallVersion};
-$nameCompany      = $ENV{WIZ_nameCompany};
-$nameProduct      = $ENV{WIZ_nameProduct};
-$fileMainExe      = $ENV{WIZ_fileMainExe};
-$fileUninstall    = $ENV{WIZ_fileUninstall};
-
-# Get the name of the file replacing the .it extension with a .ini extension
-@inItFileSplit    = split(/\./,$inItFile);
-$outIniFile       = $inItFileSplit[0];
-$outIniFile      .= ".ini";
-
-# Open the input file
-open(fpInIt, $inItFile) || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOutIni, ">$outIniFile") || die "\nCould not open $outIniFile: $!\n";
-
-print "\n Making $outIniFile...\n";
-
-# While loop to read each line from input file
-while($line = <fpInIt>)
-{
-  # For each line read, search and replace $Version$ with the version passed in
-  $line =~ s/\$Version\$/$inVersion/gi;
-  $line =~ s/\$UserAgent\$/$userAgent/gi;
-  $line =~ s/\$UserAgentShort\$/$userAgentShort/gi;
-  $line =~ s/\$XPInstallVersion\$/$xpinstallVersion/gi;
-  $line =~ s/\$CompanyName\$/$nameCompany/gi;
-  $line =~ s/\$ProductName\$/$nameProduct/gi;
-  $line =~ s/\$MainExeFile\$/$fileMainExe/gi;
-  $line =~ s/\$UninstallFile\$/$fileUninstall/gi;
-  print fpOutIni $line;
-}
-
-print " done!\n";
-
-# end of script
-exit(0);
-
-sub ParseUserAgentShort()
-{
-  my($aUserAgent) = @_;
-  my($aUserAgentShort);
-
-  @spaceSplit = split(/ /, $aUserAgent);
-  if($#spaceSplit >= 0)
-  {
-    $aUserAgentShort = $spaceSplit[0];
-  }
-
-  return($aUserAgentShort);
-}
-
deleted file mode 100644
--- a/xpinstall/packager/os2/makexpi.pl
+++ /dev/null
@@ -1,180 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#   IBM Corporation
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script creates .xpi files given component input name
-#
-# Input: component name
-#             - name of the component directory located in the staging path
-#        staging path
-#             - path to where the built files are staged at
-#        dest path
-#             - path to where the .xpi files are are to be created at.
-#               ** MUST BE AN ABSOLUTE PATH, NOT A RELATIVE PATH **
-#
-#   ie: perl makexpi.pl xpcom z:\exposed\windows\32bit\en\5.0 d:\build\mozilla\dist\win32_o.obj\install\working
-#
-
-use File::Copy;
-use Cwd;
-
-##
-# RecursiveModify
-#
-# Modify libs by recursing into all directories and calling
-# the DLLRNAME utility on all the DLLs.
-#
-# We could also use this to add LXLITE later
-#
-# @param   targetDir  the directory to traverse recursively
-#
-sub RecursiveModify
-{
-    my($targetDir) = $_[0];
-    my(@dirEntries) = ();
-    my($entry) = "";
-    my($saveCwd) = cwd();
-
-    @dirEntries = <$targetDir/*>;
-
-    # iterate over all subdir entries 
-    foreach $entry ( @dirEntries ) 
-    {
-        # if dir entry is dir
-        if (-d $entry)
-        {       
-            # recurse into subdir
-            RecursiveModify($entry);
-        } else {
-            if(($entry =~ /\.dll/i) || ($entry =~ /\.exe/i))
-            {
-                # Make sure it is not read only
-                # we already are in xpinstall/packager/os2, call without path
-                system("strip.cmd \"$entry\"");
-            }
-        }
-
-    }
-}
-
-# Make sure there are at least three arguments
-if($#ARGV < 2)
-{
-  die "usage: $0 <component name> <staging path> <dest path>
-
-       component name : name of component directory within staging path
-       staging path   : path to where the components are staged at
-       dest path      : path to where the .xpi files are to be created at
-       \n";
-}
-
-$inComponentName  = $ARGV[0];
-$inStagePath      = $ARGV[1];
-$inDestPath       = $ARGV[2];
-
-$inStagePath      =~ s/\//\\/g;
-$inDestPath       =~ s/\//\\/g;
-
-# check for existance of staging component path
-if(!(-e "$inStagePath\\$inComponentName"))
-{
-  die "invalid path: $inStagePath\\$inComponentName\n";
-}
-
-# check for existance of .js script
-if(!(-e "$inComponentName.js"))
-{
-  die "missing .js script: $inComponentName.js\n";
-}
-
-# delete component .xpi file
-if(-e "$inDestPath\\$inComponentName.xpi")
-{
-  unlink("$inDestPath\\$inComponentName.xpi");
-}
-if(-e "$inStagePath\\$inComponentName\\$inComponentName.xpi")
-{
-  unlink("$inDestPath\\$inComponentName.xpi");
-}
-
-# delete install.js
-if(-e "install.js")
-{
-  unlink("install.js");
-}
-
-# make sure inDestPath exists
-if(!(-d "$inDestPath"))
-{
-  mkdir("$inDestPath",0775);
-}
-
-print "\n Making $inComponentName.xpi...\n";
-
-$saveCwdir = cwd();
-
-system("cp $inComponentName.js $inStagePath\\$inComponentName\\install.js");
-
-# set permissions and possibly lxLite-strip binaries
-print "Modifying EXEs and DLLs in $inStagePath/$inComponentName...\n";
-RecursiveModify("$inStagePath\\$inComponentName");
-
-# change directory to where the files are, else zip will store
-# unwanted path information.
-chdir("$inStagePath\\$inComponentName");
-if(system("zip -rD $inDestPath\\$inComponentName.xpi *"))
-{
-  chdir("$saveCwdir");
-  die "\n Error: zip -rD $inDestPath\\$inComponentName.xpi *\n";
-}
-chdir("$saveCwdir");
-
-# delete install.js
-if(-e "install.js")
-{
-  unlink("install.js");
-}
-
-print "\n $inComponentName.xpi done!\n";
-
-# end of script
-exit(0);
-
deleted file mode 100644
--- a/xpinstall/packager/os2/mozilla-os2-stub-installer.jst
+++ /dev/null
@@ -1,47 +0,0 @@
-// main
-var srDest;
-var err;
-var fDesktop;
-var szFolderDesktop;
-
-srDest = $SpaceRequired$;
-err    = initInstall("SeaMonkey Installer", "/mozilla.org/SeaMonkey Installer", "$Version$"); 
-logComment("initInstall: " + err);
-
-// Find the current user's desktop
-// Doesn't appear to be possible from the OS2.INI
-// Currently hardcoding to C:\\DESKTOP - THIS IS WRONG (especially for translation)
-szFolderDesktop = "C:\\Desktop";
-
-fDesktop = getFolder("file:///", szFolderDesktop);
-logComment("Desktop location: " + fDesktop);
-
-if(verifyDiskSpace(fDesktop, srDest))
-{
-  setPackageFolder(fDesktop);
-
-  err =  addFile("",
-                 "",
-                 "seamonkey-os2-stub-installer.exe", // dir name in jar to extract 
-                 fDesktop,             // Where to put this file (Returned from getFolder) 
-                 "");                  // subdir name to create relative to fProgram
-
-  logComment("addFile() returned: " + err);
-
-  err = execute("seamonkey-os2-stub-installer.exe", "", false);
-  logComment("execute() returned: " + err);
-
-  // check return value
-  if(err==SUCCESS)
-  {
-    err = performInstall(); 
-    logComment("performInstall() returned: " + err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-// end main
-
deleted file mode 100644
--- a/xpinstall/packager/os2/psm.jst
+++ /dev/null
@@ -1,55 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files and generated files that
-  // need to be cleaned up.
-  deleteThisFile("Program",    "psm.exe");
-  deleteThisFile("Components", "psmglue.dll");
-
-  deleteThisFile("Components", "pipboot.xpt");
-  deleteThisFile("Components", "pipnss.xpt");
-  deleteThisFile("Components", "pippki.xpt");
-}
-
-// main
-var srDest;
-var err;
-var fProgram;
-
-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);
-
-  upgradeCleanup();
-  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)
-  {
-
-    var pki = getFolder("Chrome", "pippki.jar");
-    var nss = getFolder("Chrome", "pipnss.jar");
-    registerChrome(CONTENT | DELAYED_CHROME, pki, "content/pippki/");
-    registerChrome(CONTENT | DELAYED_CHROME, nss, "content/pipnss/");
-    err = performInstall(); 
-    logComment("performInstall() returned: " + err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/os2/rdir.pl
+++ /dev/null
@@ -1,129 +0,0 @@
-#!c:\perl\bin\perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-use Cwd;
-
-if($#ARGV < 0)
-{
-    print_usage();
-    exit(1);
-}
-
-print "removing directory:\n";
-for($i = 0; $i <= $#ARGV; $i++)
-{
-    print "  $ARGV[$i]";
-    remove_dir_structure($ARGV[$i]);
-    print "\n";
-}
-
-exit(0);
-# end
-
-sub remove_dir_structure
-{
-    my($curr_dir) = @_;
-    $save_cwd     = cwd();
-    $save_cwd     =~ s/\//\\/g;
-    if((-e "$curr_dir") && (-d "$curr_dir"))
-    {
-        remove_all_dir($curr_dir);
-        chdir($save_cwd);
-        remove_directory($curr_dir);
-        print " done!";
-    }
-    else
-    {
-        if(!(-e "$curr_dir"))
-        {
-            print "\n";
-            print "$curr_dir does not exist!";
-        }
-        elsif(!(-d "$curr_dir"))
-        {
-            print "\n";
-            print "$curr_dir is not a valid directory!";
-        }
-    }
-}
-
-sub remove_all_dir
-{
-    my($curr_dir) = @_;
-    my(@dirlist);
-    my($dir);
-
-    chdir("$curr_dir");
-    @dirlist = <*>;
-    foreach $dir (@dirlist)
-    {
-        if(-d "$dir")
-        {
-            print ".";
-            remove_all_dir($dir);
-        }
-    }
-    chdir("..");
-    remove_directory($curr_dir);
-}
-
-sub remove_directory
-{
-    my($directory) = @_;
-    my($save_cwd);
-
-    $save_cwd = cwd();
-    $save_cwd =~ s/\//\\/g;
-
-    if(-e "$directory")
-    {
-        chdir($directory);
-#        @files = <*>;
-        chmod 0777, <*>;
-        unlink <*>; # remove files
-        chdir($save_cwd);
-        rmdir $directory;         # remove directory
-    }
-}
-
-sub print_usage
-{
-    print "usage: $0 <dir1> [dir2 dir3...]\n";
-}
deleted file mode 100644
--- a/xpinstall/packager/os2/redirect.it
+++ /dev/null
@@ -1,4 +0,0 @@
-[Site Selector]
-Site0=$ArchiveUrl$
-Site1=$ArchiveUrl$
-
deleted file mode 100644
--- a/xpinstall/packager/os2/reporter.jst
+++ /dev/null
@@ -1,25 +0,0 @@
-var err = initInstall("Website Reporter", "Reporter", "$Version$"); 
-logComment("initInstall: " + err);
-
-var fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-var srDest = $SpaceRequired$;
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-  err = addDirectory("", "$Version$", "bin", fProgram, "", true);
-  logComment("addDirectory: " + err);
-  
-  var jarFolder = getFolder("Chrome", "reporter.jar");
-  registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/reporter/");
-  registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/reporter/");
-  registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/reporter/");
-  
-  err = getLastError();
-  if (err==SUCCESS)
-      performInstall(); 
-  else
-      cancelInstall(err);
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/os2/sroaming.jst
+++ /dev/null
@@ -1,25 +0,0 @@
-var err = initInstall("SRoaming v0.1", "Roaming", "$Version$"); 
-logComment("initInstall: " + err);
-
-var fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-err = addDirectory("", "$Version$", "bin", fProgram, "", true);
-logComment("addDirectory: " + err);
-
-addFile("SRoaming Chrome",
-        "bin/chrome/sroaming.jar", // jar source folder 
-        getFolder("Chrome"),       // target folder
-        "");                       // target subdir 
-
-var jarFolder = getFolder("Chrome", "sroaming.jar");
-registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/sroaming/");
-registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/sroaming/");
-registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/modern/sroaming/");
-registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/sroaming/");
-
-err = getLastError();
-if (err==SUCCESS)
-    performInstall(); 
-else
-    cancelInstall(err);
deleted file mode 100755
--- a/xpinstall/packager/os2/strip.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-chmod 777 %1
-lxlite /ydd /yxd /d %1
deleted file mode 100644
--- a/xpinstall/packager/os2/uninstall.it
+++ /dev/null
@@ -1,87 +0,0 @@
-[General]
-; Run Mode values:
-;   Normal - Shows all dialogs.  Requires user input.
-;   Auto   - Shows some dialogs, but none requiring user input.  It will
-;            automatically install the product using default values.
-;   Silent - Show no dialogs at all.  It will install product using default
-;            values.
-Run Mode=Normal
-
-Company Name=$CompanyName$
-Product Name=$ProductName$
-
-; Valid Path values:
-;   OS2DISK
-;   OS2DIR
-
-; This provides information on where in the OS/2 INI to locate the Uninstall log files
-;
-Main App=[Product OS2INIApp]
-Decrypt Main App=TRUE
-
-App=[Product CurrentVersion]
-Decrypt App=TRUE
-
-Uninstall Filename=$UninstallFile$
-
-[Check Instance0]
-Class Name=SeaMonkeyMessageWindow
-Window Name=
-;*** LOCALIZE ME BABY ***
-Message=$ProductName$ is detected to be currently running.  Please quit $ProductName$ before continuing.  Click Retry to perform the check again, or Cancel to exit the uninstaller.
-
-; These keys are not normally necessary for checking instances.  They are
-; set here because SeaMonkey requires a way to shut down it's turbo mode.
-Extra Cmd0 Parameter=-kill
-
-[Check Instance1]
-Process Name=mozturbo.exe
-Extra Cmd Parameter=-u
-
-[Dialog Uninstall]
-FONTNAME=WarpSans
-FONTSIZE=9
-Show Dialog=TRUE
-Title=$ProductName$ Uninstaller
-Message0=Are you sure you want to completely remove %s and all of its components?
-
-Uninstall=~Uninstall
-Cancel=~Cancel
-Message1=Uninstall has detected that the following shared file is no longer used by any programs.  If any programs still require the shared file and it is removed, those programs may no longer function.  Are you sure you want to remove this shared file?
-Message2=Leaving this file will not harm your system.  If you are not sure, it is recommended that the shared file be not removed from the system.
-FileName=File name:
-No=~No
-NoToAll=N~o to all
-Yes=~Yes
-YesToAll=Y~es to all
-
-;[Check Instance0]
-;Class Name=SeaMonkeyWindowClass
-;Window Name=
-;Message=Setup has detected that an instance of Seamonkey is currently running.  Please quit Seamonkey before continuing Setup.
-
-;[Check Instance1]
-;Process Name=psm.exe
-;Message=Setup has detected that an instance of Personal Security Manager is currently running.  Personal Security Manager will quit by itself when there are no other applications running that require it.  A reboot might be necessary.  Setup will then be able to continue.
-
-; This section attempts to restore/undo the desktop integration performed by the browser/mail
-[Restore Desktop Integration]
-Enabled=TRUE
-
-[Messages]
-ERROR_DLL_LOAD=Could not load %s
-ERROR_STRING_LOAD=Could not load string resource ID %d
-ERROR_STRING_NULL=Null pointer encountered.
-ERROR_GLOBALALLOC=Memory allocation error.
-ERROR_FAILED=%s failed.
-ERROR_DIALOG_CREATE=Could not create %s dialog.
-DLGQUITTITLE=Question
-DLGQUITMSG=Are you sure you want to cancel?
-ERROR_GET_SYSTEM_DIRECTORY_FAILED=GetSystemDirectory() failed.
-ERROR_GET_WINDOWS_DIRECTORY_FAILED=GetWindowsDirectory() failed.
-ERROR_CREATE_TEMP_DIR=Setup was unable to create the TEMP directory: %s
-MB_WARNING_STR=Warning
-ERROR_UNINSTALL_LOG_FOLDER=Uninstall log folder not found:%s
-MB_MESSAGE_STR=Message
-DLG_REMOVE_FILE_TITLE=Remove File?
-
deleted file mode 100644
--- a/xpinstall/packager/os2/venkman.jst
+++ /dev/null
@@ -1,22 +0,0 @@
-var err = initInstall("JavaScript Debugger", "Venkman", "$Version$"); 
-logComment("initInstall: " + err);
-
-addFile("Venkman Service",
-        "bin/components/venkman-service.js",
-        getFolder("Components"),
-        "");
-
-addFile("Venkman Chrome",
-        "bin/chrome/venkman.jar",   // jar source folder 
-        getFolder("Chrome"),        // target folder
-        "");                        // target subdir 
-
-registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "content/venkman/");
-registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "skin/modern/venkman/");
-registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "locale/en-US/venkman/");
-
-err = getLastError();
-if (err==SUCCESS)
-    performInstall(); 
-else
-    cancelInstall(err);
deleted file mode 100644
--- a/xpinstall/packager/os2/xpcom.jst
+++ /dev/null
@@ -1,56 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files and generated files that
-  // need to be cleaned up.
-  deleteThisFile("Program",    "component.reg");
-  deleteThisFile("Components", "compreg.dat");
-  deleteThisFile("Components", "xpti.dat");
-  deleteThisFile("Components", "xptitemp.dat");
-
-  deleteThisFile("Program", "mozrmi36.dll");
-}
-
-// main
-var srDest;
-var err;
-var fProgram;
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("XPCOM", "XPCOM", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram  = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-// Log component.reg file so it can be deleted by the uninstaller.
-// These two files are created after installation is done, thus
-// are normally not logged for uninstall.
-logComment("Installing: " + fProgram + "component.reg");
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  setPackageFolder(fProgram);
-
-  upgradeCleanup();
-  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() of Program returned: " + err);
-
-  if( err == SUCCESS )
-  {
-    err = performInstall(); 
-    logComment("performInstall() returned: " + err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-
-// end main
-
deleted file mode 100644
--- a/xpinstall/packager/unix/Makefile.in
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   leaf nunes <leaf@mozilla.org>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH		= ../../..
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
-
-MODULE		= xpinstall
-
-STUB_NAME = $(PKG_BASENAME).stub-installer
-SEA_NAME  = $(PKG_BASENAME).installer
-
-ifndef INSTALLER_URL
-INSTALLER_URL = "http://ftp.mozilla.org/pub/mozilla.org/pub/seamonkey/nightly/latest-trunk/linux-xpi"
-endif
-
-# XXX For Suite with MOZ_XUL_APP set we need a new config.it. This selects that
-# the old one can be removed once we throw the switch.
-ifdef MOZ_XUL_APP
-CONFIG_IT_LOCATION=$(topsrcdir)/suite/installer/unix
-else
-CONFIG_IT_LOCATION=$(srcdir)
-endif
-
-installer:
-	$(PERL) $(srcdir)/deliver.pl \
-                -o $(DEPTH) -s $(topsrcdir) \
-                $(MOZ_APP_VERSION) $(INSTALLER_URL) $(STUB_NAME) $(SEA_NAME) NO $(MOZ_APP_NAME) $(MOZ_APP_DISPLAYNAME) $(CONFIG_IT_LOCATION)
-
-include $(topsrcdir)/config/rules.mk
-
deleted file mode 100644
--- a/xpinstall/packager/unix/browser.jst
+++ /dev/null
@@ -1,140 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files from Netscape 6.0 and Netscape 6.01 that
-  // need to be cleaned up.
-  deleteThisFile("Components", "libmozucth.so");
-  deleteThisFile("Components", "libpsmglue.so");
-  deleteThisFile("Components", "libsample.so");
-  deleteThisFile("Components", "nsSample.js");
-  deleteThisFile("Components", "libucvja.so");
-  deleteThisFile("Components", "libucvko.so");
-  deleteThisFile("Components", "libucvtw.so");
-  deleteThisFile("Components", "libucvtw2.so");
-  deleteThisFile("Components", "libucvlatin.so");
-  deleteThisFile("Components", "libucvcn.so");
-  deleteThisFile("Components", "libucvibm.so");
-  deleteThisFile("Components", "libtxtsvc.so");
-  deleteThisFile("Components", "libgfx2.so");
-  deleteThisFile("Components", "gfx2.xpt");
-  deleteThisFile("Components", "libimggif.so");
-  deleteThisFile("Components", "libimgjpeg.so");
-  deleteThisFile("Components", "libimgpng.so");
-  deleteThisFile("Components", "libimgbmp.so");
-  deleteThisFile("Components", "libimgppm.so");
-  deleteThisFile("Components", "libimgxbm.so");
-  deleteThisFile("Components", "libimgmng.so");
-  deleteThisFile("Components", "libunicharutil.so");
-  deleteThisFile("Components", "libchardet.so");
-  deleteThisFile("Components", "liblwbrk.so");
-  deleteThisFile("Components", "libnslocale.so");
-  deleteThisFile("Components", "libstrres.so");
-  deleteThisFile("Components", "libmozbrwsr.so");
-  deleteThisFile("Components", "libnkcache.so");
-  deleteThisFile("Components", "libjsloader.so");
-  deleteThisFile("Components", "libgkcontent.so");
-  deleteThisFile("Components", "libtransformiix.so");
-  deleteThisFile("Components", "libjsurl.so");
-  deleteThisFile("Components", "liburiloader.so");
-  deleteThisFile("Components", "libgkview.so");
-  deleteThisFile("Components", "libshistory.so");
-  deleteThisFile("Components", "libjsdom.so");
-  deleteThisFile("Components", "libinspector.so");
-  deleteThisFile("Components", "compreg.dat");
-  deleteThisFile("Components", "xpti.dat");
-  deleteThisFile("Components", "xptitemp.dat");
-  deleteThisFile("Program",    "defaults/pref/config.js");
-  deleteThisFile("Program",    "defaults/pref/initpref.js");
-  deleteThisFile("Program",    "defaults/pref/bug307259.js");
-  deleteThisFile("Program",    "defaults/wallet/URLFieldSchema.tbl");
-  deleteThisFile("Program",    "libcmt.so");
-  deleteThisFile("Program",    "libjpeg.so");
-  deleteThisFile("Program",    "libprotocol.so");
-  deleteThisFile("Program",    "libldap50.so");
-  deleteThisFile("Program",    "libprldap50.so");
-  deleteThisFile("Program",    "liblber50.so");
-}
-
-var srDest = $SpaceRequired$;
-
-var err = initInstall("$AppDisplayName$ Navigator", "Browser", "$Version$"); 
-logComment("initInstall: " + err);
-
-var communicatorFolder = getFolder("Program");
-logComment("communicatorFolder: " + communicatorFolder);
-
-if (verifyDiskSpace(communicatorFolder, srDest))
-{
-    // Call upgradeCleanup() before addDirectory() in case we accidentaly
-    // delete files that we happen to be also installing.  This way, if we do,
-    // it will just get reinstalled.  This is for safety measure.
-    upgradeCleanup();
-    err = addDirectory("Program",
-                       "$Version$",
-                       "bin",              // jar source folder
-                       communicatorFolder, // target folder
-                       "",                 // target subdir 
-                       true );             // force flag 
-
-    logComment("addDirectory() returned: " + err);
-
-    // create the plugins folder next to mozilla 
-    var pluginsFolder = getFolder("Plugins");
-    var ignoreErr = dirCreate(pluginsFolder);
-    logComment("dirCreate() returned: " + ignoreErr);
-
-    var cf = getFolder("Chrome");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"toolkit.jar"),"content/global-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator-platform/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/navigator-platform/");
-
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"toolkit.jar"),"content/global-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/editor-region/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/navigator-region/");
-
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"toolkit.jar"),"content/global/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/autoconfig/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/cookie/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/wallet/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/communicator/downloadmanager/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/branding/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/editor/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/navigator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/necko/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/mozldap/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/communicator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/editor/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/global/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/messenger/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"classic.jar"),"skin/classic/navigator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/communicator/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/editor/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/global/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/messenger/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder(cf,"modern.jar"),"skin/modern/navigator/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"help.jar"),"content/help/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder(cf,"comm.jar"),"content/xbl-marquee/");
-
-    if (err==SUCCESS)
-    {
-	    err = performInstall(); 
-	    logComment("performInstall() returned: " + err);
-        if (! ('buildID' in Install))
-        {
-          logComment("Running Pre-Mozilla 0.9.1");
-          initInstall("Post-install Cleanup Utility", "Browser/xpicleanup", "$Version$");
-          cleanupUtility = getFolder(communicatorFolder, "xpicleanup");
-          err = File.execute(cleanupUtility);
-          logComment("execute() returned: " + err);
-          err = performInstall();
-        }
-    }
-    else
-    {
-	    cancelInstall(err);
-	    logComment("cancelInstall() due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/chatzilla.jst
+++ /dev/null
@@ -1,36 +0,0 @@
-var srDest = $SpaceRequired$;
-
-var err = initInstall("Chatzilla v0.5", "Chatzilla", "$Version$"); 
-logComment("initInstall: " + err);
-
-if (verifyDiskSpace(getFolder("Program"), srDest))
-{
-    addFile("Chatzilla service",
-            "$Version$",
-            "bin/components/chatzilla-service.js",
-            getFolder("Components"),
-            "chatzilla-service.js",
-            true);
-
-    addFile("Chatzilla Chrome",
-            "bin/chrome/chatzilla.jar", // jar source folder 
-            getFolder("Chrome"),        // target folder
-            "");                        // target subdir 
-
-    addDirectory("Chatzilla Icons",
-                 "bin/chrome/icons",  // jar source folder
-                 getFolder("Chrome", "icons"), // target folder
-                 "");                 // target subdir
-
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/");
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/sm/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "skin/modern/chatzilla/");
-    registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "locale/en-US/chatzilla/");
-
-    if (err==SUCCESS)
-        performInstall(); 
-    else
-        cancelInstall(err);
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/config.it
+++ /dev/null
@@ -1,253 +0,0 @@
-; XXXThis is the Configuration file for Suite builds with MOZ_XUL_APP=0
-; set. For MOZ_XUL_APP=1 see suite/installer/unix/config.it
-; Changes should be reflected in both files.
-
-;-------------------------------------------------------------------------
-[General]
-;-------------------------------------------------------------------------
-Default Location=/usr/local/$AppName$
-; *** LOCALIZE ME BABY ***
-Title=$AppDisplayName$ Installer
-; The Default Setup Type value must exactly match the "Description Short"
-; value of the desired setup type.
-; *** LOCALIZE ME BABY ***
-Default Setup Type=Typical
-
-
-;-------------------------------------------------------------------------
-[Cleanup On Upgrade]
-;-------------------------------------------------------------------------
-ObjectToIgnore0=plugins
-ObjectToIgnore1=install.log
-
-
-;-------------------------------------------------------------------------
-[Dialog Welcome]
-;-------------------------------------------------------------------------
-Show Dialog=TRUE
-Title=$AppDisplayName$ Installer
-Readme File=README
-
-
-;-------------------------------------------------------------------------
-[Dialog License]
-;-------------------------------------------------------------------------
-Show Dialog=TRUE
-Title=$AppDisplayName$ Installer
-License File=MPL-1.1.txt
-
-
-;-------------------------------------------------------------------------
-[Dialog Setup Type]
-;-------------------------------------------------------------------------
-Title=$AppDisplayName$ Installer
-; *** LOCALIZE ME BABY ***
-Message0=Please select the setup type you wish to install.
-
-[Setup Type0]
-; *** LOCALIZE ME BABY ***
-Description Short=Typical
-; *** LOCALIZE ME BABY ***
-Description Long=Navigator and Mail & News
-C0=Component0
-C1=Component1
-C2=Component2
-C3=Component3
-C4=Component5
-C5=Component6
-C6=Component10
-
-[Setup Type1]
-; *** LOCALIZE ME BABY ***
-Description Short=Complete
-; *** LOCALIZE ME BABY ***
-Description Long=Navigator, Mail & News, Chatzilla, Debugger, Inspector, and Reporter
-C0=Component0
-C1=Component1
-C2=Component2
-C3=Component3
-C4=Component4
-C5=Component5
-C6=Component6
-C7=Component7
-C8=Component8
-C9=Component9
-C10=Component10
-
-[Setup Type2]
-; *** LOCALIZE ME BABY ***
-Description Short=Navigator
-; *** LOCALIZE ME BABY ***
-Description Long=Navigator only
-C0=Component0
-C1=Component1 
-C2=Component3 
-C3=Component5
-C4=Component6
-C5=Component10
-
-[Setup Type3]
-; *** LOCALIZE ME BABY ***
-Description Short=Custom
-; *** LOCALIZE ME BABY ***
-Description Long=Choose components you wish to install
-C0=Component0
-C1=Component1
-C2=Component2
-C3=Component3
-C4=Component4
-C5=Component5
-C6=Component6
-C7=Component7
-C8=Component8
-C9=Component9
-C10=Component10
-
-
-;-------------------------------------------------------------------------
-[Dialog Select Components]
-;-------------------------------------------------------------------------
-Title=$AppDisplayName$ Installer
-; *** LOCALIZE ME BABY ***
-Message0=Please select the components you wish to install.
-
-[Component0]
-Description Short=XPInstall Engine
-; *** LOCALIZE ME BABY ***
-Description Long=Installer technology
-Archive=xpcom.xpi
-$InstallSize$:xpcom
-$InstallSizeArchive$:xpcom.xpi
-Attributes=SELECTED|INVISIBLE
-URL0=$URLPath$
-
-[Component1]
-Description Short=Navigator
-; *** LOCALIZE ME BABY ***
-Description Long=for web browsing
-Archive=browser.xpi
-$InstallSize$:browser
-$InstallSizeArchive$:browser.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component2]
-Description Short=Mail & News
-; *** LOCALIZE ME BABY ***
-Description Long=for reading email and newsgroups
-Archive=mail.xpi
-$InstallSize$:mail
-$InstallSizeArchive$:mail.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component3]
-Description Short=Personal Security Manager
-; *** LOCALIZE ME BABY ***
-Description Long=for secure browsing and email; required for SSL(https) and S/MIME
-Archive=psm.xpi
-$InstallSize$:psm
-$InstallSizeArchive$:psm.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component4]
-Description Short=Chatzilla
-; *** LOCALIZE ME BABY ***
-Description Long=for chatting on Internet Relay Chat(IRC)
-Archive=chatzilla.xpi
-$InstallSize$:chatzilla
-$InstallSizeArchive$:chatzilla.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component5]
-Description Short=English US Profile Defaults
-; *** LOCALIZE ME BABY ***
-Description Long=English US Profile Defaults
-Archive=deflenus.xpi
-$InstallSize$:deflenus
-$InstallSizeArchive$:deflenus.xpi
-Attributes=SELECTED|INVISIBLE
-URL0=$URLPath$
-
-[Component6]
-Description Short=English (US) Language Pack
-; *** LOCALIZE ME BABY ***
-Description Long=English (US) Language Pack
-Archive=langenus.xpi
-$InstallSize$:langenus
-$InstallSizeArchive$:langenus.xpi
-Attributes=SELECTED|INVISIBLE
-URL0=$URLPath$
-
-[Component7]
-Description Short=Debugger
-; *** LOCALIZE ME BABY ***
-Description Long=for debugging JavaScript
-Archive=venkman.xpi
-$InstallSize$:venkman
-$InstallSizeArchive$:venkman.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component8]
-Description Short=Inspector
-; *** LOCALIZE ME BABY ***
-Description Long=DOM Inspector
-Archive=inspector.xpi
-$InstallSize$:inspector
-$InstallSizeArchive$:inspector.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component9]
-Description Short=Website Reporter
-; *** LOCALIZE ME BABY ***
-Description Long=Website Reporter
-Archive=reporter.xpi
-$InstallSize$:reporter
-$InstallSizeArchive$:reporter.xpi
-Attributes=SELECTED
-URL0=$URLPath$
-
-[Component10]
-Description Short=Quality Feedback Agent
-; *** LOCALIZE ME BABY ***
-Description Long=for reporting $AppDisplayName$ crash information
-Archive=talkback.xpi
-Install Size=1960
-Archive Size=812
-Attributes=SELECTED
-URL0=$URLPath$
-
-;-------------------------------------------------------------------------
-[Dialog Start Install]
-;-------------------------------------------------------------------------
-Show Dialog=TRUE
-Title=$AppDisplayName$ Installer
-; *** LOCALIZE ME BABY ***
-Message0=Click the Install button to proceed with this installation.
-XPInstall Engine=xpcom.xpi
-
-
-;-------------------------------------------------------------------------
-[PostInstallRun0]
-;-------------------------------------------------------------------------
-Target=run-mozilla.sh
-Arguments=regxpcom
-
-
-;-------------------------------------------------------------------------
-[PostInstallRun1]
-;-------------------------------------------------------------------------
-Target=run-mozilla.sh
-Arguments=regchrome
-
-
-;-------------------------------------------------------------------------
-[LegacyCheck0]
-;-------------------------------------------------------------------------
-Filename=$AppName$-bin
-; *** LOCALIZE ME BABY ***
-Message=The selected directory already contains a $AppDisplayName$ installation. To delete %s completely, please press the 'Delete Directory' button. Information in your $AppDisplayName$ profile(s) should not be affected. Or, please press the 'Cancel' button and choose a different destination directory.
deleted file mode 100644
--- a/xpinstall/packager/unix/deflenus.jst
+++ /dev/null
@@ -1,38 +0,0 @@
-var srDest = $SpaceRequired$;
-var err;
-var fProgram;
-
-// ----LOCALIZATION NOTE: translate only these ------
-var prettyName = "US Regional Pack";
-var regName    = "defaults/mozilla/US";
-// --- END CHANGABLE STUFF ---
-
-err    = initInstall(prettyName, regName, "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-    err = addDirectory("",
-                       "$Version$",
-                       "bin",
-                       fProgram,
-                       "",
-                       true);
-    logComment("addDirectory() returned: " + err);
-
-    if (err == SUCCESS)
-    {
-        err = performInstall(); 
-        logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-        cancelInstall(err);
-        logComment("cancelInstall due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/deliver-static.pl
+++ /dev/null
@@ -1,200 +0,0 @@
-#!perl
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Samir Gehani <sgehani@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#==============================================================================
-# usage: perl deliver.pl version URLPath stubName blobName buildWizard appName appDisplayName
-# e.g.   perl deliver.pl 5.0.0.1 ftp://foo/ mozilla-installer mozilla-installer mozilla Mozilla
-#
-# Delivers the stub and blob installers to mozilla/installer/stub 
-# and mozilla/installer/sea, respectively.  Also, delivers the .xpis
-# to mozilla/installer/raw/xpi.
-#
-# NOTE:
-# -----
-#   * all args are optional 
-#   * version is used by xpinstall and needs to bumped every build
-#   * URLPath must have a trailing slash
-#   * if you are not building a release version no need to pass any args
-#   * pass in "buildwizard" as the last arg to build the wizard too
-#   * you must be in deliver.pl's dir when calling it since it assumes DEPTH
-#==============================================================================
-
-use Cwd;
-
-#// constants
-$_DEPTH  = "../../..";
-$_orig = cwd();
-chdir($_DEPTH); # resolve absolute path
-$TREETOP = cwd();
-chdir($_orig);
-
-$WIZARD = $TREETOP."/xpinstall/wizard/unix/src2";
-$ROOT   = $TREETOP."/installer";
-$STAGE  = $ROOT."/stage";
-$RAW    = $ROOT."/raw";
-$XPI    = $RAW."/xpi";
-$BLOB   = $ROOT."/sea";
-$STUB   = $ROOT."/stub";
-
-#// default args
-$aVersion = "5.0.0.0";
-$aURLPath = "ftp://ftp.mozilla.org/";
-$aStubName = "mozilla-installer";
-$aBlobName = "mozilla-installer";
-$aBuildWizard = "NO";
-$aMozAppName = "mozilla";
-$aMozAppDisplayName = "Mozilla";
-
-#// parse args
-# all optional args: version, URLPath, stubName, blobName, mozAppName,
-# mozAppDisplayName
-if ($#ARGV >= 6) { $aMozAppDisplayName = $ARGV[6]; }
-if ($#ARGV >= 5) { $aMozAppName        = $ARGV[5]; }
-if ($#ARGV >= 4) { $aBuildWizard       = $ARGV[4]; }
-if ($#ARGV >= 3) { $aBlobName          = $ARGV[3]; }
-if ($#ARGV >= 2) { $aStubName          = $ARGV[2]; }
-if ($#ARGV >= 1) { $aURLPath           = $ARGV[1]; }
-if ($#ARGV >= 0) { $aVersion           = $ARGV[0]; }
-
-$SUBDIR = "$aMozAppName-installer";
-
-#// create dist structure ($ROOT/{stage,raw,stub,sea})
-if (-e $ROOT)
-{
-    if (-w $ROOT) 
-        { system("rm -rf $ROOT"); }
-    else 
-        { die "--- deliver.pl: check perms on $ROOT: $!"; }
-}
-
-mkdir($ROOT, 0777)  || die "--- deliver.pl: couldn't mkdir root: $!";
-mkdir($STAGE, 0777) || die "--- deliver.pl: couldn't mkdir stage: $!";
-mkdir($RAW, 0777)   || die "--- deliver.pl: couldn't mkdir raw: $!";
-mkdir($XPI, 0777)   || die "--- deliver.pl: couldn't mkdir xpi: $!";
-mkdir($BLOB, 0777)  || die "--- deliver.pl: couldn't mkdir sea: $!";
-mkdir($STUB, 0777)  || die "--- deliver.pl: couldn't mkdir stub: $!";
-
-
-#-------------------------------------------------------------------------
-#   Deliver wizard
-#-------------------------------------------------------------------------
-#// build the wizard 
-if ($aBuildWizard eq "buildwizard")
-{
-    chdir($WIZARD);
-    system($TREETOP."/build/autoconf/update-makefile.sh");
-
-    #// make unix wizard
-    system("make");
-    chdir($_orig);
-}
-
-#// deliver wizard to staging area (mozilla/installer/stage)
-copy("$WIZARD/mozilla-installer", "$RAW/$aMozAppName-installer");
-copy("$WIZARD/mozilla-installer-bin", "$RAW/$aMozAppName-installer-bin");
-copy("$WIZARD/installer.ini", $RAW);
-copy("$WIZARD/README", $RAW);
-copy("$WIZARD/MPL-1.1.txt", $RAW);
-chmod(0755, "$RAW/$aMozAppName-installer"); #// ensure shell script is executable
-
-spew("Completed delivering wizard");
-
-
-#-------------------------------------------------------------------------
-#   Make .xpis
-#-------------------------------------------------------------------------
-#// call pkgcp.pl
-chdir("$TREETOP/xpinstall/packager");
-system("perl pkgcp.pl -o unix -s $TREETOP/dist -d $STAGE -f $TREETOP/xpinstall/packager/packages-static-unix -v");
-spew("Completed copying build files for STATIC BUILD");
-
-#// call xptlink.pl to make big .xpt files/component
-system("perl xptlink.pl -s $TREETOP/dist -d $STAGE -v");
-spew("Completed xptlinking"); 
-
-#// call makeall.pl tunneling args (delivers .xpis to mozilla/installer/stage)
-chdir("$TREETOP/xpinstall/packager/unix");
-system("perl makeall.pl $aVersion $aURLPath $STAGE $XPI $aMozAppName $aMozAppDisplayName");
-system("mv $TREETOP/xpinstall/packager/unix/config.ini $RAW");
-spew("Completed making .xpis");
-
-
-#-------------------------------------------------------------------------
-#   Package stub and sea
-#-------------------------------------------------------------------------
-#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license, 
-#// config.ini, installer.ini into stub
-spew("Creating stub installer tarball...");
-chdir("$RAW/..");
-system("mv $RAW $ROOT/$SUBDIR");
-system("tar cvf $STUB/$aStubName.tar ./$SUBDIR/$aMozAppName-installer ./$SUBDIR/$aMozAppName-installer-bin ./$SUBDIR/installer.ini ./$SUBDIR/README ./$SUBDIR/config.ini ./$SUBDIR/MPL-1.1.txt"); 
-system("mv $ROOT/$SUBDIR $RAW");
-system("bzip2 $STUB/$aStubName.tar");
-spew("Completed creating stub installer tarball");
-
-#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license, 
-#// config.ini, installer.ini and .xpis into sea
-spew("Creating blob (aka full or sea) installer tarball...");
-system("mv $RAW $ROOT/$SUBDIR");
-system("tar cvf $BLOB/$aBlobName.tar ./$SUBDIR/"); 
-system("mv $ROOT/$SUBDIR $RAW");
-system("bzip2 $BLOB/$aBlobName.tar");
-spew("Completed creating blob (aka full or sea) installer tarball");
-chdir($_orig);
-
-spew("Completed packaging stub and sea");
-spew("Installers built (see $ROOT/{stub,sea})");
-
-
-#-------------------------------------------------------------------------
-#   Utilities
-#-------------------------------------------------------------------------
-sub spew 
-{
-    print "+++ deliver.pl: ".$_[0]."\n";
-}
-
-sub copy
-{
-    if (! -e $_[0])
-    {
-        die "--- deliver.pl: couldn't cp cause ".$_[0]." doesn't exist: $!";
-    }
-    system ("cp ".$_[0]." ".$_[1]);
-}
deleted file mode 100644
--- a/xpinstall/packager/unix/deliver.pl
+++ /dev/null
@@ -1,283 +0,0 @@
-#!perl
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Samir Gehani <sgehani@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#==============================================================================
-# usage: perl deliver.pl version URLPath stubName blobName buildWizard appName appDisplayName
-# e.g.   perl deliver.pl 5.0.0.1 ftp://foo/ mozilla-installer mozilla-installer mozilla Mozilla
-#
-# Delivers the stub and blob installers to mozilla/installer/stub 
-# and mozilla/installer/sea, respectively.  Also, delivers the .xpis
-# to mozilla/installer/raw/xpi.
-#
-# NOTE:
-# -----
-#   * all args are optional 
-#   * version is used by xpinstall and needs to bumped every build
-#   * URLPath must have a trailing slash
-#   * if you are not building a release version no need to pass any args
-#   * pass in "buildwizard" as the last arg to build the wizard too
-#   * you must be in deliver.pl's dir when calling it since it assumes DEPTH
-#==============================================================================
-
-use Cwd;
-use Getopt::Std;
-use File::Find;
-use File::Path;
-getopts('o:s:');
-
-@libraryList = undef;
-
-#// constants
-$_DEPTH  = "../../..";
-
-# Determine topsrcdir
-$_orig = cwd();
-if (defined($opt_s)) {
-    chdir($opt_s) || die "chdir($opt_s): $!\n";
-} else {
-    chdir($_DEPTH); # resolve absolute path
-}
-$topsrcdir = cwd();    
-chdir($_orig);
-
-# Determine topobjdir
-if (defined($opt_o)) {
-    chdir($opt_o) || die "chdir($opt_o): $!\n";
-} else {
-    chdir($_DEPTH); # resolve absolute path
-}
-$topobjdir = cwd();    
-chdir($_orig);
-
-$WIZSRC = $topsrcdir."/xpinstall/wizard/unix/src2";
-$WIZARD = $topobjdir."/xpinstall/wizard/unix/src2";
-$ROOT   = $topobjdir."/installer";
-$STAGE  = $ROOT."/stage";
-$RAW    = $ROOT."/raw";
-$XPI    = $RAW."/xpi";
-$BLOB   = $ROOT."/sea";
-$STUB   = $ROOT."/stub";
-
-#// default args
-$aVersion = "5.0.0.0";
-$aURLPath = "ftp://ftp.mozilla.org/";
-$aStubName = "mozilla-installer";
-$aBlobName = "mozilla-installer";
-$aBuildWizard = "NO";
-$aMozAppName = "mozilla";
-$aMozAppDisplayName = "Mozilla";
-$aConfigItLocation = ".";
-
-#// parse args
-# all optional args: version, URLPath, stubName, blobName, MozAppName,
-# MozDisplayName
-if ($#ARGV >= 7) { $aConfigItLocation  = $ARGV[7]; }
-if ($#ARGV >= 6) { $aMozAppDisplayName = $ARGV[6]; }
-if ($#ARGV >= 5) { $aMozAppName        = $ARGV[5]; }
-if ($#ARGV >= 4) { $aBuildWizard       = $ARGV[4]; }
-if ($#ARGV >= 3) { $aBlobName          = $ARGV[3]; }
-if ($#ARGV >= 2) { $aStubName          = $ARGV[2]; }
-if ($#ARGV >= 1) { $aURLPath           = $ARGV[1]; }
-if ($#ARGV >= 0) { $aVersion           = $ARGV[0]; }
-
-$SUBDIR = "$aMozAppName-installer";
-
-#// create dist structure ($ROOT/{stage,raw,stub,sea})
-if (-e $ROOT)
-{
-    if (-w $ROOT) 
-        { system("rm -rf $STAGE $RAW $XPI $BLOB $STUB"); }
-    else 
-        { die "--- deliver.pl: check perms on $ROOT: $!"; }
-}
-else
-{
-    mkdir($ROOT, 0777)  || die "--- deliver.pl: couldn't mkdir root: $!";
-}
-
-mkdir($STAGE, 0777) || die "--- deliver.pl: couldn't mkdir stage: $!";
-mkdir($RAW, 0777)   || die "--- deliver.pl: couldn't mkdir raw: $!";
-mkdir($XPI, 0777)   || die "--- deliver.pl: couldn't mkdir xpi: $!";
-mkdir($BLOB, 0777)  || die "--- deliver.pl: couldn't mkdir sea: $!";
-mkdir($STUB, 0777)  || die "--- deliver.pl: couldn't mkdir stub: $!";
-
-
-#-------------------------------------------------------------------------
-#   Deliver wizard
-#-------------------------------------------------------------------------
-#// build the wizard 
-if ($aBuildWizard eq "buildwizard")
-{
-    chdir($WIZARD);
-    system($topsrcdir."/build/autoconf/update-makefile.sh");
-
-    #// make unix wizard
-    system("make");
-    chdir($_orig);
-}
-
-#// deliver wizard to staging area (mozilla/installer/stage)
-copy("$WIZSRC/mozilla-installer", "$RAW/$aMozAppName-installer");
-copy("$WIZARD/mozilla-installer-bin", "$RAW/$aMozAppName-installer-bin");
-copy("$WIZSRC/installer.ini", $RAW);
-copy("$WIZSRC/README", $RAW);
-copy("$WIZSRC/MPL-1.1.txt", $RAW);
-chmod(0755, "$RAW/$aMozAppName-installer"); #// ensure shell script is executable
-
-spew("Completed delivering wizard");
-
-
-#-------------------------------------------------------------------------
-#   Make .xpis
-#-------------------------------------------------------------------------
-#// call pkgcp.pl
-chdir("$topsrcdir/xpinstall/packager");
-system("perl pkgcp.pl -o unix -s $topobjdir/dist -d $STAGE -f $topsrcdir/xpinstall/packager/packages-unix -v");
-spew("Completed copying build files");
-
-#// call xptlink.pl to make big .xpt files/component
-system("perl xptlink.pl -s $topobjdir/dist -d $STAGE -v");
-spew("Completed xptlinking"); 
-
-#// strip libs
-RecursiveStrip($STAGE);
-spew("Completed stripping libs in $STAGE");
-
-#// regenerate the NSS .chk files
-system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libsoftokn3.so");
-if(-e "$STAGE/psm/bin/libfreebl3.so")
-{
-  system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libfreebl3.so");
-}
-if(-e "$STAGE/psm/bin/libfreebl_32fpu_3.so")
-{
-  system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libfreebl_32fpu_3.so");
-}
-if(-e "$STAGE/psm/bin/libfreebl_32int_3.so")
-{
-  system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libfreebl_32int_3.so");
-}
-if(-e "$STAGE/psm/bin/libfreebl_32int64_3.so")
-{
-  system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libfreebl_32int64_3.so");
-}
-if(-e "$STAGE/psm/bin/libfreebl_64fpu_3.so")
-{
-  system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libfreebl_64fpu_3.so");
-}
-if(-e "$STAGE/psm/bin/libfreebl_64int_3.so")
-{
-  system("$topobjdir/dist/bin/run-mozilla.sh $topobjdir/dist/bin/shlibsign -v -i $STAGE/psm/bin/libfreebl_64int_3.so");
-}
-spew("Completed signing NSS libraries");
-
-#// call makeall.pl tunneling args (delivers .xpis to $topobjdir/installer/stage)
-chdir("$topsrcdir/xpinstall/packager/unix");
-system("perl makeall.pl $aVersion $aURLPath $STAGE $XPI $aMozAppName $aMozAppDisplayName $aConfigItLocation");
-system("mv $aConfigItLocation/config.ini $RAW");
-spew("Completed making .xpis");
-
-#-------------------------------------------------------------------------
-#   Package stub and sea
-#-------------------------------------------------------------------------
-#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license, 
-#// config.ini, installer.ini into stub
-my $create_tar = 'tar -cv --owner=0 --group=0 --numeric-owner --mode="go-w" -f';
-spew("Creating stub installer tarball...");
-chdir("$RAW/..");
-system("mv $RAW $ROOT/$SUBDIR");
-system($create_tar . "$STUB/$aStubName.tar ./$SUBDIR/$aMozAppName-installer ./$SUBDIR/$aMozAppName-installer-bin ./$SUBDIR/installer.ini ./$SUBDIR/README ./$SUBDIR/config.ini ./$SUBDIR/MPL-1.1.txt"); 
-system("mv $ROOT/$SUBDIR $RAW");
-system("bzip2 $STUB/$aStubName.tar");
-spew("Completed creating stub installer tarball");
-
-#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license, 
-#// config.ini, installer.ini and .xpis into sea
-spew("Creating blob (aka full or sea) installer tarball...");
-system("mv $RAW $ROOT/$SUBDIR");
-system($create_tar . "$BLOB/$aBlobName.tar ./$SUBDIR/"); 
-system("mv $ROOT/$SUBDIR $RAW");
-system("bzip2 $BLOB/$aBlobName.tar");
-spew("Completed creating blob (aka full or sea) installer tarball");
-chdir($_orig);
-
-spew("Completed packaging stub and sea");
-spew("Installers built (see $ROOT/{stub,sea})");
-
-
-#-------------------------------------------------------------------------
-#   Utilities
-#-------------------------------------------------------------------------
-sub spew 
-{
-    print "+++ deliver.pl: ".$_[0]."\n";
-}
-
-sub copy
-{
-    if (! -e $_[0])
-    {
-        die "--- deliver.pl: couldn't cp cause ".$_[0]." doesn't exist: $!";
-    }
-    system ("cp ".$_[0]." ".$_[1]);
-}
-
-##
-# RecursiveStrip
-#
-# Strips all strippable files by recursing into all directories and calling
-# the strip utility on all files.
-#
-# @param   targetDir  the directory to traverse recursively
-#
-sub RecursiveStrip
-{
-    my($targetDir) = $_[0];
-
-    undef @libraryList;
-    find({ wanted => \&find_libraries, no_chdir => 1 }, $targetDir);
-
-    # strip all strippable files
-    system("strip @libraryList") if (defined(@libraryList));
-}
-
-sub find_libraries
-{
-    push @libraryList, $File::Find::name;
-}
deleted file mode 100644
--- a/xpinstall/packager/unix/editor.jst
+++ /dev/null
@@ -1,33 +0,0 @@
-var srDest = $SpaceRequired$;
-
-var err = initInstall("$AppDisplayName$ Editor", "Editor", "$Version$"); 
-logComment("initInstall: " + err);
-
-var communicatorFolder = getFolder("Program");
-logComment("communicatorFolder: " + communicatorFolder);
-
-if (verifyDiskSpace(communicatorFolder, srDest))
-{
-    err = addDirectory("Program",
-                       "$Version$",
-                       "bin",              // jar source folder
-                       communicatorFolder, // target folder 
-                       "",                 // target subdir 
-                       true );             // force Flag 
-
-    logComment("addDirectory() returned: " + err);
-
-    err = getLastError();
-    if (err==SUCCESS)
-    {
-	    err = performInstall(); 
-	    logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-	    cancelInstall(err);
-	    logComment("cancelInstall() due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/inspector.jst
+++ /dev/null
@@ -1,30 +0,0 @@
-var err = initInstall("DOM Inspector", "Inspector", "$Version$"); 
-logComment("initInstall: " + err);
-
-var fProgram = getFolder("Program");
-var srDest = $SpaceRequired$;
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-  err = addDirectory("", "$Version$", "bin", fProgram, "", true);
-  logComment("addDirectory: " + err);
-  
-  addFile("Inspector Command Line Handler",
-          "bin/components/inspector-cmdline.js",
-          getFolder("Components"),
-          "");
-
-  var jarFolder = getFolder("Chrome", "inspector.jar");
-  registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/inspector/");
-  registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/modern/inspector/");
-  registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/inspector/");
-  registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/inspector/");
-  
-  err = getLastError();
-  if (err==SUCCESS)
-      performInstall(); 
-  else
-      cancelInstall(err);
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/langende.jst
+++ /dev/null
@@ -1,43 +0,0 @@
-var srDest = $SpaceRequired$;
-var err;
-var fProgram;
-
-// --- LOCALIZATION NOTE: translate only these ---
-var prettyName = "English-German Language Pack";
-var regName    = "locales/mozilla/en-DE";
-var chromeName = "en-DE.jar";
-// --- END LOCALIZABLE RESOURCES ---
-
-err = initInstall(prettyName, regName, "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-    err = addDirectory("",
-                       "$Version$",
-                       "bin",
-                       fProgram,
-                       "",
-                       true);
-    logComment("addDirectory() returned: " + err);
-
-    // register chrome
-    var cf = getFolder("Chrome");
-    registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName));
-
-    if (err == SUCCESS)
-    {
-        err = performInstall(); 
-        logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-        cancelInstall(err);
-        logComment("cancelInstall due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/langengb.jst
+++ /dev/null
@@ -1,43 +0,0 @@
-var srDest = $SpaceRequired$;
-var err;
-var fProgram;
-
-// --- LOCALIZATION NOTE: translate only these ---
-var prettyName = "English-GB Language Pack";
-var regName    = "locales/mozilla/en-GB";
-var chromeName = "en-GB.jar";
-// --- END LOCALIZABLE RESOURCES ---
-
-err = initInstall(prettyName, regName, "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-    err = addDirectory("",
-                       "$Version$",
-                       "bin",
-                       fProgram,
-                       "",
-                       true);
-    logComment("addDirectory() returned: " + err);
-
-    // register chrome
-    var cf = getFolder("Chrome");
-    registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName));
-
-    if (err == SUCCESS)
-    {
-        err = performInstall(); 
-        logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-        cancelInstall(err);
-        logComment("cancelInstall due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/langenus.jst
+++ /dev/null
@@ -1,90 +0,0 @@
-var srDest = $SpaceRequired$;
-var err;
-var fProgram;
-
-var platformNode = getPlatform();
-logComment("initInstall: platformNode=" + platformNode);
-// end
-// end - OS type detection
-
-// --- LOCALIZATION NOTE: translate only these ---
-var prettyName = "English (US) Language Pack";
-var chromeNode = "en-US";
-// --- END LOCALIZABLE RESOURCES ---
-var regName    = "locales/mozilla/" + chromeNode;
-var chromeName = chromeNode + ".jar";
-var localeName = "locale/" + chromeNode + "/";
-
-err = initInstall(prettyName, regName, "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-    var chromeType = LOCALE;
-    err = addDirectory("",
-                       "bin",     // dir name in jar to extract 
-                       fProgram,  // Where to put this file (Returned from GetFolder) 
-                       "");       // Force Flag 
-    logComment("addDirectory() returned: " + err);
-
-    if (err != SUCCESS)
-    {
-        logComment("addDirectory() to " + fProgram + "failed!");
-        // couldn't install globally, try installing to the profile
-        resetError();
-        chromeType |= PROFILE_CHROME;
-        fProgram = getFolder("Profile");
-        logComment("try installing to the user profile:" + fProgram);
-        err = addDirectory("","bin",fProgram,"");
-    }
- 
-    setPackageFolder(fProgram);
- 
-    // check return value
-    if (err == SUCCESS)
-    {
-        // register chrome
-        var cf = getFolder(fProgram, "chrome/"+chromeName);
-
-        registerChrome(chromeType, cf, localeName + "global/");
-        registerChrome(chromeType, cf, localeName + "communicator/");
-        registerChrome(chromeType, cf, localeName + "branding/");
-
-        registerChrome(chromeType, cf, localeName + "messenger/");
-        registerChrome(chromeType, cf, localeName + "messenger-smime/");
-
-        registerChrome(chromeType, cf, localeName + "editor/");
-        registerChrome(chromeType, cf, localeName + "navigator/");
-        registerChrome(chromeType, cf, localeName + "necko/");
-        registerChrome(chromeType, cf, localeName + "mozldap/");
-        registerChrome(chromeType, cf, localeName + "autoconfig/");
-        registerChrome(chromeType, cf, localeName + "cookie/");
-        registerChrome(chromeType, cf, localeName + "wallet/");
-        registerChrome(chromeType, cf, localeName + "help/");
-        registerChrome(chromeType, cf, localeName + "pippki/");
-        registerChrome(chromeType, cf, localeName + "pipnss/");
-
-        registerChrome(chromeType, cf, localeName + "global-region/");
-        registerChrome(chromeType, cf, localeName + "communicator-region/");
-        registerChrome(chromeType, cf, localeName + "editor-region/");
-        registerChrome(chromeType, cf, localeName + "messenger-region/");
-        registerChrome(chromeType, cf, localeName + "navigator-region/");
-
-        registerChrome(chromeType, cf, localeName + "global-platform/" + platformNode + "/");
-        registerChrome(chromeType, cf, localeName + "communicator-platform/" + platformNode + "/");
-        registerChrome(chromeType, cf, localeName + "navigator-platform/" + platformNode + "/");
-
-        err = performInstall(); 
-        logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-        cancelInstall(err);
-        logComment("cancelInstall due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/mail.jst
+++ /dev/null
@@ -1,67 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files from Netscape 6.0 and Netscape 6.01 that
-  // need to be cleaned up.
-  deleteThisFile("Components", "libsigned.so");
-  // Obsolete files from SeaMonkey 1.1 that need to be cleaned up
-  deleteThisFile("Components", "impComm4xMail.xpt");
-  deleteThisFile("Components", "impComm4xMail.so");
-  deleteThisFile("Components", "impText.so");
-}
-
-var srDest = $SpaceRequired$;
-
-var err = initInstall("$AppDisplayName$ Mail", "Mail", "$Version$"); 
-logComment("initInstall: " + err);
-
-var communicatorFolder = getFolder("Program");
-logComment("communicatorFolder: " + communicatorFolder);
-
-if (verifyDiskSpace(communicatorFolder, srDest))
-{
-    // Call upgradeCleanup() before addDirectory() in case we accidentaly
-    // delete files that we happen to be also installing.  This way, if we do,
-    // it will just get reinstalled.  This is for safety measure.
-    upgradeCleanup();
-    err = addDirectory("Program",
-                       "$Version$",
-                       "bin",              // jar source folder 
-                       communicatorFolder, // target folder
-                       "",                 // target subdir 
-                       true );             // force flag 
-
-    logComment("addDirectory() returned: " + err);
-
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger/");
-
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-region/");
-
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-smime/");
-
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-mdn/");
-
-    registerChrome(CONTENT | DELAYED_CHROME,
-                   getFolder("Chrome","messenger.jar"),
-                   "content/messenger-views/");
-
-    if (err==SUCCESS)
-    {
-	    err = performInstall(); 
-	    logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-	    cancelInstall(err);
-	    logComment("cancelInstall() due to error: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100755
--- a/xpinstall/packager/unix/makeall.pl
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/usr/bin/perl -w
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#   Samir Gehani <sgehani@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script builds the xpi, config.ini, and js files.
-#
-
-# Make sure there are at least seven arguments
-if(@ARGV < 7)
-{
-  die "usage: $0 <default version> <URL path> <staging path> <dist install path> <app name> <app display name> <config.it location>
-
-       default version   : julian based date version
-                           ie: 5.0.0.99257
-
-       URL path          : URL path to where the .xpi files will be staged at.
-                           Either ftp:// or http:// can be used.  Nothing will be
-                           copied to there by this script.  It is used for config.ini.
-
-       staging path      : full path to where the components are staged at
-
-       dist install path : full path to target dist area
-
-       app name          : the base name for executables (e.g. mozilla)
-
-       app display name  : the display name to use
-
-       config.it location: the location of the configuration file to use as
-                           input for config.ini
-
-       \n";
-}
-
-$inDefaultVersion = $ARGV[0];
-$inURLPath        = $ARGV[1];
-$inStagePath      = $ARGV[2];
-$inDistPath       = $ARGV[3];
-$inAppName        = $ARGV[4];
-$inAppDisplayName = $ARGV[5];
-$inConfigItLoc    = $ARGV[6];
-
-# Check for existance of staging path
-if(!(-e "$inStagePath"))
-{
-  die "invalid path: $inStagePath\n";
-}
-
-# Make sure inDistPath exists
-if(!(-e "$inDistPath"))
-{
-  system("mkdir $inDistPath");
-}
-
-# Make all xpi files
-MakeXpiFile("xpcom");
-MakeXpiFile("browser");
-MakeXpiFile("psm");
-MakeXpiFile("mail");
-MakeXpiFile("chatzilla");
-MakeXpiFile("talkback");
-MakeXpiFile("deflenus");
-MakeXpiFile("langenus");
-MakeXpiFile("venkman");
-MakeXpiFile("inspector");
-MakeXpiFile("reporter");
-
-# Make the config.ini file
-MakeConfigFile();
-
-print " done!\n";
-
-# end of script
-exit(0);
-
-sub MakeConfigFile
-{
-  # Make config.ini file
-  if(system("perl makecfgini.pl $inConfigItLoc/config.it $inDefaultVersion $inStagePath $inDistPath $inURLPath $inAppName $inAppDisplayName") != 0)
-  {
-    exit(1);
-  }
-}
-
-sub MakeXpiFile
-{
-  my($componentName) = @_;
-
-  # Make .xpi file
-  if(system("perl makexpi.pl $componentName $inStagePath $inDistPath $inDefaultVersion $inAppDisplayName") != 0)
-  {
-    exit(1);
-  }
-}
-
deleted file mode 100755
--- a/xpinstall/packager/unix/makecfgini.pl
+++ /dev/null
@@ -1,235 +0,0 @@
-#!perl
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#   Samir Gehani <sgehani@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .it file
-#             - which is a .ini template
-#        version
-#             - version to display on the blue background
-#        Path to staging area
-#             - path on where the seamonkey built bits are staged to
-#        xpi path
-#             - path on where xpi files will be located at
-#        URL path
-#             - path to where the .xpi files are staged.  can be
-#               either ftp:// or http://
-#        App Name
-#             - the base name to use for executables (e.g. mozilla)
-#        App Display Name
-#             - the application display name to use.
-#
-#   ie: perl makecfgini.pl config.it 5.0.0.1999120608 z:\exposed\windows\32bit\en\5.0 d:\builds\mozilla\dist\win32_0.obj\install\xpi ftp://sweetlou/products/client/seamonkey/windows/32bit/x86/1999-09-13-10-M10
-#
-
-# Make sure there are at least seven arguments
-if(@ARGV < 7)
-{
-  die "usage: $0 <.it file> <version> <staging path> <.xpi path> <URL path>
-                 <app name> <app display name>
-
-       .it file         : input ini template file
-       version          : version to be shown in setup.  Typically the same
-                          version as show in mozilla.exe.
-       staging path     : path to where the components are staged at
-       .xpi path        : path to where the .xpi files have been built to
-       URL path         : URL path to where the .xpi files will be staged at.
-                          Either ftp:// or http:// can be used
-       app name         : the base name to use for executables.
-       app display name : the application display name to use.
-       \n";
-}
-
-$inItFile         = $ARGV[0];
-$inVersion        = $ARGV[1];
-$inStagePath      = $ARGV[2];
-$inXpiPath        = $ARGV[3];
-$inURLPath        = $ARGV[4];
-$inAppName        = $ARGV[5];
-$inAppDisplayName = $ARGV[6];
-
-# Get the name of the file replacing the .it extension with a .ini extension
-$outIniFile       = $inItFile;
-$outIniFile       =~ s/\.[^.]*$/\.ini/;
-
-# Open the input file
-open(fpInIt, $inItFile) || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOutIni, ">$outIniFile") || die "\nCould not open $outIniFile: $!\n";
-
-print "\n Making $outIniFile...\n";
-
-# While loop to read each line from input file
-while($line = <fpInIt>)
-{
-  # For each line read, search and replace $InstallSize$ with the calculated size
-  if($line =~ /\$InstallSize\$/i)
-  {
-    $installSize          = 0;
-
-    # split read line by ":" deliminator
-    @colonSplit = split(/:/, $line);
-    if($#colonSplit >= 0)
-    {
-      $componentName    = $colonSplit[1];
-      chop($componentName);
-
-      $installSize      = OutputInstallSize("$inStagePath/$componentName");
-    }
-
-    print fpOutIni "Install Size=$installSize\n";
-  }
-  elsif($line =~ /\$InstallSizeArchive\$/i)
-  {
-    $installSizeArchive = 0;
-
-    # split read line by ":" deliminator
-    @colonSplit = split(/:/, $line);
-    if($#colonSplit >= 0)
-    {
-      $componentName = $colonSplit[1];
-      chop($componentName);
-
-      $installSizeArchive = OutputInstallSizeArchive("$inXpiPath/$componentName");
-    }
-
-    print fpOutIni "Archive Size=$installSizeArchive\n";
-  }
-  elsif($line =~ /\$Version\$/i)
-  {
-    # For each line read, search and replace $Version$ with the version passed in
-    $line =~ s/\$Version\$/$inVersion/i;
-    print fpOutIni $line;
-  }
-  elsif($line =~ /\$AppDisplayName\$/i)
-  {
-    # For each line read, search and replace $AppName$ with the version passed in
-    $line =~ s/\$AppDisplayName\$/$inAppDisplayName/ig;
-    print fpOutIni $line;
-  }
-  elsif($line =~ /\$AppName\$/i)
-  {
-    # For each line read, search and replace $AppName$ with the version passed in
-    $line =~ s/\$AppName\$/$inAppName/i;
-    print fpOutIni $line;
-  }
-  else
-  {
-    # For each line read, search and replace $URLPath$ with the supplied URL
-    $line =~ s/\$URLPath\$/$inURLPath/i;
-    print fpOutIni $line;
-  }
-}
-
-print " done!\n";
-
-# end of script
-exit(0);
-
-sub OutputInstallSize()
-{
-  my($inPath) = @_;
-  my($installSize);
-
-  print "   calculating size for $inPath\n";
-  $installSize    = GetSpaceRequired($inPath);
-  $installSize   += 32768; # take into account install.js
-  $installSize    = int($installSize / 1024);
-  $installSize   += 1;
-  return($installSize);
-}
-
-sub OutputInstallSizeArchive()
-{
-  my($inPath) = @_;
-  my($installSizeArchive);
-  my($dev, $ino, $mode, $nlink, $uid, $gui, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks);
-
-  print "   calculating size for $inPath\n";
-  ($dev, $ino, $mode, $nlink, $uid, $gui, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks) = stat $inPath;
-  $installSizeArchive    = int($size / 1024);
-  $installSizeArchive   += 1;
-  return($installSizeArchive);
-}
-
-##
-# GetSpaceRequired
-#
-# Finds the space used by the contents of a dir by recursively
-# traversing the subdir hierarchy and counting individual file
-# sizes
-#
-# @param   targetDir  the directory whose space usage to find
-# @return  spaceUsed  the number of bytes used by the dir contents
-# @author  sgehani@netscape.com
-##
-sub GetSpaceRequired()
-{
-    my($targetDir) = $_[0];
-    my($spaceUsed) = 0;
-    my(@dirEntries) = ();
-    my($item) = "";
-
-    @dirEntries = <$targetDir/*>;
-
-    # iterate over all dir entries 
-    foreach $item ( @dirEntries ) 
-    {
-        # if dir entry is dir
-        if (-d $item)
-        {       
-            # add GetSpaceRequired(<dirEntry>) to space used
-            $spaceUsed += GetSpaceRequired($item);
-        }
-        # else if dir entry is file
-        elsif (-e $item)
-        {
-            # add size of file to space used
-            $spaceUsed += (-s $item);
-        }
-    }
-
-    return $spaceUsed;
-}
deleted file mode 100755
--- a/xpinstall/packager/unix/makejs.pl
+++ /dev/null
@@ -1,183 +0,0 @@
-#!/usr/bin/perl -w
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#   Samir Gehani <sgehani@netscape.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script parses the input file for special variables
-# in the format of $Variable$ and replace it with the appropriate
-# value(s).
-#
-# Input: .jst file        - which is a .js template
-#        default version  - a julian date in the form of:
-#                           major.minor.release.yydoy
-#                           ie: 5.0.0.99256
-#        staging path     - path to where the components are staged at
-#        app display name - display name of the application
-#
-#        ie: perl makejs.pl core.jst 5.0.0.99256 ../../staging_area/core Mozilla
-#
-
-##
-# GetSpaceRequired
-#
-# Finds the space used by the contents of a dir by recursively
-# traversing the subdir hierarchy and counting individual file
-# sizes
-#
-# @param   targetDir  the directory whose space usage to find
-# @return  spaceUsed  the number of bytes used by the dir contents
-#
-sub GetSpaceRequired
-{
-    my($targetDir) = $_[0];
-    my($spaceUsed) = 0;
-    my(@dirEntries) = ();
-    my($item) = "";
-
-    @dirEntries = <$targetDir/*>;
-
-    # iterate over all dir entries 
-    foreach $item ( @dirEntries ) 
-    {
-        # if dir entry is dir
-        if (-d $item)
-        {       
-            # add GetSpaceRequired(<dirEntry>) to space used
-            $spaceUsed += GetSpaceRequired($item);
-        }
-        # else if dir entry is file
-        elsif (-e $item)
-        {
-            # add size of file to space used
-            $spaceUsed += (-s $item);
-        }
-    }
-
-    return $spaceUsed;
-}
-
-# Make sure there are at least four arguments
-if(@ARGV < 4)
-{
-  die "usage: $0 <.jst file> <default version> <staging path> <app display name> [<.js file>]
-
-       .jst file              : .js template input file
-       .js file               : .js output file
-       default version        : default julian base version number to use in the
-                                form of: major.minor.release.yydoy
-                                ie: 5.0.0.99256
-       component staging path : path to where this component is staged at
-                                ie: ./../staging_area/core
-       app display name       : application display name
-       \n";
-}
-
-$inJstFile        = $ARGV[0];
-$inVersion        = $ARGV[1];
-$inStagePath      = $ARGV[2];
-$inAppDisplayName = $ARGV[3];
-$fullProgName     = $0;
-$fullProgName     =~ /(.*)makejs\.pl$/;
-if ($1){
-  $pathName       = $1;
-} else {
-  $pathName       = ".";
-}
-
-# Get the name of the file replacing the .jst extension with a .js extension
-@inJstFileSplit   = split(/\./,$inJstFile);
-$outJsFile        = $inJstFileSplit[0];
-$outJsFile       .= ".js";
-if($#ARGV >= 4) {$outJsFile = $ARGV[4];};
-@outJsFileSplit   = split(/\./,$outJsFile);
-$outTempFile      = $outJsFileSplit[0];
-$outTempFile     .= ".template";
-
-system("cp $pathName/../common/share.t $outTempFile");
-system("cat $inJstFile >> $outTempFile");
-
-# Open the input template file
-open(fpInJst, "<$outTempFile") || die "\ncould not open $outTempFile: $!\n";
-
-# Open the output .js file
-open(fpOutJs, ">$outJsFile") || die "\nCould not open $outJsFile: $!\n";
-
-# While loop to read each line from input file
-while($line = <fpInJst>)
-{
-  # For each line read, search and replace $Version$ with the version passed in
-  if($line =~ /\$Version\$/i)
-  {
-    $line =~ s/\$Version\$/$inVersion/i;
-  }
-
-  # For each line read, search and replace $AppDisplayName$ with the display name passed in
-  if($line =~ /\$AppDisplayName\$/i)
-  {
-    $line =~ s/\$AppDisplayName\$/$inAppDisplayName/i;
-  }
-
-  # For each line read, search and replace $SpaceRequired$ with the version passed in
-  if($line =~ /\$SpaceRequired\$/i) 
-  {
-    $spaceRequired = 0;
-
-    # split read line by ":" delimiter
-    @colonSplit = split(/:/, $line);
-    if($#colonSplit > 0)
-    {
-      @semiColonSplit = split(/;/, $colonSplit[1]);
-      $subDir         = $semiColonSplit[0];
-      $spaceRequired  = GetSpaceRequired("$inStagePath/$subDir");
-      $spaceRequired  = int($spaceRequired/1024) + 1;
-      $line =~ s/\$SpaceRequired\$:$subDir/$spaceRequired/i;
-    }
-    else
-    {
-      $spaceRequired = GetSpaceRequired("$inStagePath");
-      $spaceRequired = int($spaceRequired/1024) + 1;
-      $line =~ s/\$SpaceRequired\$/$spaceRequired/i;
-    }
-  }
-
-  print fpOutJs $line;
-}
-
-system("rm $outTempFile");
deleted file mode 100755
--- a/xpinstall/packager/unix/makexpi.pl
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/usr/bin/perl -w
-# 
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#   Sean Su <ssu@netscape.com>
-#   Samir Gehani <sgehani@netscape.com>
-#   Chase Phillips <cmp@mozilla.org>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-#
-# This perl script creates .xpi files given component input name
-#
-# Input: component name
-#             - name of the component directory located in the staging path
-#        staging path
-#             - path to where the built files are staged at
-#        dest path
-#             - path to where the .xpi files are are to be created at.
-#               ** MUST BE AN ABSOLUTE PATH, NOT A RELATIVE PATH **
-#        app display name
-#             - the display name of the application
-#
-#   ie: perl makexpi.pl core z:\exposed\windows\32bit\en\5.0 
-#            d:\build\mozilla\dist\win32_o.obj\install\working Mozilla
-#
-
-use Cwd;
-
-sub MakeJsFile
-{
-  my($componentName) = @_;
-
-  # Make .js file
-  if(system("perl makejs.pl $componentName.jst $inDefaultVersion $inStagePath/$componentName $inAppDisplayName install.js") != 0)
-  {
-    exit(1);
-  }
-}
-
-# Make sure there are at least four arguments
-if(@ARGV < 4)
-{
-  die "usage: $0 <component name> <staging path> <dest path> <app display name>
-
-       component name   : name of component directory within staging path
-       staging path     : path to where the components are staged at
-       dest path        : path to where the .xpi files are to be created at
-       app display name : display name of the application
-       \n";
-}
-
-$inComponentName  = $ARGV[0];
-$inStagePath      = $ARGV[1];
-$inDestPath       = $ARGV[2];
-$inDefaultVersion = $ARGV[3];
-$inAppDisplayName = $ARGV[4];
-
-# check for existence of staging component path
-if(!(-e "$inStagePath/$inComponentName"))
-{
-  die "invalid path: $inStagePath/$inComponentName\n";
-}
-
-# delete component .xpi file
-if(-e "$inDestPath/$inComponentName.xpi")
-{
-  unlink("$inDestPath/$inComponentName.xpi");
-}
-if(-e "$inStagePath/$inComponentName/$inComponentName.xpi")
-{
-  unlink("$inDestPath/$inComponentName.xpi");
-}
-
-# delete install.js
-if(-e "install.js")
-{
-  unlink("install.js");
-}
-
-# make sure inDestPath exists
-if(!(-e "$inDestPath"))
-{
-  system("mkdir $inDestPath");
-}
-
-print "\n Making $inComponentName.xpi...\n";
-
-$saveCwdir = cwd();
-
-# change directory to where the files are, else zip will store
-# unwanted path information.
-chdir("$inStagePath/$inComponentName");
-
-system("zip -r -y $inDestPath/$inComponentName.xpi *");
-chdir("$saveCwdir");
-
-# Make .js file
-MakeJsFile($inComponentName);
-
-system("zip -g $inDestPath/$inComponentName.xpi install.js");
-
-# delete install.js
-if(-e "install.js")
-{
-  unlink("install.js");
-}
-
-print " done!\n";
-
-# end of script
-exit(0);
-
deleted file mode 100644
--- a/xpinstall/packager/unix/psm.jst
+++ /dev/null
@@ -1,46 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files that need to be cleaned up.
-  deleteThisFolder("Communicator", "psm");
-}
-
-var srDest = $SpaceRequired$;
-var err;
-
-err = initInstall("Personal Security Manager", "Personal Security Manager", "$Version$");
-logComment("initInstall: " + err);
-
-var communicatorFolder = getFolder("Communicator");
-logComment("communicatorFolder: " + communicatorFolder);
-
-if(verifyDiskSpace(communicatorFolder, srDest))
-{
-  // Call upgradeCleanup() before addDirectory() in case we accidentaly
-  // delete files that we happen to be also installing.  This way, if we do,
-  // it will just get reinstalled.  This is for safety measure.
-  upgradeCleanup();
-  err = addDirectory("Program",          // reg entry
-                     "$Version$",        // version
-                     "bin",              // jar source
-                     communicatorFolder, // target folder
-                     "",              // relative subdir
-                     true );             // force flag
-  logComment("addDirectory() returned: " + err);
-
-  if(err==SUCCESS)
-  {
-    var pki = getFolder("Chrome","pippki.jar");
-    var nss = getFolder("Chrome","pipnss.jar");
-    registerChrome(CONTENT | DELAYED_CHROME, pki, "content/pippki/");
-    registerChrome(CONTENT | DELAYED_CHROME, nss, "content/pipnss/");
-    err = performInstall(); 
-    logComment("performInstall() returned: " + err);
-  }
-  else
-  {
-    cancelInstall();
-    logComment("cancelInstall() due to error: "+err); 
-  }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/reporter.jst
+++ /dev/null
@@ -1,25 +0,0 @@
-var err = initInstall("Website Reporter", "Reporter", "$Version$"); 
-logComment("initInstall: " + err);
-
-var fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-var srDest = $SpaceRequired$;
-
-if (verifyDiskSpace(fProgram, srDest))
-{
-  err = addDirectory("", "$Version$", "bin", fProgram, "", true);
-  logComment("addDirectory: " + err);
-  
-  var jarFolder = getFolder("Chrome", "reporter.jar");
-  registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/reporter/");
-  registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/reporter/");
-  registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/reporter/");
-  
-  err = getLastError();
-  if (err==SUCCESS)
-      performInstall(); 
-  else
-      cancelInstall(err);
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/talkback.jst
+++ /dev/null
@@ -1,33 +0,0 @@
-var srDest = $SpaceRequired$;
-
-var err = initInstall("Quality Feedback Utility", "Quality Feedback Utility", "$Version$");
-logComment("initInstall: " + err);
-
-var communicatorFolder = getFolder("Program");
-logComment("communicatorFolder: " + communicatorFolder);
-
-if (verifyDiskSpace(communicatorFolder, srDest))
-{
-    err = addDirectory("Program",
-                       "$Version$",
-                       "bin",              // jar source folder 
-                       communicatorFolder, // target folder 
-                       "",                 // target subdir 
-                       true );             // force flag 
-
-    logComment("addDirectory() returned: " + err);
-
-    if (err==SUCCESS)
-    {
-            err = performInstall();
-            logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-            cancelInstall(err);
-            logComment("cancelInstall() returned: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
-
deleted file mode 100644
--- a/xpinstall/packager/unix/venkman.jst
+++ /dev/null
@@ -1,35 +0,0 @@
-var srDest = $SpaceRequired$;
-
-var err = initInstall("JavaScript Debugger", "Venkman", "$Version$"); 
-logComment("initInstall: " + err);
-
-if (verifyDiskSpace(getFolder("Program"), srDest))
-{
-    addFile("Venkman Service",
-            "$Version$",
-            "bin/components/venkman-service.js",
-            getFolder("Components"),
-            "venkman-service.js",
-            true);
-
-    addFile("Venkman Chrome",
-            "bin/chrome/venkman.jar",   // jar source folder 
-            getFolder("Chrome"),        // target folder
-            "");                        // target subdir 
-
-    addDirectory("Venkman Icons",
-                 "bin/chrome/icons",  // jar source folder
-                 getFolder("Chrome", "icons"), // target folder
-                 "");                 // target subdir
-
-    registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "content/venkman/");
-    registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "skin/modern/venkman/");
-    registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "locale/en-US/venkman/");
-
-    if (err==SUCCESS)
-        performInstall(); 
-    else
-        cancelInstall(err);
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);
deleted file mode 100644
--- a/xpinstall/packager/unix/xpcom.jst
+++ /dev/null
@@ -1,48 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files from Netscape 6.0 and Netscape 6.01 that
-  // need to be cleaned up.
-  deleteThisFile("Program",    "component.reg");
-  deleteThisFile("Program",    "libjsdom.so");
-  deleteThisFile("Program",    "libz.so");
-  deleteThisFile("Components", "compreg.dat");
-  deleteThisFile("Components", "xpti.dat");
-  deleteThisFile("Components", "xptitemp.dat");
-}
-
-var srDest = $SpaceRequired$;
-
-var err = initInstall("Mozilla XPCOM", "XPCOM", "$Version$"); 
-logComment("initInstall: " + err);
-
-var communicatorFolder = getFolder("Program");
-logComment("communicatorFolder: " + communicatorFolder);
-
-if (verifyDiskSpace(communicatorFolder, srDest))
-{
-    // Call upgradeCleanup() before addDirectory() in case we accidentaly
-    // delete files that we happen to be also installing.  This way, if we do,
-    // it will just get reinstalled.  This is for safety measure.
-    upgradeCleanup();
-    err = addDirectory("Program",
-                       "$Version$",
-                       "bin",              // jar source folder 
-                       communicatorFolder, // target folder 
-                       "",                 // target subdir 
-                       true );             // force flag 
-
-    logComment("addDirectory() returned: " + err);
-
-    if (err==SUCCESS)
-    {
-	    err = performInstall(); 
-	    logComment("performInstall() returned: " + err);
-    }
-    else
-    {
-	    cancelInstall(err);
-	    logComment("cancelInstall() returned: " + err);
-    }
-}
-else
-    cancelInstall(INSUFFICIENT_DISK_SPACE);