bug 386903 - remove xpinstall/packager from cvs, r=bsmedberg
authorkairo@kairo.at
Mon, 09 Jul 2007 10:47:04 -0700
changeset 3260 39ed4586b71881881f5213348e3618c2f9dbcad9
parent 3259 d1626b51c259c5a5aec66701a5d85cd6268eb7f7
child 3261 7b9b18f91adf0a173212f9b527196dec260a563d
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg
bugs386903
milestone1.9a7pre
bug 386903 - remove xpinstall/packager from cvs, r=bsmedberg
allmakefiles.sh
toolkit/mozapps/installer/makeall.pl
toolkit/mozapps/installer/makejs.pl
toolkit/mozapps/installer/makexpi.pl
toolkit/mozapps/installer/parseandmakejs.pl
xpinstall/packager/Makefile.in
xpinstall/packager/StageUtils.pm
xpinstall/packager/build/cfgs/gre.pl
xpinstall/packager/build/cfgs/mfcembed.pl
xpinstall/packager/build/cfgs/mozilla.pl
xpinstall/packager/build/scripts/GetLongFile.pl
xpinstall/packager/build/scripts/intljst.tmpl
xpinstall/packager/build/scripts/makeall.pl
xpinstall/packager/build/scripts/makecfgini.pl
xpinstall/packager/build/scripts/makejar.pl
xpinstall/packager/build/scripts/makejs.pl
xpinstall/packager/build/scripts/makeuninstallini.pl
xpinstall/packager/build/scripts/makexpi.pl
xpinstall/packager/build/scripts/rdir.pl
xpinstall/packager/build/win/gre/XPI_JSTs/gre.jst
xpinstall/packager/build/win/gre/config.it
xpinstall/packager/build/win/gre/defaults_info.ini
xpinstall/packager/build/win/gre/install.it
xpinstall/packager/build/win/gre/uninstall.it
xpinstall/packager/build/win/mfcembed/XPI_JSTs/mfcembed.jst
xpinstall/packager/build/win/mfcembed/config.it
xpinstall/packager/build/win/mfcembed/defaults_info.ini
xpinstall/packager/build/win/mfcembed/install.it
xpinstall/packager/build/win/mfcembed/uninstall.it
xpinstall/packager/build/win/mozilla/XPI_JSTs/browser.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/chatzilla.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/deflenus.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/inspector.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/psm.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/talkback.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/venkman.jst
xpinstall/packager/build/win/mozilla/XPI_JSTs/xpcom.jst
xpinstall/packager/build/win/mozilla/config.it
xpinstall/packager/build/win/mozilla/defaults_info.ini
xpinstall/packager/build/win/mozilla/install.it
xpinstall/packager/build/win/mozilla/uninstall.it
xpinstall/packager/mac/ASEncoder/build/ASEncoder
xpinstall/packager/mac/ASEncoder/build/ASEncoder.mcp
xpinstall/packager/mac/ASEncoder/rsrc/ASEncoder.rsrc
xpinstall/packager/mac/ASEncoder/src/ASEncoderUsage.script
xpinstall/packager/mac/ASEncoder/src/FolderCodingUsage.script
xpinstall/packager/mac/ASEncoder/src/nsASEApp.cpp
xpinstall/packager/mac/ASEncoder/src/nsASEApp.h
xpinstall/packager/mac/ASEncoder/src/nsAppleSingleEncoder.cpp
xpinstall/packager/mac/ASEncoder/src/nsAppleSingleEncoder.h
xpinstall/packager/mac/ASEncoder/src/nsEventHandler.cpp
xpinstall/packager/mac/ASEncoder/src/nsEventHandler.h
xpinstall/packager/mac/ASEncoder/src/nsFileSelector.cpp
xpinstall/packager/mac/ASEncoder/src/nsFileSelector.h
xpinstall/packager/mac/browser.jst
xpinstall/packager/mac/chatzilla.jst
xpinstall/packager/mac/deflenus.jst
xpinstall/packager/mac/editor.jst
xpinstall/packager/mac/inspector.jst
xpinstall/packager/mac/langende.jst
xpinstall/packager/mac/langengb.jst
xpinstall/packager/mac/langenus.jst
xpinstall/packager/mac/mail.jst
xpinstall/packager/mac/spellcheck.jst
xpinstall/packager/mac/talkback.jst
xpinstall/packager/mac/update.html
xpinstall/packager/mac/venkman.jst
xpinstall/packager/mac/xpcom.jst
xpinstall/packager/make_pkgs_from_list.pl
xpinstall/packager/make_stage.pl
xpinstall/packager/packages-os2
xpinstall/packager/packages-static-unix
xpinstall/packager/packages-static-win
xpinstall/packager/packages-unix
xpinstall/packager/packages-win
xpinstall/packager/pkgs-mfcembed-win
xpinstall/packager/pkgs-mfcembed-win-supp
xpinstall/packager/stage_gre.pl
xpinstall/packager/stage_mfcembed.pl
xpinstall/packager/stage_mozilla.pl
xpinstall/packager/win_gre/GetLongFile.pl
xpinstall/packager/win_gre/Makefile.in
xpinstall/packager/win_gre/config.it
xpinstall/packager/win_gre/defaults_info.ini
xpinstall/packager/win_gre/gre.jst
xpinstall/packager/win_gre/install.it
xpinstall/packager/win_gre/installgre.pkg
xpinstall/packager/win_gre/makeall.pl
xpinstall/packager/win_gre/makecfgini.pl
xpinstall/packager/win_gre/makejs.pl
xpinstall/packager/win_gre/makeuninstallini.pl
xpinstall/packager/win_gre/makexpi.pl
xpinstall/packager/win_gre/rdir.pl
xpinstall/packager/win_gre/uninstall.it
xpinstall/packager/win_mfcembed/GetLongFile.pl
xpinstall/packager/win_mfcembed/Makefile.in
xpinstall/packager/win_mfcembed/config.it
xpinstall/packager/win_mfcembed/defaults_info.ini
xpinstall/packager/win_mfcembed/install.it
xpinstall/packager/win_mfcembed/installmfc.pkg
xpinstall/packager/win_mfcembed/makeall.pl
xpinstall/packager/win_mfcembed/makecfgini.pl
xpinstall/packager/win_mfcembed/makejs.pl
xpinstall/packager/win_mfcembed/makeuninstallini.pl
xpinstall/packager/win_mfcembed/makexpi.pl
xpinstall/packager/win_mfcembed/mfcembed.jst
xpinstall/packager/win_mfcembed/rdir.pl
xpinstall/packager/win_mfcembed/runapp.bat
xpinstall/packager/win_mfcembed/uninstall.it
xpinstall/packager/windows/GetLongFile.pl
xpinstall/packager/windows/Makefile.in
xpinstall/packager/windows/browser.jst
xpinstall/packager/windows/chatzilla.jst
xpinstall/packager/windows/config.it
xpinstall/packager/windows/defaults_info.ini
xpinstall/packager/windows/deflenus.jst
xpinstall/packager/windows/editor.jst
xpinstall/packager/windows/inspector.jst
xpinstall/packager/windows/install.it
xpinstall/packager/windows/langende.jst
xpinstall/packager/windows/langengb.jst
xpinstall/packager/windows/langenus.jst
xpinstall/packager/windows/mail.jst
xpinstall/packager/windows/makeall.pl
xpinstall/packager/windows/makecfgini.pl
xpinstall/packager/windows/makejs.pl
xpinstall/packager/windows/makeuninstallini.pl
xpinstall/packager/windows/makexpi.pl
xpinstall/packager/windows/mozilla-win32-stub-installer.jst
xpinstall/packager/windows/psm.jst
xpinstall/packager/windows/rdir.pl
xpinstall/packager/windows/redirect.it
xpinstall/packager/windows/reporter.jst
xpinstall/packager/windows/sroaming.jst
xpinstall/packager/windows/talkback.jst
xpinstall/packager/windows/uninstall.it
xpinstall/packager/windows/venkman.jst
xpinstall/packager/windows/xpcom.jst
xpinstall/packager/xpcom-win.pkg
xpinstall/packager/xptzip.pl
--- a/allmakefiles.sh
+++ b/allmakefiles.sh
@@ -634,20 +634,16 @@ xpcom/tests/dynamic/Makefile
 xpcom/tests/services/Makefile
 xpcom/tests/windows/Makefile
 "
 
 MAKEFILES_string="$MAKEFILES_xpcom"
 
 MAKEFILES_xpinstall="
 xpinstall/Makefile
-xpinstall/packager/Makefile
-xpinstall/packager/unix/Makefile
-xpinstall/packager/windows/Makefile
-xpinstall/packager/os2/Makefile
 xpinstall/public/Makefile
 xpinstall/res/Makefile
 xpinstall/src/Makefile
 xpinstall/stub/Makefile
 xpinstall/wizard/libxpnet/Makefile
 xpinstall/wizard/libxpnet/src/Makefile
 xpinstall/wizard/libxpnet/test/Makefile
 xpinstall/wizard/unix/src2/Makefile
deleted file mode 100755
--- a/toolkit/mozapps/installer/makeall.pl
+++ /dev/null
@@ -1,398 +0,0 @@
-#!/usr/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>
-#   Ben Goodger <ben@mozilla.org>
-#   Brian Ryner <bryner@brianryner.com>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either 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();
-$win32 = ($^O =~ /((MS)?win32)|cygwin|os2/i) ? 1 : 0;
-
-# platform specific locations and file names
-if ($win32) {
-    $platform_dir = 'windows';
-} else {
-    $platform_dir = 'unix';
-}
-
-require "$platform_dir/install_sub.pl";
-
-# 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);
-
-if ($inConfigFiles eq "") 
-{
-  print "Error: Packager Manifests and Install Script Location not supplied! Use -config";
-  exit(1);
-}  
-
-# Initialize state from environment (which is established in the calling script
-# after reading the installer.cfg file. 
-$versionLanguage          = $ENV{WIZ_versionLanguage};
-@gComponentList           = split(/,/, $ENV{WIZ_componentList});
-$seiFileNameGeneric       = "nsinstall".$exe_suffix;
-$seiFileNameSpecific      = $ENV{WIZ_fileInstallerExe};
-$seiStubRootName          = $ENV{WIZ_fileNetStubRootName};
-$seiFileNameSpecificStub  = "$seiStubRootName".$exe_suffix;
-
-if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-{
-  print " makeall.pl\n";
-  print "   topobjdir  : $topobjdir\n";
-  print "   topsrcdir  : $topsrcdir\n";
-  print "   inStagePath: $inStagePath\n";
-  print "   inDistPath : $inDistPath\n";
-}
-
-$gDefaultProductVersion = $ENV{WIZ_versionProduct};
-
-print "\n";
-print " Building $ENV{WIZ_nameProduct} installer\n";
-print "  Raw version id   : $gDefaultProductVersion\n";
-print "  Display version  : $ENV{WIZ_userAgentShort}\n";
-print "  Xpinstall version: $gDefaultProductVersion\n";
-print "\n";
-
-$gDirPackager         = "$topsrcdir/xpinstall/packager";
-$gDirStageProduct     = $inStagePath;
-$gDirDistInstall      = "$inDistPath/install";
-$gNGAppsScriptsDir    = "$topsrcdir/toolkit/mozapps/installer";
-$gNGAppsPlatformDir   = "$topsrcdir/toolkit/mozapps/installer/$platform_dir";
-
-# The following variables are for displaying version info in the 
-# the installer.
-$ENV{WIZ_xpinstallVersion}     = "$gDefaultProductVersion";
-$ENV{WIZ_distInstallPath}      = "$gDirDistInstall";
-
-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";
-}
-
-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);
-}
-
-print "Making XPI files...\n";
-MakeXpiFile() && die;
-print "Making config.ini...\n";
-MakeConfigFile() && die;
-
-# Copy the setup files to the dist setup directory.
-print "Copying setup files to setup directory\n";
-foreach $_ (@wizard_files) {
-  copy ("$gDirDistInstall/$_", "$gDirDistInstall/setup") ||
-      die "syscopy $gDirDistInstall/$_ $gDirDistInstall/setup: $!\n";
-
-  $mode = (stat("$gDirDistInstall/$_"))[2];
-  chmod $mode, "$gDirDistInstall/setup/$_";
-}
-
-foreach $_ ("config.ini", "install.ini") {
-    copy ("$gDirDistInstall/$_", "$gDirDistInstall/setup") ||
-	die "copy $gDirDistInstall/$_ $gDirDistInstall/setup: $!\n";
-}
-
-# copy license file for the installer
-$licenseLocation = "$topsrcdir/LICENSE";
-if ($ENV{WIZ_licenseFile} ne "") {
-  $licenseLocation = $ENV{WIZ_licenseFile};
-}
-copy("$topsrcdir/$licenseLocation", "$gDirDistInstall/license.txt") ||
-  die "copy $topsrcdir/$licenseLocation $gDirDistInstall/license.txt: $!\n";
-copy("$topsrcdir/$licenseLocation", "$gDirDistInstall/setup/license.txt") ||
-  die "copy $licenseLocation $gDirDistInstall/setup/license.txt: $!\n";
-
-BuildPlatformInstaller() && die;
-
-# end of script
-exit(0);
-
-sub PrintUsage
-{
-  die "usage: $0 [options]
-
-       options include:
-
-           -config <path>            : path to where configuration and component script
-                                       files are located. 
-                                       
-           -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.
-       \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] =~ /^[-,\/]config$/i)
-    {
-      if ($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inConfigFiles = $myArgv[$counter];
-      }
-    }
-  }
-}
-
-sub MakeConfigFile
-{
-  $ENV{WIZ_userAgent} = "$ENV{WIZ_userAgentShort} ({AB_CD})";
-
-  # Make config.ini and other ini files
-  chdir($gDirDistInstall);
-  foreach $_ ("config.ini", "install.ini") {
-      $itFile = $_;
-      $itFile =~ s/\.ini$/\.it/;
-      copy("$inConfigFiles/$itFile", "$gDirDistInstall/$itFile") || die "copy $inConfigFiles/$itFile $gDirDistInstall/$itFile";
-
-      if(system("perl $gNGAppsScriptsDir/makecfgini.pl $itFile $ENV{WIZ_userAgentShort} $gDirStageProduct $gDirDistInstall/xpi $inRedirIniURL $inXpiURL"))
-      {
-        print "\n Error: perl $gNGAppsScriptsDir/makecfgini.pl $itFile $ENV{WIZ_userAgentShort} $gDirStageProduct $gDirDistInstall/xpi $inRedirIniURL $inXpiURL\n";
-        return(1);
-      }
-
-      unlink("$gDirDistInstall/$itFile");
-  }
-  return(0);
-}
-
-sub MakeJsFile
-{
-  my($mComponent) = @_;
-
-  $ENV{WIZ_userAgent} = "$ENV{WIZ_userAgentShort} ($versionLanguage)";
-
-  # Make .js file
-  chdir($inConfigFiles);
-  if(system("perl $gNGAppsScriptsDir/makejs.pl $mComponent.jst $gDefaultProductVersion $gDirStageProduct/$mComponent"))
-  {
-    print "\n Error: perl $gNGAppsScriptsDir/makejs.pl $mComponent.jst $gDefaultProductVersion $gDirStageProduct/$mComponent\n";
-    return(1);
-  }
-  return(0);
-}
-
-sub MakeXpiFile
-{
-  my($mComponent);
-
-  chdir($inConfigFiles);
-  foreach $mComponent (@gComponentList)
-  {
-    # Make .js files
-    if(MakeJsFile($mComponent))
-    {
-      return(1);
-    }
-
-    # Make .xpi file
-    if(system("perl $gNGAppsScriptsDir/makexpi.pl $mComponent $gDirStageProduct $gDirDistInstall/xpi"))
-    {
-      print "\n Error: perl $gNGAppsScriptsDir/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);
-}
deleted file mode 100755
--- a/toolkit/mozapps/installer/makejs.pl
+++ /dev/null
@@ -1,214 +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 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};
-$shortNameProduct = $ENV{WIZ_shortNameProduct};
-$fileMainExe      = $ENV{WIZ_fileMainExe};
-$greBuildID       = $ENV{WIZ_greBuildID};
-$greFileVersion   = $ENV{WIZ_greFileVersion};
-$greUniqueID      = $ENV{WIZ_greUniqueID};
-$greVersion       = $ENV{WIZ_greVersion};
-
-# Get the name of the file replacing the .jst extension with a .js extension
-$inJstFileBase    = $inJstFile;
-$inJstFileBase    =~ s/\.jst//;
-$outJsFile        = "$inJstFileBase.js";
-$outTempFile      = "$inJstFileBase.template";
-$foundLongFiles   = 0;
-
-print " copy \"$topsrcdir/xpinstall/packager/common/share.t\" $outTempFile\n";
-copy("$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/\$ProductShortName\$/$shortNameProduct/i;
-    $line =~ s/\$ProductNameInternal\$/$nameProductInternal/gi;
-    $line =~ s/\$MainExeFile\$/$fileMainExe/i;
-    $line =~ s/\$GreBuildID\$/$greBuildID/gi;
-    $line =~ s/\$GreFileVersion\$/$greFileVersion/gi;
-    $line =~ s/\$GreUniqueID\$/$greUniqueID/gi;
-    $line =~ s/\$GreVersion\$/$greVersion/gi;
-  }
-
-  print fpOutJs $line;
-}
-
-close(fpInTemplate);
-close(fpOutJs);
-exit(0);
-
-sub GetSpaceRequired()
-{
-  my($inPath) = @_;
-  my($spaceRequired) = 0;
-
-  print "   calculating size for $inPath\n";
-  if ($win32) {
-      $spaceRequired    = `\"$ENV{WIZ_distInstallPath}/ds32.exe\" /D /L0 /A /S /C 32768 $inPath`;
-  } else {
-      @dirEntries = <$inPath/*>;
-
-    # iterate over all dir entries
-    foreach $item ( @dirEntries )
-    {
-        # if dir entry is dir
-        if (-d $item)
-        {
-            # add GetSpaceRequired(<dirEntry>) to space used
-            $spaceRequired += GetSpaceRequired($item);
-        }
-        # else if dir entry is file
-        elsif (-e $item)
-        {
-            # add size of file to space used
-            $spaceRequired += (-s $item);
-        }
-    }
-  }
-
-  $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);
-}
-
deleted file mode 100755
--- a/toolkit/mozapps/installer/makexpi.pl
+++ /dev/null
@@ -1,209 +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 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 File::Basename;
-use File::Find;
-use Cwd;
-
-# 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";
-}
-
-$DEPTH = "../../..";
-$topsrcdir        = GetTopSrcDir();
-$inComponentName  = $ARGV[0];
-$inStagePath      = $ARGV[1];
-$inDestPath       = $ARGV[2];
-
-# check for existance of staging component path
-if(!(-e "$inStagePath/$inComponentName"))
-{
-  die "invalid path: $inStagePath/$inComponentName\n";
-}
-
-$win32 = ($^O =~ /((MS)?win32)|cygwin|os2/i) ? 1 : 0;
-
-if($win32 && $inComponentName =~ /xpcom/i)
-{
-  # copy msvcrt.dll to xpcom dir
-  if(-e "$topsrcdir/../redist/microsoft/system/msvcrt.dll")
-  {
-    copy("$topsrcdir/../redist/microsoft/system/msvcrt.dll", "$inStagePath/$inComponentName");
-  }
-
-  # copy msvcirt.dll to xpcom dir
-  if(-e "$topsrcdir/../redist/microsoft/system/msvcirt.dll")
-  {
-    copy("$topsrcdir/../redist/microsoft/system/msvcirt.dll", "$inStagePath/$inComponentName");
-  }
-}
-
-# 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"))
-{
-  system("mkdir $inDestPath");
-}
-
-print "\n Making $inComponentName.xpi...\n";
-
-$saveCwdir = cwd();
-
-copy("$inComponentName.js", "$inStagePath/$inComponentName/install.js");
-
-# change directory to where the files are, else zip will store
-# unwanted path information.
-chdir("$inStagePath/$inComponentName");
-
-# strip libs on unix
-if (!$win32) {
-    print "stripping libs in $inStagePath/$inComponentName...\n";
-    RecursiveStrip(cwd());
-}
-
-$compressionFlags = "";
-if ($ENV{MOZ_INSTALLER_USE_7ZIP}) 
-{
-  $compressionFlags = "-0";
-}
-
-if(system("zip -r $compressionFlags $inDestPath/$inComponentName.xpi *"))
-{
-  chdir("$saveCwdir");
-  die "\n Error: zip -r $inDestPath/$inComponentName.xpi *\n";
-}
-
-# delete install.js
-if(-e "install.js")
-{
-  unlink("install.js");
-}
-chdir("$saveCwdir");
-
-print "\n $inComponentName.xpi done!\n";
-
-# end of script
-exit(0);
-
-# RecursiveStrip
-#
-# Strips all libs by recursing into all directories and calling
-# the strip utility on all *.so files.
-#
-# @param   targetDir  the directory to traverse recursively
-#
-sub RecursiveStrip
-{
-    my($targetDir) = $_[0];
-    my(@dirEntries) = ();
-    my($entry) = "";
-    my($saveCwd) = cwd();
-
-    undef @libraryList;
-    find({ wanted => \&find_libraries, no_chdir => 1 }, $targetDir);
-    @dirEntries = <$targetDir/*>;
-
-    # strip all .so files
-    system("strip @libraryList") if (defined(@libraryList));
-}
-
-sub find_libraries
-{
-    /\.so$/ && push @libraryList, $File::Find::name;
-    /-bin$/ && push @libraryList, $File::Find::name;
-    /xpicleanup$/ && push @libraryList, $File::Find::name;
-    /mozilla-xremote-client$/ && push @libraryList, $File::Find::name;
-    /updater$/ && push @libraryList, $File::Find::name;
-}
-
-sub GetTopSrcDir
-{
-  my($rootDir) = dirname($0) . "/$DEPTH";
-  my($savedCwdDir) = cwd();
-
-  chdir($rootDir);
-  $rootDir = cwd();
-  chdir($savedCwdDir);
-  return($rootDir);
-}
-
deleted file mode 100755
--- a/toolkit/mozapps/installer/parseandmakejs.pl
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/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.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>
-#   Benjamin Smedberg <benjamin@smedbergs.us>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either 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 File::Basename;
-
-die ("Usage: $0 <cfgFile> <jstFile> <stageDir>") if (scalar(@ARGV) != 3);
-
-my ($cfgFile, $jstFile, $stageDir) = @ARGV;
-
-# ensure that CFGParser.pm is in @INC, since we might not be called from
-# mozilla/toolkit/mozapps/installer
-my $top_path = $0;
-$top_path =~ s/\\/\//g if $win32;
-$top_path = dirname($top_path);
-
-push(@INC, $top_path);
-
-require CFGParser;
-CFGParser::ParseInstallerCfg($cfgFile);
-
-$ENV{WIZ_userAgent} = "$ENV{WIZ_userAgentShort} ($ENV{WIZ_versionLanguage})";
-
-system("perl $top_path/makejs.pl $jstFile $ENV{WIZ_versionProduct} $stageDir") == 0 ||
-  die("Could not create ini file.");
deleted file mode 100644
--- a/xpinstall/packager/Makefile.in
+++ /dev/null
@@ -1,97 +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):
-#   Arthur Wiebe <artooro@gmail.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 *****
-
-DEPTH		= ../..
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-OSPACKAGE	= unix
-ifeq ($(OS_ARCH),IRIX)
-STRIP_FLAGS	= -f
-endif
-ifeq ($(OS_ARCH),BeOS)
-STRIP_FLAGS	= -g
-PLATFORM_EXCLUDE_LIST = ! -name "*.stub" ! -name "$(MOZ_PKG_APPNAME)-bin"
-endif
-ifeq ($(OS_ARCH),OS2)
-STRIP		= $(srcdir)/os2/strip.cmd
-STRIP_FLAGS	=
-OSPACKAGE	= os2
-PLATFORM_EXCLUDE_LIST = ! -name "*.ico"
-endif
-
-NO_PKG_FILES	= \
-		$(MOZ_APP_NAME)-config \
-		$(NULL)
-
-include $(topsrcdir)/config/rules.mk
-
-include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
-
-
-dist: $(MOZILLA_BIN)
-ifndef MOZ_PKG_DEST
-	@echo "Please define MOZ_PKG_DEST first. It must be an absolute path to a dir outside the source tree. It should be empty (files might get deleted without warning)."
-	@echo "Other options (not required):"
-	@echo "MOZ_PKG_FORMAT: Either TGZ for .tar.gz or BZ2 for .tar.bz2. Default TGZ."
-	@echo "MOZ_PKG_APPNAME: Application name, used for tarball filename, top-level dir in tarball and application start script. Default mozilla."
-else
-	@if [ ! -d $(MOZ_PKG_DEST) ]; then mkdir $(MOZ_PKG_DEST); fi
-	@cd $(MOZ_PKG_DEST); rm -rf bin $(MOZ_PKG_APPNAME) $(PACKAGE)
-	@echo "Creating distribution tarball in $(MOZ_PKG_DEST)..."
-	$(PERL) $(srcdir)/pkgcp.pl --source $(DEPTH)/dist --destination $(MOZ_PKG_DEST) --file $(srcdir)/packages-$(OSPACKAGE) --os $(OSPACKAGE) --flat
-	@cd $(MOZ_PKG_DEST); mv bin $(MOZ_PKG_APPNAME)
-ifneq ($(MOZ_PKG_APPNAME),mozilla)
-	@echo "Creating start script $(MOZ_PKG_APPNAME)..."
-	cd $(MOZ_PKG_DEST)/$(MOZ_PKG_APPNAME); cp mozilla $(MOZ_PKG_APPNAME)
-endif
-	@echo "Compressing..."
-	cd $(MOZ_PKG_DEST); $(MAKE_PACKAGE)
-	@echo "Deleting work files..."
-	@cd $(MOZ_PKG_DEST); rm -rf $(MOZ_PKG_APPNAME)
-	@echo "Done creating $(PACKAGE)."
-endif
-
-installer::
-ifdef INSTALLER_DIR
-	$(MAKE) -C $(INSTALLER_DIR) installer
-endif
deleted file mode 100644
--- a/xpinstall/packager/StageUtils.pm
+++ /dev/null
@@ -1,509 +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.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corp.
-# Portions created by the Initial Developer are Copyright (C) 2003
-# 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 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 script contains functions that aid in the creation of the stage ares
-# for a given product.  It helps with copying multiple files and also subdirs.
-# It is mainly used by make_stage.pl and the stage_[product name].pl scripts.
-
-package StageUtils;
-
-require 5.004;
-
-use strict;
-use Cwd;
-use File::Copy;
-use File::Path;
-use File::Basename;
-use IO::Handle;
-
-my($gDirScripts)            = dirname($0);  # directory of the running script
-$gDirScripts                =~ s/\\/\//g;
-my($DEPTH)                  = "../..";
-
-sub CopySubDirs
-{
-  my($aSrc, $aDestDir) = @_;
-  my($SDIR)            = undef;
-  my($file)            = undef;
-
-  if(!(-d "$aDestDir"))
-  {
-    mkdir("$aDestDir", 0755) || die "\n mkdir(\"$aDestDir\", 0755): $!\n";
-  }
-
-  if(-d $aSrc)
-  {
-    CopyFiles("$aSrc", "$aDestDir");
-    my $SDIR = new IO::Handle;
-
-    opendir($SDIR, "$aSrc") || die "opendir($aSrc): $!\n";
-    while ($file = readdir($SDIR))
-    {
-      next if(-f "$aSrc/$file");
-      next if(($file eq "\.\.") || ($file eq "\."));
-
-      if(!(-d "$aDestDir/$file"))
-      {
-        mkdir("$aDestDir/$file", 0755) || die "\n mkdir(\"$aDestDir/$file\", 0755): $!\n";
-      }
-
-      CopySubDirs("$aSrc/$file", "$aDestDir/$file");
-    }
-    closedir($SDIR);
-  }
-  elsif(-f $aSrc)
-  {
-    copy("$aSrc", "$aDestDir") || die "\n copy($aSrc, $aDestDir): $!\n";
-  }
-  else
-  {
-    die "\n error file not found: $aSrc\n";
-  }
-}
-
-sub CopyFiles
-{
-  my($aSrc, $aDestDir) = @_;
-  my($SDIR)            = undef;
-  my($file)            = undef;
-
-  if(!(-d "$aDestDir"))
-  {
-    mkdir("$aDestDir", 0755) || die "\n mkdir(\"$aDestDir\", 0755): $!\n";
-  }
-  if(-d $aSrc)
-  {
-    my $SDIR = new IO::Handle;
-
-    opendir($SDIR, "$aSrc") || die "opendir($aSrc): $!\n";
-    while ($file = readdir($SDIR))
-    {
-      next if(-d "$aSrc/$file");
-      copy("$aSrc/$file", "$aDestDir") || die "\n copy($aSrc/$file, $aDestDir): $!\n";
-    }
-    closedir($SDIR);
-  }
-  elsif(-f $aSrc)
-  {
-    copy("$aSrc", "$aDestDir") || die "\n copy($aSrc, $aDestDir): $!\n";
-  }
-  else
-  {
-    die "\n error file not found: $aSrc\n";
-  }
-}
-
-sub GetAbsPath
-{
-  my($aWhichPath) = @_;
-  my($savedCwd)  = undef;
-  my($path)      = undef;
-  my($_path)     = undef;
-
-  $savedCwd = cwd();
-  chdir($gDirScripts);  # We need to chdir to the scripts dir because $DEPTH is relative to this dir.
-  if($aWhichPath eq "moz_dist")
-  {
-    $_path = "$DEPTH/dist";
-  }
-  elsif($aWhichPath eq "moz_packager")
-  {
-    $_path = "$DEPTH/xpinstall/packager";
-  }
-  elsif($aWhichPath eq "moz_scripts")
-  {
-    $_path = "$DEPTH/xpinstall/packager/scripts";
-  }
-  elsif($aWhichPath eq "moz_root")
-  {
-    $_path = $DEPTH;
-  }
-  elsif($aWhichPath eq "cwd")
-  {
-    $_path = cwd();
-  }
-
-  # verify the existance of path
-  if(!defined($_path))
-  {
-    die " StageUtils::GetAbsPath::unrecognized path to locate: $aWhichPath\n";
-  }
-
-  if(!(-d $_path))
-  {
-    die " path not found: $_path\n";
-  }
-
-  chdir($_path);
-  $path = cwd();
-  chdir($savedCwd);
-  $path =~ s/\\/\//g;
-  return($path);
-}
-
-sub CreateStage
-{
-  my($aDirSrcDist, $aDirStageProductName, $aDirDistPackagesProductName, $aOs) = @_;
-  my($savedCwd)       = cwd();
-  my($SDIR)           = undef;
-  my($file)           = undef;
-  my($processedAFile) = undef;
-  my($dirMozPackager) = GetAbsPath("moz_packager");
-
-  # The destination cannot be a sub directory of the source.
-  # pkgcp.pl will get very unhappy.
-
-  if(!(-d $aDirSrcDist))
-  {
-    die "\n path not found: $aDirSrcDist\n";
-  }
-
-  chdir("$savedCwd");
-  if(!(-d "$aDirStageProductName"))
-  {
-    mkdir("$aDirStageProductName", 0755) || die "mkdir($aDirStageProductName, 0755): $!\n";
-  }
-  print("\n Stage area: $aDirStageProductName\n"); 
-  if(-d $aDirDistPackagesProductName)
-  {
-    my $SDIR = new IO::Handle;
-
-    opendir($SDIR, $aDirDistPackagesProductName) || die "opendir($aDirDistPackagesProductName): $!\n";
-    while ($file = readdir($SDIR))
-    {
-      next if(-d "$aDirDistPackagesProductName/$file");
-      $processedAFile = 1;
-      print "\n\n pkg file: $file (located in $aDirDistPackagesProductName)\n\n";
-
-      if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-      {
-        print "\n calling \"$dirMozPackager/pkgcp.pl\" -s \"$aDirSrcDist\" -d \"$aDirStageProductName\" -f \"$aDirDistPackagesProductName/$file\" -o $aOs -v\n\n";
-      }
-
-      system("perl \"$dirMozPackager/pkgcp.pl\" -s \"$aDirSrcDist\" -d \"$aDirStageProductName\" -f \"$aDirDistPackagesProductName/$file\" -o $aOs -v");
-    }
-    closedir($SDIR);
-
-    if(!$processedAFile)
-    {
-      die "\n Error: no package(s) to process in $aDirStageProductName\n";
-    }
-  }
-  else
-  {
-    die "\n path not found: $aDirDistPackagesProductName\n";
-  }
-}
-
-sub CopyAdditionalPackage
-{
-  my($aFile, $aDirDistPackagesProductName) = @_;
-
-  if(!(-e "$aDirDistPackagesProductName"))
-  {
-    mkdir("$aDirDistPackagesProductName", 0755) || die "\n mkdir($aDirDistPackagesProductName, 0755): $!\n";
-  }
-
-  if(-e $aFile)
-  {
-    print " copying $aFile\n";
-    copy("$aFile", "$aDirDistPackagesProductName") || die "copy('$aFile', '$aDirDistPackagesProductName'): $!\n";
-  }
-}
-
-sub CleanupStage
-{
-  my($aDirStage, $aProductName) = @_;
-  my($dirStageProduct) = "$aDirStage/$aProductName";
-
-  rmtree([$dirStageProduct],0,0) if(-d $dirStageProduct);
-  if(!(-d "$aDirStage"))
-  {
-    mkdir("$aDirStage", 0755) || die "\n mkdir($aDirStage, 0755): $!\n";
-  }
-}
-
-sub CleanupDistPackages
-{
-  my($aDirDistPackages, $aProductName) = @_;
-  my($dirDistPackagesProductName) = "$aDirDistPackages/$aProductName";
-
-  rmtree([$dirDistPackagesProductName],0,0) if(-d $dirDistPackagesProductName);
-  if(!(-d "$aDirDistPackages"))
-  {
-    mkdir("$aDirDistPackages", 0755) || die "\n mkdir($aDirDistPackages, 0755): $!\n";
-  }
-  if(!(-d "$dirDistPackagesProductName"))
-  {
-    mkdir("$dirDistPackagesProductName", 0755) || die "\n mkdir($dirDistPackagesProductName, 0755): $!\n";
-  }
-}
-
-sub GeneratePackagesFromSinglePackage
-{
-  my($aPlatform, $aSinglePackage, $aDestination) = @_;
-
-  if(!(-d "$aDestination"))
-  {
-    mkdir("$aDestination", 0755) || die "\n mkdir('$aDestination', 0755): $!\n";
-  }
-  system("perl $gDirScripts/make_pkgs_from_list.pl -p $aPlatform -pkg $aSinglePackage -o $aDestination");
-}
-
-# To retrieve a build id ($aDefine) from $aBuildIDFile (normally
-# $topobjdir/dist/include/nsBuildID.h).
-sub GetProductBuildID
-{
-  my($aBuildIDFile, $aDefine) = @_;
-  my($line);
-  my($buildID);
-  my($fpInIt);
-
-  if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-  {
-    print " GetProductBuildID\n";
-    print "   aBuildIDFile  : $aBuildIDFile\n";
-    print "   aDefine       : $aDefine\n";
-  }
-
-  if(!(-e $aBuildIDFile))
-  {
-    die "\n file not found: $aBuildIDFile\n";
-  }
-
-  # Open the input file
-  open($fpInIt, $aBuildIDFile) || die "\n open $aBuildIDFile for reading: $!\n";
-
-  # While loop to read each line from input file
-  while($line = <$fpInIt>)
-  {
-    if($line =~ /#define.*$aDefine/)
-    {
-      $buildID = $line;
-      chop($buildID);
-
-      # only get the build id from string, excluding spaces
-      $buildID =~ s/..*$aDefine\s+//;
-      # strip out any quote characters
-      $buildID =~ s/\"//g;
-      # get rid of whitespace - chomp misses ^M on cygwin
-      $buildID =~ s/\s//sg;
-      chomp ($buildID);
-    }
-  }
-  close($fpInIt);
-  return($buildID);
-}
-
-# GetGreSpecialID()
-#   To build GRE's ID as follows:
-#     * Use mozilla's milestone version for 1st 2 numbers of version x.x.x.x.
-#     * DO NOT Strip out any non numerical chars from mozilla's milestone
-#       version.
-#     * Get the y2k ID from Mozilla's $topobjdir/dist/include/nsBuildID.h.  It
-#       has to be from Mozilla because GRE is from Mozilla.
-#     * Build the GRE special ID given the following:
-#         mozilla milestone: 1.4a
-#         mozilla buildID.h: 2003030510
-#         GRE Special ID   : 1.4a_2003030510
-sub GetGreSpecialID
-{
-  my($aDirMozTopObj)                    = @_;
-  my($fileBuildID)                      = "$aDirMozTopObj/dist/include/nsBuildID.h";
-
-  if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-  {
-    print " GetGreSpecialID\n";
-    print "   aDirMozTopObj : $aDirMozTopObj\n";
-    print "   fileBuildID   : $fileBuildID\n";
-  }
-
-  return(GetProductBuildID($fileBuildID, "GRE_BUILD_ID"));
-}
-
-# GetGreFileVersion()
-#   To build GRE's file version as follows:
-#     * Use mozilla's milestone version for 1st 2 numbers of version x.x.x.x.
-#     * Strip out any non numerical chars from mozilla's milestone version.
-#     * Get the y2k ID from $topobjdir/dist/include/nsBuildID.h.
-#     * Split the y2k ID exactly in 2 equal parts and use them for the last
-#       2 numbers of the version x.x.x.x.
-#         ie: y2k: 2003030510
-#             part1: 20030
-#             part2: 30510
-#
-#  XXX  XXX: Problem with this format! It won't work for dates > 65536.
-#              ie: 20030 71608 (July 16, 2003 8am)
-#
-#            mozilla/config/version_win.pl has the same problem because these
-#            two code need to be in sync with each other.
-#
-#     * Build the GRE file version given a mozilla milestone version of "1.4a"
-#         GRE version: 1.4.20030.30510
-sub GetGreFileVersion
-{
-  my($aDirTopObj, $aDirMozTopSrc)       = @_;
-  my($fileBuildID)                      = "$aDirTopObj/dist/include/nsBuildID.h";
-
-  if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-  {
-    print " GetGreFileVersion\n";
-    print "   aDirTopObj    : $aDirTopObj\n";
-    print "   aDirMozTopSrc : $aDirMozTopSrc\n";
-    print "   fileBuildID   : $fileBuildID\n";
-  }
-
-  my($initEmptyValues)                  = 1;
-  my(@version)                          = undef;
-  my($y2kDate)                          = undef;
-  my($buildID_hi)                       = undef;
-  my($buildID_lo)                       = undef;
-  my($versionMilestone)                 = GetProductMilestoneVersion($aDirTopObj, $aDirMozTopSrc, $aDirMozTopSrc, $initEmptyValues);
-
-  $versionMilestone =~ s/[^0-9.][^.]*//g; # Strip out non numerical chars from versionMilestone.
-  @version          = split /\./, $versionMilestone;
-  $y2kDate          = GetProductBuildID($fileBuildID, "NS_BUILD_ID");
-
-  # If the buildID is 0000000000, it means that it's a non release build.
-  # This also means that the GRE version (xpcom.dll's version) will be
-  # 0.0.0.0.  We need to match this version for install to proceed
-  # correctly.
-  if($y2kDate eq "0000000000")
-  {
-    return("0.0.0.0");
-  }
-
-  $buildID_hi       = substr($y2kDate, 0, 5);
-  $buildID_hi       =~ s/^0+//; # strip out leading '0's
-  $buildID_hi       = 0 if($buildID_hi eq undef); #if buildID_hi happened to be all '0's, then set it to '0'
-  $buildID_lo       = substr($y2kDate, 5);
-  $buildID_lo       =~ s/^0+//; # strip out leading '0's
-  $buildID_lo       = 0 if($buildID_lo eq undef); #if buildID_hi happened to be all '0's, then set it to '0'
-
-  return("$version[0].$version[1].$buildID_hi.$buildID_lo");
-}
-
-# Retrieves the product's milestone version (ns or mozilla):
-#   ie: "1.4a.0.0"
-#
-# If the milestone version is simply "1.4a", this function will prefil
-# the rest of the 4 unit ids with '0':
-#   ie: "1.4a" -> "1.4a.0.0"
-#
-# The milestone version is acquired from [topsrcdir]/config/milestone.txt
-sub GetProductMilestoneVersion
-{
-  my($aDirTopObj, $aDirMozTopSrc, $aDirConfigTopSrc, $initEmptyValues) = @_;
-  my($y2kDate)                          = undef;
-  my($versionMilestone)                 = undef;
-  my($counter)                          = undef;
-  my(@version)                          = undef;
-  my($saveCwd)                          = cwd();
-
-  if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-  {
-    print " GetProductMileStoneVersion\n";
-    print "   aDirTopObj      : $aDirTopObj\n";
-    print "   aDirMozTopSrc   : $aDirMozTopSrc\n";
-    print "   aDirConfigTopSrc: $aDirConfigTopSrc\n";
-  }
-
-  #chdir("$aDirMozTopSrc/config");
-  $versionMilestone = `cat $aDirMozTopSrc/suite/config/version.txt`;
-
-  if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-  {
-    print "   versionMilestone: $versionMilestone\n";
-  }
-
-  chomp($versionMilestone);
-  chdir($saveCwd);
-
-  if(defined($initEmptyValues) && ($initEmptyValues eq 1))
-  {
-    @version = split /\./, $versionMilestone;
-
-    # Initialize any missing version blocks (x.x.x.x) to '0'
-    for($counter = $#version + 1; $counter <= 3; $counter++)
-    {
-      $version[$counter] = "0";
-    }
-    return("$version[0].$version[1].$version[2].$version[3]");
-  }
-  return($versionMilestone);
-}
-
-# Retrieves the products's milestone version from either the ns tree or the
-# mozilla tree.
-#
-# However, it will use the y2k compliant build id only from:
-#   .../mozilla/dist/include/nsBuildID.h
-#
-# in the last value:
-#   ie: milestone.txt               : 1.4a
-#       nsBuildID.h                 : 2003030510
-#       product version then will be: 1.4a.0.2003030510
-#
-# The milestone version is acquired from [topsrcdir]/config/milestone.txt
-sub GetProductY2KVersion
-{
-  my($aDirTopObj, $aDirMozTopSrc, $aDirConfigTopSrc, $aDirMozTopObj) = @_;
-
-  $aDirMozTopObj = $aDirTopObj if(!defined($aDirMozTopObj));
-
-  if(defined($ENV{DEBUG_INSTALLER_BUILD}))
-  {
-    print " GetProductY2KVersion\n";
-    print "   aDirTopObj      : $aDirTopObj\n";
-    print "   aDirMozTopObj   : $aDirMozTopObj\n";
-    print "   aDirMozTopSrc   : $aDirMozTopSrc\n";
-    print "   aDirConfigTopSrc: $aDirConfigTopSrc\n";
-  }
-
-  my($fileBuildID)                      = "$aDirMozTopObj/dist/include/nsBuildID.h";
-  my($initEmptyValues)                  = 1;
-  my(@version)                          = undef;
-  my($y2kDate)                          = undef;
-  my($versionMilestone)                 = GetProductMilestoneVersion($aDirTopObj, $aDirMozTopSrc, $aDirConfigTopSrc, $initEmptyValues);
-
-  @version = split /\./, $versionMilestone;
-  $y2kDate = GetProductBuildID($fileBuildID, "NS_BUILD_ID");
-  return("$version[0].$version[1].$version[2].$y2kDate");
-}
-
deleted file mode 100644
--- a/xpinstall/packager/build/cfgs/gre.pl
+++ /dev/null
@@ -1,80 +0,0 @@
-package WizCfg;
-require Exporter;
-@ISA = qw(Exporter);
-@EXPORT = qw(SetCfgVars, PrepareDistArea, CopyExtraDistFiles, CreateFullInstaller);
-
-
-sub SetCfgVars 
-{
-  $::bPrepareDistArea     = 1;
-  $::bCreateFullInstaller = 0;
-  $::bCreateStubInstaller = 0;
-
-  print "\n+++++++++++++++++++gre.pl++++++++++++++++++++++++";
-  $::ProdDir                = "$::DEPTH\\xpinstall\\packager\\build\\win\\gre";
-  $::XPI_JST_Dir            = "$::ProdDir\\XPI_JSTs";
-  $::StubInstJstDir         = "$::ProdDir\\StubInstJst";
-#  $cwdBuilder               = "$::DEPTH\\xpinstall\\wizard\\windows\\builder";
-#  $cwdDistWin              = GetCwd("distwin",  $::DEPTH, $cwdBuilder);
-  $::inStagePath            = "$::DEPTH\\dist\\stage";
-  $::inDistPath             = "$::DEPTH\\dist\\installer\\gre";
-
-  $::seiFileNameGeneric       = "nsinstall.exe";
-  $::seiFileNameSpecific      = "gre-win32-installer.exe";
-  $::seiStubRootName          = "gre-win32-stub-installer";
-  $::seiFileNameSpecificStub  = "$::seiStubRootName.exe";
-  $::sebiFileNameSpecific     = "";                 # filename for the big blob installer
-  $::seuFileNameSpecific      = "GREUninstall.exe";
-  $::seuzFileNameSpecific     = "greuninstall.zip";
-  $::versionLanguage          = "en";
-  $::seiBetaRelease           = "";
-
-# set environment vars for use by other .pl scripts called from this script.
-  $ENV{WIZ_nameCompany}          = "mozilla.org";
-  $ENV{WIZ_nameProduct}          = "GRE";
-  $ENV{WIZ_nameProductInternal}  = "GRE";
-  $ENV{WIZ_nameProductNoVersion} = "GRE";
-  $ENV{WIZ_fileMainExe}          = "none.exe";
-  $ENV{WIZ_fileUninstall}        = $::seuFileNameSpecific;
-  $ENV{WIZ_fileUninstallZip}     = $::seuzFileNameSpecific;
-  $ENV{WIZ_descShortcut}         = "";
-}
-
-sub GetStarted
-{
-  print "\nNo Getting Started actions required for this product\n";
-}
-
-sub MakeExeZipFiles
-{
-  print "\n Don't need to create any Self-extracting zip files for this product  \n";
-}
-
-sub CopyExtraDistFiles
-{
-  print "\Copying Extra Dist Files to copy\n";
-
-  # copy license file for the installer
-  if(system("copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\license.txt"))
-  {
-    die "\n Error: copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\license.txt\n";
-  }
-  if(system("copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\setup\\license.txt"))
-  {
-    die "\n Error: copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\setup\\license.txt\n";
-  }
-}
-
-sub CreateFullInstaller()
-{
-  # create the big self extracting .exe installer
-  print "\nNo Self Extracting Executable is created for this product\n";
-
-  return(0);
-}
-
-sub FinishUp
-{
-  print "\nNo finish up step required for this product\n";
-  return(0);
-}
deleted file mode 100644
--- a/xpinstall/packager/build/cfgs/mfcembed.pl
+++ /dev/null
@@ -1,94 +0,0 @@
-package WizCfg;
-require Exporter;
-@ISA = qw(Exporter);
-@EXPORT = qw(SetCfgVars, PrepareDistArea, CopyExtraDistFiles, CreateFullInstaller);
-
-
-sub SetCfgVars 
-{
-  $::bPrepareDistArea     = 1;
-  $::bCreateFullInstaller = 0;
-  $::bCreateStubInstaller = 0;
-
-  print "\n+++++++++++++++++++mfcembed.pl++++++++++++++++++++++++";
-  $::ProdDir                = "$::DEPTH\\xpinstall\\packager\\build\\win\\mfcembed";
-  $::XPI_JST_Dir            = "$::ProdDir\\XPI_JSTs";
-  $::StubInstJstDir         = "$::ProdDir\\StubInstJst";
-#  $cwdBuilder               = "$::DEPTH\\xpinstall\\wizard\\windows\\builder";
-#  $cwdDistWin              = GetCwd("distwin",  $::DEPTH, $cwdBuilder);
-  $::inStagePath            = "$::DEPTH\\dist\\stage";
-  $::inDistPath             = "$::DEPTH\\dist\\installer\\mfcembed";
-
-  $::seiFileNameGeneric       = "nsinstall.exe";
-  $::seiFileNameSpecific      = "mfcembed-win32-installer.exe";
-  $::seiStubRootName          = "mfcembed-win32-stub-installer";
-  $::seiFileNameSpecificStub  = "$::seiStubRootName.exe";
-  $::sebiFileNameSpecific     = "";                 # filename for the big blob installer
-  $::seuFileNameSpecific      = "MfcEmbedUninstall.exe";
-  $::seuzFileNameSpecific     = "mfcembeduninstall.zip";
-  $::versionLanguage          = "en";
-  $::seiBetaRelease           = "";
-
-# set environment vars for use by other .pl scripts called from this script.
-  $ENV{WIZ_nameCompany}          = "mozilla.org";
-  $ENV{WIZ_nameProduct}          = "MfcEmbed";
-  $ENV{WIZ_nameProductInternal}  = "MfcEmbed";
-  $ENV{WIZ_nameProductNoVersion} = "MfcEmbed";
-  $ENV{WIZ_fileMainExe}          = "mfcembed.exe";
-  $ENV{WIZ_fileUninstall}        = $::seuFileNameSpecific;
-  $ENV{WIZ_fileUninstallZip}     = $::seuzFileNameSpecific;
-  $ENV{WIZ_descShortcut}         = "";
-}
-
-sub GetStarted
-{
-  print "\nNo Getting Started actions required for this product\n";
-}
-
-sub MakeExeZipFiles
-{
-  print "\n Don't need to create any Self-extracting zip files for this product  \n";
-}
-
-sub CopyExtraDistFiles
-{
-  print "\Copying Extra Dist Files to copy\n";
-
-  # copy license file for the installer
-  if(system("copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\license.txt"))
-  {
-    die "\n Error: copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\license.txt\n";
-  }
-  if(system("copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\setup\\license.txt"))
-  {
-    die "\n Error: copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\setup\\license.txt\n";
-  }
-
-  # Copy GRE blob installer
-  if(system("copy $::inDistPath\\..\\..\\inst_gre\\gre-win32-installer.exe $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\inst_gre\\gre-win32-installer.exe $::inDistPath\n";
-  }
-
-  # Until we really figure out what to do with this batch file, this will get it
-  #   into the installer, at least
-  print "\n Copying $::ProdDir\\runapp.bat $::inStagePath\\mfcembed\\gre_app_support\n";
-  if(system("copy $::ProdDir\\runapp.bat $::inStagePath\\mfcembed\\gre_app_support"))
-  {
-    die "\n Error: copy $::ProdDir\\runapp.bat $::inStagePath\\mfcembed\\gre_app_support\n";
-  }
-}
-
-sub CreateFullInstaller()
-{
-  # create the big self extracting .exe installer
-  print "\nNo Self Extracting Executable is created for this product\n";
-
-  return(0);
-}
-
-sub FinishUp
-{
-  print "\nNo finish up step required for this product\n";
-  return(0);
-}
deleted file mode 100644
--- a/xpinstall/packager/build/cfgs/mozilla.pl
+++ /dev/null
@@ -1,129 +0,0 @@
-package WizCfg;
-require Exporter;
-@ISA = qw(Exporter);
-@EXPORT = qw(SetCfgVars, CopyExtraDistFiles, CreateFullInstaller);
-
-
-sub SetCfgVars 
-{
-  print"What is going on here?\n";
-  $::ProdDir                = "$::DEPTH\\xpinstall\\packager\\build\\win\\mozilla";
-  $::XPI_JST_Dir            = "$::ProdDir\\XPI_JSTs";
-  $::StubInstJstDir         = "$::ProdDir\\StubInstJst";
-#  $cwdBuilder               = "$::DEPTH\\xpinstall\\wizard\\windows\\builder";
-#  $cwdDistWin              = GetCwd("distwin",  $::DEPTH, $cwdBuilder);
-  $::inStagePath            = "$::DEPTH\\stage";
-  $::inDistPath             = "$::DEPTH\\dist\\installer\\mozilla";
-
-  $::seiFileNameGeneric       = "nsinstall.exe";
-  $::seiFileNameSpecific      = "mozilla-win32-installer.exe";
-  $::seiStubRootName          = "mozilla-win32-stub-installer";
-  $::seiFileNameSpecificStub  = "$::seiStubRootName.exe";
-  $::sebiFileNameSpecific     = "";                 # filename for the big blob installer
-  $::seuFileNameSpecific      = "MozillaUninstall.exe";
-  $::seuzFileNameSpecific     = "mozillauninstall.zip";
-  $::versionLanguage          = "en";
-  $::seiBetaRelease           = "";
-
-# set environment vars for use by other .pl scripts called from this script.
-  $ENV{WIZ_nameCompany}          = "mozilla.org";
-  $ENV{WIZ_nameProduct}          = "Mozilla";
-  $ENV{WIZ_nameProductInternal}  = "Mozilla";
-  $ENV{WIZ_nameProductNoVersion} = "Mozilla";
-  $ENV{WIZ_fileMainExe}          = "Mozilla.exe";
-  $ENV{WIZ_fileUninstall}        = $::seuFileNameSpecific;
-  $ENV{WIZ_fileUninstallZip}     = $::seuzFileNameSpecific;
-  $ENV{WIZ_descShortcut}         = "";
-
-}
-
-sub GetStarted
-{
-  print "\nNo Getting Started actions required for this product\n";
-}
-
-sub PrepareDistArea
-{
-  print "\n Don't need prep the dist area for this product  \n";
-}
-
-sub MakeExeZipFiles
-{
-  print "\n Don't need to create any Self-extracting zip files for this product  \n";
-}
-
-sub CopyExtraDistFiles
-{
-  # copy license file for the installer
-  if(system("copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\license.txt"))
-  {
-    die "\n Error: copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\license.txt\n";
-  }
-  if(system("copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\setup\\license.txt"))
-  {
-    die "\n Error: copy $ENV{MOZ_SRC}\\mozilla\\LICENSE $::inDistPath\\setup\\license.txt\n";
-  }
-}
-
-sub CreateFullInstaller()
-{
-  # 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";
-  if(-d "$::inDistPath\\sea")
-  {
-    unlink <$::inDistPath\\sea\\*>;
-  }
-  else
-  {
-    mkdir ("$::inDistPath\\sea",0775);
-  }
-  if(system("copy $::inDistPath\\$::seiFileNameGeneric $::inDistPath\\$::seiFileNameSpecific"))
-  {
-    die "\n Error: copy $::inDistPath\\$::seiFileNameGeneric $::inDistPath\\$::seiFileNameSpecific\n";
-  }
-  if(system("$::inDistPath\\nsztool.exe $::inDistPath\\$::seiFileNameSpecific $::inDistPath\\setup\\*.* $::inDistPath\\xpi\\*.*"))
-  {
-    die "\n Error: $::inDistPath\\nsztool.exe $::inDistPath\\$::seiFileNameSpecific $::inDistPath\\setup\\*.* $::inDistPath\\xpi\\*.*\n";
-  }
-  if(system("copy $::inDistPath\\$::seiFileNameSpecific $::inDistPath\\sea"))
-  {
-    die "\n Error: copy $::inDistPath\\$::seiFileNameSpecific $::inDistPath\\sea\n";
-  }
-  unlink <$::inDistPath\\$::seiFileNameSpecificStub>;
-
-  return(0);
-}
-
-sub FinishUp
-{
-  if((!(-e "$ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcrt.dll")) ||
-     (!(-e "$ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcirt.dll")))
-  {
-    print "***\n";
-    print "**\n";
-    print "**  The following required Microsoft redistributable system files were not found\n";
-    print "**  in $ENV{MOZ_SRC}\\redist\\microsoft\\system:\n";
-    print "**\n";
-    if(!(-e "$ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcrt.dll"))
-    {
-      print "**    msvcrt.dll\n";
-    }
-    if(!(-e "$ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcirt.dll"))
-    {
-      print "**    msvcirt.dll\n";
-    }
-    print "**\n";
-    print "**  The above files are required by the installer and the browser.  If you attempt\n";
-    print "**  to run the installer, you may encounter the following bug:\n";
-    print "**\n";
-    print "**    http://bugzilla.mozilla.org/show_bug.cgi?id=27601\n";
-    print "**\n";
-    print "***\n\n";
-  }
-
-  return(0);
-}
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/GetLongFile.pl
+++ /dev/null
@@ -1,218 +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 Navigator.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corp.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# 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 < 1)
-{
-    print_usage();
-    exit(1);
-}
-
-print "searching for longfilenames in:\n";
-print "  $ARGV[0]\n";
-
-$outFile     = $ARGV[1];
-$start_dir   = $ARGV[0];
-$start_dir   =~ s/\\/\//g;
-
-if(substr($start_dir, -1, 1) ne '/')
-{
-    $start_dir = $start_dir . "/";
-}
-
-# Open the output file
-open(fpOutFile, ">>$outFile") || die "\nCould not open $outFile: $!\n";
-
-# $rv has the following possible values:
-#   0 - Found at least one long filename file
-#   1 - Error locating GetShortPathName.exe
-#   2 - No long filename file found
-$rv = check_dir_structure($ARGV[0]);
-
-print "\n";
-close(fpOutFile);
-exit($rv);
-# end
-
-sub check_dir_structure
-{
-    my($curr_dir) = @_;
-    my($foundFirstFile) = 2; # This var is also used as a return value:
-                             #   0 - Found at least one long filename file
-                             #   1 - Error locating GetShortPathName.exe
-                             #   2 - No long filename file found
-
-    $save_cwd     = cwd();
-    $save_cwd     =~ s/\//\\/g;
-    if((-e "$curr_dir") && (-d "$curr_dir"))
-    {
-        $foundFirstFile = check_all_dir($curr_dir, $foundFirstFile);
-        chdir($save_cwd);
-        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!";
-        }
-    }
-
-    # print out the closing brace for the last file written out.
-    if($foundFirstFile == 0)
-    {
-        # at least one file was found
-        # print the "];\n" for the previous file found.
-        print fpOutFile "];\n";
-    }
-
-    return($foundFirstFile);
-}
-
-sub check_all_dir
-{
-    my($curr_dir, $foundFirstFile) = @_;
-    my(@dirlist);
-    my($file);
-
-    chdir("$curr_dir");
-    @dirlist = <*>;
-    foreach $file (@dirlist)
-    {
-        if(-d "$file")
-        {
-            print ".";
-            $foundFirstFile = check_all_dir($file, $foundFirstFile);
-        }
-        elsif(-e $file)
-        {
-            if(check_extension($file))
-            {
-                $short_filename = `$ENV{MOZ_TOOLS}\\bin\\GetShortPathName.exe $file`;
-                if(($?/256) == 1)
-                {
-                    print "$ENV{MOZ_TOOLS}\\bin\\GetShortPathName.exe: $!\n";
-                    exit(1);
-                }
-
-                if(!($file =~ /$short_filename/i))
-                {
-                    if($foundFirstFile == 0)
-                    {
-                        # at least one file was found
-                        # print the ",\n" for the previous file found.
-                        print fpOutFile ",\n";
-                    }
-
-                    $curr_path = cwd();
-                    # perl has problems dealing with '\\''s in split(), so we need to
-                    # convert them to '/''s.
-                    $curr_path =~ s/\\/\//g;
-                    @relative_path = split(/$start_dir/,$curr_path);
-                    if($relative_path[1] eq "")
-                    {
-                        print_file($file, $foundFirstFile);
-                    }
-                    else
-                    {
-                        print_file("$relative_path[1]/$file", $foundFirstFile);
-                    }
-                    $foundFirstFile = 0;
-                }
-            }
-        }
-    }
-    chdir("..");
-    return($foundFirstFile);
-}
-
-sub check_extension
-{
-  my($file)      = @_;
-  my($var);
-  @listExtension = ("dll",
-                    "com",
-                    "jar",
-                    "exe");
-
-  @arrayExtension = split(/\./,$file);
-  $extension = @arrayExtension[$#arrayExtension];
-  foreach $var (@listExtension)
-  {
-    if($extension eq $var)
-    {
-      return(1);
-    }
-  }
-  return(0);
-}
-
-sub print_file
-{
-  my($file, $foundFirstFile) = @_;
-
-  if($foundFirstFile)
-  {
-      # first file in list
-      print fpOutFile "// This list contains filenames that are long filenames ( > 8.3) critical during installation time.\n";
-      print fpOutFile "// This list is automatically generated during the build process.\n";
-      print fpOutFile "// The filenames should include paths relative to the Netscape 6 folder.\n";
-      print fpOutFile "// '/' must be used as path delimiters regardless of platform.\n";
-      print fpOutFile "var listLongFilePaths = [\"$file\"";
-  }
-  else
-  {
-      # middle file in list
-      print fpOutFile "                         \"$file\"";
-  }
-}
-
-sub print_usage
-{
-    print "\n usage: $0 <dir> <outfile>\n";
-    print "\n        dir     - full path to look for files\n";
-    print "        outfile - file to append to\n";
-}
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/intljst.tmpl
+++ /dev/null
@@ -1,52 +0,0 @@
-// main
-var srDest;
-var err;
-var fProgram;
-
-// ----LOCALIZATION NOTE: translate only these ------
-var prettyName = "$LangDesc$ Language Pack";
-var regName    = "locales/netscape/$LangID$";
-var chromeName = "$LangID$.jar";
-// --- 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);
-
-  // register chrome
-  var cf = getFolder("Chrome");
-  registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName), "locale/$LangID$/global/");
-  registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName), "locale/$LangID$/communicator/");
-  registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName), "locale/$LangID$/messenger/");
-  registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName), "locale/$LangID$/editor/");
-  registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName), "locale/$LangID$/navigator/");
-  registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName), "locale/$LangID$/aim/");
-
-  // 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/build/scripts/makeall.pl
+++ /dev/null
@@ -1,680 +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>
-#   Curt Patrick <curt@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;
-require "pwd.pl";
-#&initpid;
-
-# Make sure MOZ_SRC is set.
-if($ENV{MOZ_SRC} eq "")
-{
-  print "Error: MOZ_SRC not set!";
-  exit(1);
-}
-
-# Make sure there are at least three arguments
-if($#ARGV < 2)
-{
-  PrintUsage();
-}
-
-require "$ENV{MOZ_SRC}\\mozilla\\config\\zipcfunc.pl";
-
-$inDefaultVersion     = $ARGV[0];
-# $ARGV[0] 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 /\./, $inDefaultVersion;
-
-# We allow non-numeric characters to be included as the last 
-#   characters in fields of $ARG[0] 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 $inDefaultVersion,
-#   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:
-$inDefaultVersion =~ s/[^0-9.][^.]*//g;
-print "The raw version id is:  $inDefaultVersion\n";
-
-print "Product config perl script: $ARGV[1]\n";
-require "$ARGV[1]";
-$DEPTH = $ARGV[2];
-$ScriptsDir = cwd();
-$ScriptsDir =~ s/\//\\/g;
-
-# Make sure $DEPTH and $ScriptsDir are defined before calling SetCfgVars()
-$bPrepareDistArea      = 0;
-$bCreateFullInstaller = 1;
-$bCreateStubInstaller = 1;
-WizCfg::SetCfgVars();
-
-ParseArgv(@ARGV);
-if($inXpiURL eq "")
-{
-  # archive url not supplied, set it to default values
-  $inXpiURL      = "ftp://not.supplied.invalid";
-}
-if($inRedirIniURL eq "")
-{
-  # redirect url not supplied, set it to default value.
-  $inRedirIniURL = $inXpiURL;
-}
-
-if($versionParts[2] eq "0")
-{
-   $versionMain = "$versionParts[0]\.$versionParts[1]";
-}
-else
-{
-   $versionMain = "$versionParts[0]\.$versionParts[1]\.$versionParts[2]";
-}
-print "The display version is: $versionMain\n";
-
-# The following variables are for displaying version info in the 
-# the installer.
-$ENV{WIZ_userAgent}            = "$versionMain ($versionLanguage)";
-$ENV{WIZ_userAgentShort}       = "$versionMain";
-$ENV{WIZ_xpinstallVersion}     = "$versionMain";
-
-print "bPrepareDistArea              : $bPrepareDistArea\n";
-print "bCreateFullInstaller          : $bCreateFullInstaller\n";
-print "bCreateStubInstaller          : $bCreateStubInstaller\n";
-
-print "ScriptsDir:                   : $ScriptsDir\n";
-print "ProdDir                       : $ProdDir\n";
-print "XPI_JST_Dir                   : $XPI_JST_Dir\n";
-print "StubInstJstDir                : $StubInstJstDir\n"; 
-print "inStagePath                   : $inStagePath\n";
-print "inDistPath                    : $inDistPath\n";
-print "inXpiURL                      : $inXpiURL\n";
-print "inRedirIniURL                 : $inRedirIniURL\n";
-
-print "seiFileNameGeneric            : $seiFileNameGeneric\n";
-print "seiStubRootName               : $seiStubRootName\n";
-print "seiFileNameSpecific           : $seiFileNameSpecific\n";
-print "seiFileNameSpecificStub       : $seiFileNameSpecificStub\n";
-print "seuFileNameSpecific           : $seuFileNameSpecific\n";
-print "seuzFileNameSpecific          : $seuzFileNameSpecific\n";
-print "versionLanguage               : $versionLanguage\n";
-
-print "ENV{WIZ_nameCompany}          : $ENV{WIZ_nameCompany}\n";
-print "ENV{WIZ_nameProduct}          : $ENV{WIZ_nameProduct}\n";
-print "ENV{WIZ_nameProductNoVersion} : $ENV{WIZ_nameProductNoVersion}\n";
-print "ENV{WIZ_fileMainExe}          : $ENV{WIZ_fileMainExe}\n";
-print "ENV{WIZ_fileUninstall}        : $ENV{WIZ_fileUninstall}\n";
-print "ENV{WIZ_fileUninstallZip}     : $ENV{WIZ_fileUninstallZip}\n";
-
-# Set the location of the local tmp stage directory
-$gLocalTmpStage = $inStagePath;
-
-# Check for existence of staging path
-if(!(-d "$inStagePath"))
-{
-  die "\n Invalid path: $inStagePath\n";
-}
-
-WizCfg::GetStarted();
-
-# List of components for to create xpi files from.  One component for each .jst found
-chdir($XPI_JST_Dir);
-@dirlist = <*>;
-$i = 0;
-foreach $file (@dirlist)
-{
-  if($file =~ /(.*)\.jst$/)
-  {
-    $gComponentList[$i++] = "$1"; 
-  }
-}
-chdir($ScriptsDir);
-print "ScriptsDir:  $ScriptsDir\n";
-
-$i=0;
-print "\nComponent List:\n";
-foreach $mComponent (@gComponentList)
-{
-  print "Component: $mComponent\n";
-}
-
-if(VerifyComponents()) # return value of 0 means no errors encountered
-{
-  exit(1);
-}
-
-# Make sure inDistPath exists
-if(!(-d "$inDistPath"))
-{
-  mkdir ("$inDistPath",0775);
-}
-
-if(-d "$inDistPath\\xpi")
-{
-  unlink <$inDistPath\\xpi\\*>;
-}
-else
-{
-  mkdir ("$inDistPath\\xpi",0775);
-}
-
-if(-d "$inDistPath\\uninstall")
-{
-  unlink <$inDistPath\\uninstall\\*>;
-}
-else
-{
-  mkdir ("$inDistPath\\uninstall",0775);
-}
-
-if(-d "$inDistPath\\setup")
-{
-  unlink <$inDistPath\\setup\\*>;
-}
-else
-{
-  mkdir ("$inDistPath\\setup",0775);
-}
-
-# If the installer binaries were not delivered by make to this dis area 
-#   you need to do this step to get them there.
-if($bPrepareDistArea)
-{
-  PrepareDistArea();
-}
-
-if(MakeXpiFiles($XPI_JST_Dir))
-{
-  exit(1);
-}
-
-WizCfg::MakeExeZipFiles();
-
-if(MakeConfigFile())
-{
-  exit(1);
-}
-
-if(MakeUninstall())
-{
-  exit(1);
-}
-
-if(CopyFilesToDist())
-{
-  exit(1);
-}
-
-if(BuildInstallerExe())
-{
-  exit(1);
-}
-
-if($bCreateStubInstaller && CreateStubInstaller())
-{
-  exit(1);
-}
-
-if(GroupFilesForCD())
-{
-  exit(1);
-}
-
-if($bCreateFullInstaller && WizCfg::CreateFullInstaller())
-{
-  exit(1);
-}
-
-if(WizCfg::FinishUp())
-{
-  exit(1);
-}
-
-# end of script
-print "\nmakeall.pl: Done\n";
-exit(0);
-
-
-sub PrepareDistArea
-{
-  print "Getting mozilla installer files\n";
-
-  # Grab xpcom from mozilla build
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\xpi\\xpcom.xpi $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\xpi\\xpcom.xpi $::inDistPath\n";
-  }
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\xpi\\xpcom.xpi $::inDistPath\\xpi"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\xpi\\xpcom.xpi $::inDistPath\\xpi\n";
-  }
-
-  #Get setup.exe from mozilla install
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\setup.exe $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\setup.exe $::inDistPath\n";
-  }
-  # Get resource file from mozilla install
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\setuprsc.dll $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\setuprsc.dll $::inDistPath\n";
-  }
-  # Get uninstaller from mozilla install
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\uninstall.exe $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\uninstall.exe $::inDistPath\n";
-  }
-
-  # Get tools to create self-extracting exe
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\$::seiFileNameGeneric $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\$::seiFileNameGeneric $::inDistPath\n";
-  }
-  if(system("copy $::inDistPath\\..\\..\\installer\\mozilla\\nsztool.exe $::inDistPath"))
-  {
-    die "\n Error: copy $::inDistPath\\..\\..\\installer\\mozilla\\nsztool.exe $::inDistPath\n";
-  }
-}
-
-sub MakeExeZip
-{
-  my($aSrcDir, $aExeFile, $aZipFile) = @_;
-  my($saveCwdir);
-
-  $saveCwdir = cwd();
-  chdir($aSrcDir);
-  if(system("$ENV{MOZ_TOOLS}\\bin\\zip $inDistPath\\xpi\\$aZipFile $aExeFile"))
-  {
-    chdir($saveCwdir);
-    die "\n Error: $ENV{MOZ_TOOLS}\\bin\\zip $inDistPath\\xpi\\$aZipFile $aExeFile";
-  }
-  chdir($saveCwdir);
-}
-
-sub PrintUsage
-{
-  die "usage: $0 <default version> <staging path> <dist install path> [options]
-
-       default version   : y2k compliant based date version.
-                           ie: 5.0.0.2000040413
-
-       config file path  : full path configuration file for the installer
-
-       depth             : full path to the dir of the sources
-
-       options include:
-           -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.
-       \n";
-}
-
-sub ParseArgv
-{
-  my(@myArgv) = @_;
-  my($counter);
-
-  # The first 3 arguments are required, so start on the 4th.
-  for($counter = 3; $counter <= $#myArgv; $counter++)
-  {
-    if($myArgv[$counter] =~ /^[-,\/]h$/i)
-    {
-      PrintUsage();
-    }
-    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] =~ /^[-,\/]sig$/i)
-    {
-      if($#myArgv >= ($counter + 1))
-      {
-        ++$counter;
-        $inJarSignature = $myArgv[$counter];
-      }
-    }
-  }
-}
-
-sub MakeConfigFile
-{
-  # Make config.ini file
-  if(system("perl makecfgini.pl config.it $ProdDir $inDefaultVersion $gLocalTmpStage $inDistPath\\xpi $inRedirIniURL $inXpiURL"))
-  {
-    print "\n Error: perl makecfgini.pl config.it $ProdDir $inDefaultVersion $gLocalTmpStage $inDistPath\\xpi $inRedirIniURL $inXpiURL\n";
-    return(1);
-  }
-
-  # Make install.ini file
-  if(system("perl makecfgini.pl install.it $ProdDir $inDefaultVersion $gLocalTmpStage $inDistPath\\xpi $inRedirIniURL $inXpiURL"))
-  {
-    print "\n Error: perl makecfgini.pl install.it $ProdDir $inDefaultVersion $gLocalTmpStage $inDistPath\\xpi $inRedirIniURL $inXpiURL\n";
-    return(1);
-  }
-  return(0);
-}
-
-sub MakeUninstall
-{
-  if(MakeUninstallIniFile())
-  {
-    return(1);
-  }
-
-  # Copy the uninstall files to the dist uninstall directory.
-  if(system("copy $ProdDir\\uninstall.ini $inDistPath"))
-  {
-    print "\n Error: copy $ProdDir\\uninstall.ini $inDistPath\n";
-    return(1);
-  }
-  if(system("copy $ProdDir\\uninstall.ini $inDistPath\\uninstall"))
-  {
-    print "\n Error: copy $ProdDir\\uninstall.ini $inDistPath\\uninstall\n";
-    return(1);
-  }
-  if(system("copy $ProdDir\\defaults_info.ini $inDistPath"))
-  {
-    print "\n Error: copy $ProdDir\\defaults_info.ini $inDistPath\n";
-    return(1);
-  }
-  if(system("copy $ProdDir\\defaults_info.ini $inDistPath\\uninstall"))
-  {
-    print "\n Error: copy $ProdDir\\defaults_info.ini $inDistPath\\uninstall\n";
-    return(1);
-  }
-  if(system("copy $inDistPath\\uninstall.exe $inDistPath\\uninstall"))
-  {
-    print "\n Error: copy $inDistPath\\uninstall.exe $inDistPath\\uninstall\n";
-    return(1);
-  }
-
-  # build the self-extracting .exe (uninstaller) file.
-  print "\nbuilding self-extracting uninstaller ($seuFileNameSpecific)...\n";
-  if(system("copy $inDistPath\\$seiFileNameGeneric $inDistPath\\$seuFileNameSpecific"))
-  {
-    print "\n Error: copy $inDistPath\\$seiFileNameGeneric $inDistPath\\$seuFileNameSpecific\n";
-    return(1);
-  }
-  if(system("$inDistPath\\nsztool.exe $inDistPath\\$seuFileNameSpecific $inDistPath\\uninstall\\*.*"))
-  {
-    print "\n Error: $inDistPath\\nsztool.exe $inDistPath\\$seuFileNameSpecific $inDistPath\\uninstall\\*.*\n";
-    return(1);
-  }
-
-  MakeExeZip($inDistPath, $seuFileNameSpecific, $seuzFileNameSpecific);
-  unlink <$inDistPath\\$seuFileNameSpecific>;
-  return(0);
-}
-
-sub MakeUninstallIniFile
-{
-  # Make config.ini file
-  if(system("perl makeuninstallini.pl uninstall.it $ProdDir $inDefaultVersion"))
-  {
-    print "\n Error: perl makeuninstallini.pl uninstall.it $ProdDir $inDefaultVersion\n";
-    return(1);
-  }
-
-  return(0);
-}
-
-sub MakeJsFile
-{
-  my($mComponent, $JstDir) = (@_);
-
-  if(system("perl makejs.pl $mComponent $JstDir $inDefaultVersion $gLocalTmpStage\\$mComponent"))
-  {
-    print "\n Error: perl makejs.pl $mComponent.jst $JstDir $inDefaultVersion $gLocalTmpStage\\$mComponent\n";
-    return(1);
-  }
-  return(0);
-}
-
-sub MakeXpiFiles
-{
-  my($JstDir) = (@_);
-  my($mComponent);
-
-  foreach $mComponent (@gComponentList)
-  {
-    print "\nCreating xpi for $mComponent\n";
-
-    # Make .js files
-    if(MakeJsFile($mComponent, $JstDir))
-    {
-      return(1);
-    }
-
-    # Make .xpi file
-    if(system("perl makexpi.pl $mComponent $XPI_JST_Dir $gLocalTmpStage $inDistPath\\xpi"))
-    {
-      print "\n Error: perl makexpi.pl $mComponent $XPI_JST_Dir $gLocalTmpStage $inDistPath\\xpi\n";
-      return(1);
-    }
-  }
-  return(0);
-}
-
-sub RemoveLocalTmpStage()
-{
-  # Remove tmpstage area
-  if(-d "$gLocalTmpStage")
-  {
-    system("perl rdir.pl $gLocalTmpStage");
-  }
-  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: $inStagePath\\$mComponent\n";
-      mkdir("$inStagePath\\$mComponent", 0775);
-    }
-    elsif(-d "$inStagePath\\$mComponent")
-    {
-      print "           ok: $inStagePath\\$mComponent\n";
-    }
-    else
-    {
-      print "        Error: $inStagePath\\$mComponent does not exist!\n";
-      $mError = 1;
-    }
-  }
-  return($mError);
-}
-
-sub CopyFilesToDist()
-{
-  # Copy the setup files to the dist setup directory.
-  WizCfg::CopyExtraDistFiles();
-  if(system("copy $ProdDir\\install.ini $inDistPath"))
-  {
-    die "\n Error: copy $ProdDir\\install.ini $inDistPath\n";
-  }
-  if(system("copy $ProdDir\\install.ini $inDistPath\\setup"))
-  {
-    die "\n Error: copy $ProdDir\\install.ini $inDistPath\\setup\n";
-  }
-  if(system("copy $ProdDir\\config.ini $inDistPath"))
-  {
-    die "\n Error: copy $ProdDir\\config.ini $inDistPath\n";
-  }
-  if(system("copy $ProdDir\\config.ini $inDistPath\\setup"))
-  {
-    die "\n Error: copy $ProdDir\\config.ini $inDistPath\\setup\n";
-  }
-  if(system("copy $inDistPath\\setup.exe $inDistPath\\setup"))
-  {
-    die "\n Error: copy $inDistPath\\setup.exe $inDistPath\\setup\n";
-  }
-  if(system("copy $inDistPath\\setuprsc.dll $inDistPath\\setup"))
-  {
-    die "\n Error: copy $inDistPath\\setuprsc.dll $inDistPath\\setup\n";
-  }
-}
-
-sub BuildInstallerExe()
-{
-  # build the self-extracting .exe (installer) file.
-  print "\nbuilding self-extracting stub installer ($seiFileNameSpecificStub)...\n";
-  if(system("copy $inDistPath\\$seiFileNameGeneric $inDistPath\\$seiFileNameSpecificStub"))
-  {
-    die "\n Error: copy $inDistPath\\$seiFileNameGeneric $inDistPath\\$seiFileNameSpecificStub\n";
-  }
-  if(system("$inDistPath\\nsztool.exe $inDistPath\\$seiFileNameSpecificStub $inDistPath\\setup\\*.*"))
-  {
-    die "\n Error: inDistPath\\nsztool.exe $inDistPath\\$seiFileNameSpecificStub $inDistPath\\setup\\*.*\n";
-  }
-}
-
-sub CreateStubInstaller()
-{
-  # copy the lean installer to stub\ dir
-  print "\n****************************\n";
-  print "*                          *\n";
-  print "*  creating Stub files...  *\n";
-  print "*                          *\n";
-  print "****************************\n";
-  if(-d "$inDistPath\\stub")
-  {
-    unlink <$inDistPath\\stub\\*>;
-  }
-  else
-  {
-    mkdir ("$inDistPath\\stub",0775);
-  }
-  if(system("copy $inDistPath\\$seiFileNameSpecificStub $inDistPath\\stub"))
-  {
-    die "\n Error: copy $inDistPath\\$seiFileNameSpecificStub $inDistPath\\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";
-  if(-d "$inStagePath\\$seiStubRootName")
-  {
-    unlink <$inStagePath\\$seiStubRootName\\*>;
-  }
- else
-  {
-    mkdir ("$inStagePath\\$seiStubRootName",0775);
-  }
-  if(system("copy $inDistPath\\stub\\$seiFileNameSpecificStub $gLocalTmpStage\\$seiStubRootName"))
-  {
-    die "\n Error: copy $inDistPath\\stub\\$seiFileNameSpecificStub $gLocalTmpStage\\$seiStubRootName\n";
-  }
-
-  # Make .js files
-  if(MakeJsFile($seiStubRootName, $StubInstJstDir))
-  {
-    return(1);
-  }
-
-  # Make .xpi file
-  if(system("perl makexpi.pl $seiStubRootName $StubInstJstDir $gLocalTmpStage $inDistPath"))
-  {
-    print "\n Error: perl makexpi.pl $seiStubRootName $StubInstJstDir $gLocalTmpStage $inDistPath\n";
-    return(1);
-  }
-}
-
-sub GroupFilesForCD()
-{
-  # group files for CD
-  print "\n************************************\n";
-  print "*                                  *\n";
-  print "*  creating Compact Disk files...  *\n";
-  print "*                                  *\n";
-  print "************************************\n";
-  if(-d "$inDistPath\\cd")
-  {
-    unlink <$inDistPath\\cd\\*>;
-  }
-  else
-  {
-    mkdir ("$inDistPath\\cd",0775);
-  }
-  if(system("copy $inDistPath\\$seiFileNameSpecificStub $inDistPath\\cd"))
-  {
-    die "\n Error: copy $inDistPath\\$seiFileNameSpecificStub $inDistPath\\cd\n";
-  }
-  if(system("copy $inDistPath\\xpi $inDistPath\\cd"))
-  {
-    die "\n Error: copy $inDistPath\\xpi $inDistPath\\cd\n";
-  }
-}
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/makecfgini.pl
+++ /dev/null
@@ -1,369 +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
-#             - name of the .ini template
-#
-#        .it file path
-#             - where the .ini template is located
-#
-#        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 6.0.0.1999120608 z:\exposed\windows\32bit\en\5.0 d:\builds\ns\dist\win32_o.obj\install\xpi ftp://sweetlou.mcom.com/products/client/seamonkey/windows/32bit/x86/1999-09-113-10-M10 ftp://sweetlou.mcom.com/products/client/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
-
-       .it file dir  : directory where the template file is located.
-
-       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\\ns\\dist\\win32_o.obj\\install\\xpi
-
-       redirect file : url to where the redirect.ini file will be staged at.
-       url             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
-       \n";
-}
-
-$inItFile         = $ARGV[0];
-$inItFileDir      = $ARGV[1];
-$inVersion        = $ARGV[2];
-$inStagePath      = $ARGV[3];
-$inXpiPath        = $ARGV[4];
-$inRedirIniUrl    = $ARGV[5];
-$inUrl            = $ARGV[6];
-
-# get environment vars
-$userAgent        = $ENV{WIZ_userAgent};
-$userAgentShort   = $ENV{WIZ_userAgentShort};
-$xpinstallVersion = $ENV{WIZ_xpinstallVersion};
-$nameCompany      = $ENV{WIZ_nameCompany};
-$nameProduct      = $ENV{WIZ_nameProduct};
-$nameProductNoVersion = $ENV{WIZ_nameProductNoVersion};
-$nameProductInternal = $ENV{WIZ_nameProductInternal};
-$descShortcut     = $ENV{WIZ_descShortcut};
-$fileMainExe      = $ENV{WIZ_fileMainExe};
-$fileUninstall    = $ENV{WIZ_fileUninstall};
-$fileUninstallZip = $ENV{WIZ_fileUninstallZip};
-$fileJavaPatchZip = $ENV{WIZ_fileJavaPatchZip};
-
-$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, "$inItFileDir\\$inItFile") || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOutIni, ">$inItFileDir\\$outIniFile") || die "\nCould not open $outIniFile: $!\n";
-
-print "\n Making $inItFileDir\\$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 + $installSize);
-        }
-        # special realplayer8 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 1.83.
-        if($componentName =~ /realplay/i)
-        {
-          $installSize = int($installSize * 1.83 + $installSize);
-        }
-        # special winamp 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 2.57.
-        if($componentName =~ /winamp/i)
-        {
-          $installSize = int($installSize * 2.57 + $installSize);
-        }
-        if($componentName =~ /n2p/i)
-        {
-          # net2phone files get initially installed into the temp dir, then *their* installer is run,
-          # so double the disk space required just for installation purposes.
-          $installSize = int($installSize * 2.1);
-        }
-        if($componentName =~ /psm/i)
-        {
-          # take into account the size of ren8dot3.ini file created (not installed) at installation time
-          $installSize = int($installSize + 32);
-        }
-      }
-    }
-
-    # 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/\$ProductNameNoVersion\$/$nameProductNoVersion/gi;
-    $line =~ s/\$ProductNameInternal\$/$nameProductInternal/gi;
-    $line =~ s/\$ShortcutDesc\$/$descShortcut/gi;
-    $line =~ s/\$MainExeFile\$/$fileMainExe/gi;
-    $line =~ s/\$UninstallFile\$/$fileUninstall/gi;
-    $line =~ s/\$UninstallFileZip\$/$fileUninstallZip/gi;
-    $line =~ s/\$JavaPatchFileZip\$/$fileJavaPatchZip/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    = `$ENV{MOZ_TOOLS}\\bin\\ds32.exe -D -L0 -A -S -C 32768 $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 += `$ENV{MOZ_TOOLS}\\bin\\ds32.exe -D -L0 -A -S -C 32768 $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);
-}
-
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/makejar.pl
+++ /dev/null
@@ -1,232 +0,0 @@
-#!c:\perl\bin\perl
-
-# This script creates a setuptmp.bat file that needs to be run
-# to setup the proper environment variables.  This is because
-# environment variables set inside perl scripts will be unset when
-# the perl script quits.
-#
-# This does not happen with .bat files.
-#
-# This script also creates a unsetup.bat file to undo what
-# setuptmp.bat sets.
-
-use Cwd;
-
-if ($#ARGV < 0) { die "$0 requires an argument!\n"; }
-
-# set variables to be used to create the tmp .bat files
-# to set environment variables.
-$Path_Saved                       = $ENV{PATH};
-$Path                             = $ENV{PATH};
-
-$Product_User_Agent               = "4.72 (en)";
-$Product_Version                  = "4.72";
-$Product_Version_Info             = "4.72.0";
-$Product_Version_Name             = "472";
-$RSH_Box                          = "grok";
-$SMTP_Host                        = "grok";
-$ISScriptsDir                     = cwd();        # scripts directory path
-$Zigbert                          = "\\\\lingcod\\certs\\bin\\signtool.exe";
-$SecurityDescription              = "Netscape Communications's VeriSign, Inc. ID #2";
-$ParentCertsPath                  = "\\\\lingcod\\certs\\keys\\javabase.021025";
-$CertsPath                        = "\\\\lingcod\\certs\\asd.ns6";
-
-# 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};
-$fileUninstall    = $ENV{WIZ_fileUninstall};
-
-$BuildDir         = "binary";
-$SetupName        = "NSSetup.exe";
-$ScriptName       = "install.js";
-$save_cwd         = cwd();
-$DEPTH            = "..\\..\\..";
-
-# append_path($Path, "\\\\lingcod\\certs\\bin");
-
-if($ENV{MOZCONFIG} eq "") # if we're defining mozconfig, we're using gmake
-{
-  if($ENV{MOZ_DEBUG} eq "")
-  {
-    $Dist = "$DEPTH\\dist\\win32_o.obj";
-  }
-  else
-  {
-    $Dist = "$DEPTH\\dist\\win32_d.obj";
-  }
-}
-else
-{
-  $Dist = "$DEPTH\\dist";
-}
-
-set_JarName();
-map_all();
-create_dir_structure();
-sign_files();
-
-if(-e $BuildDir)
-{
-    if(system("perl $ISScriptsDir\\rdir.pl $BuildDir") != 0)
-    {
-        exit(1);
-    }
-}
-
-print "done!\n";
-chdir($save_cwd);
-exit(0);
-# end
-
-sub append_path
-{
-    if($_[0] eq "")
-    {
-        $_[0] = $_[1];
-    }
-    elsif($_[1] ne "")
-    {
-        $_[0] = $_[1] . ";" . $_[0];
-    }
-}
-
-sub map_all
-{
-    print "\n";
-    print "verifying connection to \\\\lingcod\\certs...\n";
-    if(!(-e "\\\\lingcod\\certs\\bin"))
-    {
-        print "\nError: \\\\lingcod\\certs\\bin does not exist!\n";
-        exit(1);
-    }
-    if(!(-e $ParentCertsPath))
-    {
-        print "\nError: $ParentCertsPath does not exist!\n";
-        exit(1);
-    }
-
-    if(-e $CertsPath)
-    {
-        system("echo y | del $CertsPath");
-    }
-    print "system(\"xcopy /F $ParentCertsPath\\*.* $CertsPath\\\")\;\n";
-    system("xcopy /F $ParentCertsPath\\*.* $CertsPath\\");
-    print "done!\n";
-}
-
-sub print_usage
-{
-    print "\nusage: $0 <lang> <bit> <product>\n";
-    print "\n";
-    print "       lang   : en\n";
-    print "                ja\n";
-    print "\n";
-    print "       bit    : 16\n";
-    print "                32\n";
-    print "\n";
-    print "       product: nova\n";
-    print "                gromit\n";
-    print "                ratbert\n";
-}
-
-sub set_JarName
-{
-    $JarName = "NSSetup.jar";
-}
-
-sub sign_files
-{
-    print "\nsigning files...\n";
-
-    if(-e "deliver\\$JarName")
-    {
-        unlink "deliver\\$JarName";
-    }
-    if(-e "$BuildDir\\META-INF")
-    {
-        if(system("perl $ISScriptsDir\\rdir.pl $BuildDir\\META-INF") != 0)
-        {
-            exit(1);
-        }
-    }
-
-    if(system("$Zigbert -i$ScriptName -d$CertsPath -k\"$SecurityDescription\" -p$ARGV[0] $BuildDir") != 0)
-    {
-        print "error trying to sign $BuildDir\n";
-        exit(1);
-    }
-
-    chdir($BuildDir);
-    print "\ncreating $JarName\n";
-    if(system("zip -9 -r $JarName *") != 0)
-    {
-        chdir("..");
-        print "error trying to create $JarName\n";
-        exit(1);
-    }
-    chdir("..");
-
-    if(!(-e "$Dist\\install"))
-    {
-        mkdir ("$Dist\\install",0775);
-    }
-    $xcopy_cmd = "copy $BuildDir\\$JarName $Dist\\install";
-    if(system($xcopy_cmd) != 0)
-    {
-        print "$xcopy_cmd failed!\n";
-        {
-            exit(1);
-        }
-    }
-    unlink "$BuildDir\\$JarName";
-}
-
-sub create_dir_structure
-{
-    print "creating build structure...\n";
-
-    if(-e $BuildDir)
-    {
-        if(system("perl $ISScriptsDir\\rdir.pl $BuildDir") != 0)
-        {
-            exit(1);
-        }
-    }
-
-    if(!(-e "$BuildDir"))
-    {
-        mkdir ("$BuildDir",0775);
-    }
-    $xcopy_cmd = "copy $Dist\\install\\stub\\$SetupName $BuildDir";
-    if(system($xcopy_cmd) != 0)
-    {
-        print "$xcopy_cmd failed!\n";
-        exit(1);
-    }
-    $xcopy_cmd = "copy setupjar.js $BuildDir\\install.js";
-    if(system($xcopy_cmd) != 0)
-    {
-        print "$xcopy_cmd failed!\n";
-        exit(1);
-    }
-}
-
-sub ParseUserAgentShort()
-{
-  my($aUserAgent) = @_;
-  my($aUserAgentShort);
-
-  @spaceSplit = split(/ /, $aUserAgent);
-  if($#spaceSplit >= 0)
-  {
-    $aUserAgentShort = $spaceSplit[0];
-  }
-
-  return($aUserAgentShort);
-}
-
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/makejs.pl
+++ /dev/null
@@ -1,178 +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
-#
-
-# Make sure there are at least two arguments
-if($#ARGV < 3)
-{
-  die "usage: $0 <.jst file> <default version> <staging path>
-
-       component              : name of the component
-       js folder              : folder where the .jst file lives and where the 
-                                .js file is to be created
-       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";
-}
-
-$Component        = $ARGV[0];
-$jsDir            = $ARGV[1];
-$inVersion        = $ARGV[2];
-$inStagePath      = $ARGV[3];
-
-# get environment vars
-$userAgent        = $ENV{WIZ_userAgent};
-$userAgentShort   = $ENV{WIZ_userAgentShort};
-$xpinstallVersion = $ENV{WIZ_xpinstallVersion};
-$nameCompany      = $ENV{WIZ_nameCompany};
-$nameProduct      = $ENV{WIZ_nameProduct};
-$nameProductNoVersion = $ENV{WIZ_nameProductNoVersion};
-$nameProductInternal = $ENV{WIZ_nameProductInternal};
-$fileMainExe      = $ENV{WIZ_fileMainExe};
-$fileUninstall    = $ENV{WIZ_fileUninstall};
-
-# Get the names of the .jst, .js and .template files
-$inJstFile        = "$jsDir\\$Component.jst";
-$outJsFile       .= "$jsDir\\$Component.js";
-$outTempFile     .= "$jsDir\\$Component.template";
-$foundLongFiles   = 0;
-
-print "Creating: $outJsFile\n";
-
-if(!(-e "$inJstFile"))
-{
-  print "ERROR: $inJstFile does not exit.\n";
-  exit(1);
-}
-#print "copy \"$ENV{MOZ_SRC}\\mozilla\\xpinstall\\packager\\common\\share.t\" $outTempFile\n";
-system("copy \"$ENV{MOZ_SRC}\\mozilla\\xpinstall\\packager\\common\\share.t\" $outTempFile");
-system("type $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/\$ProductNameNoVersion\$/$nameProductNoVersion/i;
-    $line =~ s/\$ProductNameInternal\$/$nameProductInternal/i;
-    $line =~ s/\$MainExeFile\$/$fileMainExe/i;
-    $line =~ s/\$UninstallFile\$/$fileUninstall/i;
-  }
-
-  print fpOutJs $line;
-}
-
-close(fpInTemplate);
-close(fpOutJs);
-exit(0);
-
-sub GetSpaceRequired()
-{
-  my($inPath) = @_;
-  my($spaceRequired);
-
-  print "   calculating size for $inPath\n";
-  $spaceRequired    = `\"$ENV{MOZ_TOOLS}\\bin\\ds32.exe\" -D -L0 -A -S -C 32768 $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);
-}
-
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/makeuninstallini.pl
+++ /dev/null
@@ -1,134 +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
-
-       .it file dir  : Path to directory where the .it file is located.
-
-       version       : version to be shown in setup.  Typically the same version
-                       as show in mozilla.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];
-$inItFileDir      = $ARGV[1];
-$inVersion        = $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};
-$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, "$inItFileDir\\$inItFile") || die "\ncould not open $ARGV[0]: $!\n";
-
-# Open the output file
-open(fpOutIni, ">$inItFileDir\\$outIniFile") || die "\nCould not open $outIniFile: $!\n";
-
-print "\n Making $inItFileDir\\$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/\$ProductNameInternal\$/$nameProductInternal/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/build/scripts/makexpi.pl
+++ /dev/null
@@ -1,157 +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 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;
-
-# Make sure there are at least three arguments
-if($#ARGV < 3)
-{
-  die "usage: $0 <component name> <staging path> <dest path>
-
-       component name : name of component directory within staging path
-       js dir         : path the directory where the .js file lives
-       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];
-$inJsDir          = $ARGV[1];
-$inStagePath      = $ARGV[2];
-$inDestPath       = $ARGV[3];
-
-$inStagePath      =~ s/\//\\/g;
-$inDestPath       =~ s/\//\\/g;
-
-print "\n Making $inComponentName.xpi...\n";
-$saveCwdir = cwd();
-
-# check for existance of staging component path
-if(!(-e "$inStagePath\\$inComponentName"))
-{
-  die "invalid path: $inStagePath\\$inComponentName\n";
-}
-
-if($inComponentName =~ /xpcom/i)
-{
-  # copy msvcrt.dll to xpcom dir
-  if(-e "$ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcrt.dll")
-  {
-    system("copy $ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcrt.dll  $inStagePath\\$inComponentName");
-  }
-
-  # copy msvcirt.dll to xpcom dir
-  if(-e "$ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcirt.dll")
-  {
-    system("copy $ENV{MOZ_SRC}\\redist\\microsoft\\system\\msvcirt.dll $inStagePath\\$inComponentName");
-  }
-}
-
-# check for existance of .js script
-if(!(-e "$inJsDir\\$inComponentName.js"))
-{
-  die "missing .js script: $inJsDir\\$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");
-}
-
-# make sure inDestPath exists
-if(!(-d "$inDestPath"))
-{
-  system("mkdir $inDestPath");
-}
-
-# delete install.js
-if(-e "$inStagePath\\$inComponentName\\install.js")
-{
-  unlink("$inStagePath\\$inComponentName\\install.js");
-}
-copy("$inJsDir\\$inComponentName.js", "$inStagePath\\$inComponentName\\install.js");
-
-# change directory to where the files are, else zip will store
-# unwanted path information.
-chdir("$inStagePath\\$inComponentName");
-if(system("zip -r $inDestPath\\$inComponentName.xpi *"))
-{
-  chdir("$saveCwdir");
-  die "\n Error: zip -r $inDestPath\\$inComponentName.xpi *\n";
-}
-chdir("$saveCwdir");
-
-if($inComponentName =~ /^jrereg$/i)
-{
-  # Remove the README file that is not part of the build.
-  system("$ENV{MOZ_TOOLS}\\bin\\zip -d $inDestPath\\$inComponentName.xpi README");
-}
-
-# delete install.js
-if(-e "$inStagePath\\$inComponentName\\install.js")
-{
-  unlink("$inStagePath\\$inComponentName\\install.js");
-}
-
-print "\n $inComponentName.xpi done!\n";
-
-# end of script
-exit(0);
-
deleted file mode 100644
--- a/xpinstall/packager/build/scripts/rdir.pl
+++ /dev/null
@@ -1,127 +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);
-        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/build/win/gre/XPI_JSTs/gre.jst
+++ /dev/null
@@ -1,164 +0,0 @@
-function IsWinnt()
-{
-  /* Determines if the script is running under NT or not.
-   *
-   */
-  var winreg = getWinRegistry();
-  var subkey;
-  var valname;
-  var szCurrentVersion;
-
-  winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-  subkey              = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion";
-  valname             = "CurrentVersion";
-  szCurrentVersion    = winreg.getValueString(subkey, valname);
-  logComment("szCurrentVersion: " + szCurrentVersion);
-  if((szCurrentVersion == "") || (szCurrentVersion == null))
-  {
-    return false;
-  }
-  else
-  {
-    return true;
-  }
-}
-
-function registerKeys()
-{
-  var subkey;  //the name of the subkey you are poking around in
-  var err;
-  var winreg;
-  var tmpstr;
-
-  winreg = getWinRegistry();
-  winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-
-  createRootRegKey(winreg);
-
-  subkey = regRootKey + "\\$UserAgent$";
-  err    = winreg.setValueString(subkey, "Version", "$UserAgent$");
-  tmpstr = new String(fProgram);
-  err    = winreg.setValueString(subkey, "GreHome", tmpstr.substring(0, tmpstr.length-1));
-  err    = winreg.setValueString(subkey, "GreComponentsDir", fProgram + "Components");
-
-  registerMainKeys(winreg);
-}
-
-function createRootRegKey(winreg)
-{
-  var subkey;
-  var tmpstr;
-  var tmpstr2;
-  var index;
-
-  tmpstr = new String(regRootKey);
-  index = tmpstr.indexOf("\\");
-  subkey = "";
-
-  while(index > 0)
-  {
-    subkey = subkey + tmpstr.substring(0, index);
-    winreg.createKey(subkey,"");
-
-    tmpstr2 = tmpstr.substring(index+1, tmpstr.length);
-    tmpstr = new String(tmpstr2);
-
-    index = tmpstr.indexOf("\\");
-    subkey = subkey + "\\";
-  }
-
-  if(tmpstr.length > 0)
-  {
-    subkey = subkey + tmpstr;
-    logComment("subkey:  " + subkey);
-    winreg.createKey(subkey,"");
-  }
-
-  winreg.createKey(subkey + "\\$UserAgent$","");
-}
-
-function registerMainKeys(winreg)
-{
-  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 err;
-  var fWindows;
-
-  fWindows = getFolder("Windows");
-  winreg.createKey(regRootKey + "\\$UserAgent$", "");
-
-  subkey  = regRootKey + "\\$UserAgent$\\Main";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Install Directory", fProgram);
-
-  subkey  = regRootKey + "\\$UserAgent$\\Uninstall";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Uninstall Log Folder", fProgram + "Uninstall");
-  err     = winreg.setValueString(subkey, "UninstallString", fWindows + "$UninstallFile$ /ua \"$UserAgentShort$\"");
-  err     = winreg.setValueString(subkey, "Description", "$ProductName$ ($UserAgentShort$)");
-}
-
-// main
-var srDest;
-var err;
-var err2;
-var fProgram;
-var fWindowsSystem;
-var fileComponentRegStr;
-var fileComponentReg;
-var restrictedAccess;
-var fileToRegister;
-var regRootKey;
-
-// So far the only argument passed in is the root path into the Windows registry.
-regRootKey = new String(Install.arguments);
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("$ProductName$", "GRE", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram  = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  setPackageFolder(fProgram);
-
-  err = addDirectory("",
-                     "",
-                     "gre",              // 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);
-
-  err = addDirectory("",
-                     "",
-                     "Embed",              // 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);
-
-  // Let the uninstaller know about this generated file.
-  logComment("Installing: "    + fProgram + ".autoreg");
-
-  // check return value
-  if( err == SUCCESS )
-  {
-    registerKeys();
-//    // we don't want to fail on errors for the above
-//    resetError();
-
-      err = performInstall();
-      logComment("performInstall() returned: " + err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/build/win/gre/config.it
+++ /dev/null
@@ -1,733 +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
-
-Shared Install=TRUE
-Default AppID=$ProductName$User
-
-Company Name=$CompanyName$
-Product Name=$ProductName$
-Product NameInternal=$ProductName$
-User Agent=$UserAgent$
-
-; Destination Path values:
-;   PROGRAMFILESDIR
-;   WINDISK
-;   WINDIR
-;   WINSYSDIR
-Path=[PROGRAMFILESDIR]\$CompanyName$\$ProductName$\$XPInstallVersion$
-
-; 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 Name=xpcom.dll
-
-; Program Folder Path values:
-;   COMMON_STARTUP
-;   COMMON_PROGRAMS
-;   COMMON_STARTMENU
-;   COMMON_DESKTOP
-;
-;   PERSONAL_STARTUP
-;   PERSONAL_PROGRAMS
-;   PERSONAL_STARTMENU
-;   PERSONAL_DESKTOP
-;
-;   PERSONAL_APPDATA
-;   PERSONAL_CACHE
-;   PERSONAL_COOKIES
-;   PERSONAL_FAVORITES
-;   PERSONAL_FONTS
-;   PERSONAL_HISTORY
-;   PERSONAL_NETHOOD
-;   PERSONAL_PERSONAL
-;   PERSONAL_PRINTHOOD (supported only under Windows NT)
-;   PERSONAL_RECENT
-;   PERSONAL_SENDTO
-;   PERSONAL_TEMPLATES
-;
-;   PROGRAMS (Default value is the same as COMMON_PROGRAMS, but if the user
-;             has restricted access to the system, then it's the same as
-;             PERSONAL_PROGRAMS)
-;
-;   PROGRAMFILESDIR
-;   COMMONFILESDIR
-;   MEDIAPATH
-;   CONFIGPATH (supported only under Windows95 and Windows98)
-;   DEVICEPATH
-Program Folder Name=$ProductName$
-Program Folder Path=[PROGRAMS]
-
-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 0
-
-; Forces the icons on the system to be refreshed.
-; Default value is FALSE.
-; Possible values:
-;   FALSE
-;   TRUE
-Refresh Icons=FALSE
-
-; 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
-
-
-
-; HKey:              valid decryptable setup key is [Product CurrentVersion] or [Product PreviousVersion]
-; Decrypt HKey:      there are times when '[' and ']' are valid part of windows registry key 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]
-HRoot=HKEY_LOCAL_MACHINE
-HKey=SOFTWARE\$CompanyName$\$ProductName$\$UserAgent$\Main
-Name=Install Directory
-Decrypt HKey=TRUE
-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 Windows 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=Choose the installation directory, then click Next.
-Readme Filename=readme.txt
-Readme App=notepad.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=&GRE
-;*** LOCALIZE ME BABY ***
-;Description Long=Install the Gecko Runtime Environment.
-
-; 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 GRE
-C1=Component Uninstaller
-
-[Dialog Select Components]
-Show Dialog=FALSE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Components
-;*** LOCALIZE ME BABY ***
-Message0=GRE 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 Program Folder]
-Show Dialog=FALSE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Program Folder
-;*** LOCALIZE ME BABY ***
-Message0=Setup will add program icons to the Program Folder listed below.  You may type a new folder name, or select one from the Existing Folders list.  Click Next to continue.
-
-[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=TRUE
-; 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 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
-
-; These SmartDownload sections contain information to configure SmartDownload.
-; The info is applied to all components to be downloaded.
-[SmartDownload-Netscape Install]
-;core_file=base.zip
-;core_dir=[SETUP PATH]
-no_ads=true
-silent=false
-execution=false
-confirm_install=false
-;extract_msg=Uncompressing Seamonkey.  Please wait...
-
-[SmartDownload-Proxy]
-
-[SmartDownload-Execution]
-exe=
-exe_param=
-
-[Check Instance0]
-Class Name=$ProductName$MessageWindow
-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
-
-[Check Instance1]
-Class Name=MozillaMessageWindow
-Window Name=
-;*** LOCALIZE ME BABY ***
-Message=Download of $ProductName$ was successful. Mozilla must be closed to proceed with installation. Click OK to exit Mozilla automatically and to begin installation.
-;*** LOCALIZE ME BABY ***
-Message Full Installer=Mozilla must be closed to proceed with installation. Click OK to exit Mozilla 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
-
-;[Component XPCOM]
-;Description Short=Mozilla XPCOM
-;;*** LOCALIZE ME BABY ***
-;Description Long=Install Engine
-;Archive=xpcom.xpi
-;$InstallSize$:xpcom
-;$InstallSizeSystem$
-;$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
-;                   Use SupersedeMinVersionX=a.b.c.d (optional) to specify the 
-;                   minimum version of the file.  If the version of the existing file
-;                   is greater than or equal to the SupersedeMinVersion the component
-;                   will be superseded.
-;
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\xpcom.dll
-
-[Component GRE]
-Description Short=Gecko Runtime Environment
-;*** LOCALIZE ME BABY ***
-Description Long=for use by GRE based applications
-Archive=gre.xpi
-$InstallSize$:gre
-$InstallSizeSystem$
-$InstallSizeArchive$:gre.xpi
-Attributes=SELECTED
-
-[Component Uninstaller]
-Description Short=$ProductName$ Uninstaller
-;*** LOCALIZE ME BABY ***
-Description Long=Uninstaller for $ProductName$
-Archive=$UninstallFileZip$
-$InstallSize$:$UninstallFileZip$
-$InstallSizeSystem$
-$InstallSizeArchive$:$UninstallFileZip$
-Attributes=SELECTED|INVISIBLE|DOWNLOAD_ONLY
-
-;Since the uninstaller program is going to be installed into the Windows folder,
-;Setup.exe need to know to calculate the disk space required for the Windows folder.
-;This section overrides the default user-chosen path for Uninstaller only.
-[Component Uninstaller-Destination Path0]
-Path=[WINDIR]
-
-[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=[WINDIR]
-;*** LOCALIZE ME BABY ***
-Message=Installing the uninstaller, please wait...
-Only If Exists=FALSE
-
-;Copy FileX sections
-;Copy the uninstaller to the [Setup Path]\Uninstall folder.
-;This copy is to be used when the user installed on a system with
-;restricted access.
-[Copy File0]
-Timing=post smartupdate
-Source=[WINDIR]\$UninstallFile$
-Destination=[SETUP PATH]\Uninstall
-Fail If Exists=FALSE
-Do Not Uninstall=FALSE
-
-[Copy File1]
-Timing=post smartupdate
-Source=[XPI PATH]\$UninstallFile$
-Destination=[WINDIR]
-Fail If Exists=FALSE
-Do Not Uninstall=TRUE
-
-
-;Copy File SequentialX sections
-[Copy File Sequential0]
-Timing=post launchapp
-Filename=install_wizard.log
-Source=[SETUP PATH]
-Destination=[SETUP PATH]\Uninstall
-
-[Windows Registry0]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
-Name=DisplayName
-Name Value=Gecko Runtime Environment ($UserAgentShort$)
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=FALSE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-Condition=DefaultApp
-
-[Windows Registry1]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
-Name=UninstallString
-;*** LOCALIZE ME BABY ***
-Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$" /app $ProductName$User
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-Condition=DefaultApp
-
-[Windows Registry2]
-Root Key=HKEY_LOCAL_MACHINE
-Key=[REGPATH]\$UserAgentShort$\AppList\[APP_ID]
-Name=Name
-;*** LOCALIZE ME BABY ***
-Name Value=[APP_ID]
-Type=REG_SZ
-Decrypt Key=TRUE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-[Windows Registry3]
-Root Key=HKEY_LOCAL_MACHINE
-Key=[REGPATH]\$UserAgentShort$\AppList\[APP_ID]
-Name=PathToExe
-;*** LOCALIZE ME BABY ***
-Name Value=[PATH_TO_APP]
-Type=REG_SZ
-Decrypt Key=TRUE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-[Windows Registry4]
-Root Key=HKEY_LOCAL_MACHINE
-Key=[REGPATH]\$UserAgentShort$\Installer
-Name=PathToExe
-;*** LOCALIZE ME BABY ***
-Name Value=[SETUP PATH]\Setup\setup.exe
-Type=REG_SZ
-Decrypt Key=TRUE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-; Values for Show Folder:
-;   HIDE             Hides the window and activates another window.
-;   MAXIMIZE         Maximizes the specified window.
-;   MINIMIZE         Minimizes the specified window and activates the next
-;                    top-level window in the z-order.
-;   RESTORE          Activates and displays the window. If the window is
-;                    minimized or maximized, Windows restores it to its
-;                    original size and position. An application should specify
-;                    this flag when restoring a minimized window.
-;   SHOW             Activates the window and displays it in its current size
-;                    and position.
-;   SHOWMAXIMIZED    Activates the window and displays it as a maximized
-;                    window.
-;   SHOWMINIMIZED    Activates the window and displays it as a minimized
-;                    window.
-;   SHOWMINNOACTIVE  Displays the window as a minimized window. The active
-;                    window remains active.
-;   SHOWNA           Displays the window in its current state. The active
-;                    window remains active.
-;   SHOWNOACTIVATE   Displays a window in its most recent size and position.
-;                    The active window remains active.
-;   SHOWNORMAL       Activates and displays a window. If the window is
-;                    minimized or maximized, Windows restores it to its
-;                    original size and position. An application should specify
-;                    this flag when displaying the window for the first time.
-
-; Default value:
-;    IGNORE
-;
-; Possible values:
-;    ONLY_RESTRICTED    - create shortcut only if user access is restricted
-;    ONLY_NONRESTRICTED - create shortcut only if user access is not restricted
-Restricted Access=ONLY_RESTRICTED
-
-;[Program Folder0-Shortcut1]
-;File=[SETUP PATH]\$MainExeFile$
-;Arguments=-ProfileManager
-;Working Dir=[SETUP PATH]
-;Description=Profile Manager
-;Icon Path=[SETUP PATH]\$MainExeFile$
-;Icon Id=0
-
-;[Program Folder0-Shortcut2]
-;File=[SETUP PATH]\bin\Net2fone.exe
-;Arguments=
-;Working Dir=[SETUP PATH]
-;Description=Net2Fone
-;Icon Path=[SETUP PATH]\bin\Net2fone.exe
-;Icon Id=0
-
-;[Program Folder1]
-;Timing=post download
-;Show Folder=SHOW
-;Program Folder=[Default Folder]\lala land
-
-;[Program Folder1-Shortcut0]
-;File=c:\bin\getver.exe
-;Arguments=
-;Working Dir=[TEMP]
-;Description=Getver Test
-;Icon Path=[WINDISK]\4nt\4nt.exe
-;Icon Id=0
-
-;[Program Folder1-Shortcut1]
-;File=c:\perl\bin\perl.exe
-;Arguments=
-;Working Dir=[WINSYS]
-;Description=Perl
-;Icon Path=c:\perl\bin\perl.exe
-;Icon Id=0
-
-[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 must not have more than 20 lines. (Each %s becomes a line)
-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		-app [id]:		ID of app which is launching the installer%s		-app_path [path]:	Points to representative file of the app%s		-dd [path]:	Suggested install destination direcotory%s		-f:		Force install%s		-n [filename]:	Setup's parent's process filename.%s		-ma:		Run setup in Auto mode.%s		-mmi:		Allow multiple installer instances%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.%s		-reg_path [path]:	Where to make entries in the Windows registry.
-;*** 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.
-;*** LOCALIZE ME BABY ***
-Message NORMAL Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system.  It is highly recommended that you do not continue with the installation of $ProductName$, or it may not function properly.  Would you still like to continue?
-;*** LOCALIZE ME BABY ***
-Message AUTO Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system.  Setup cannot continue with the installation of $ProductName$.
-
-
-[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/build/win/gre/defaults_info.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-; NOTE to L10n: the .lnk strings are the names of the shortcuts created by
-; each component listed as a section.  If the shortcut names have been
-;localized in their respective .jst file, then these must also be localized.
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/gre/install.it
+++ /dev/null
@@ -1,120 +0,0 @@
-[General]
-FONTNAME=MS Sans Serif
-FONTSIZE=8
-CHARSET=0
-;Here is a partial list CHAR_SETS
-;  ANSI_CHARSET = 0
-;  DEFAULT_CHARSET = 1
-;  SYMBOL_CHARSET = 2
-;  SHIFTJIS_CHARSET = 128
-;  GB2312_CHARSET = 134
-;  HANGEUL_CHARSET = 129
-;  CHINESEBIG5_CHARSET = 136
-;  OEM_CHARSET 255
-
-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
-PROGRAMFOLDER_=&Program Folder:
-EXISTINGFOLDERS_=E&xisting Folders:
-SETUPMESSAGE=Setup has finished copying files to your computer.  Before you can use the program, you must restart Windows 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
-CHECKED=Checked
-UNCHECKED=Unchecked
-
-EXTRACTING=Extracting...
-
-
-[Messages]
-
-ERROR_DIALOG_CREATE=Could not create %s dialog.
-ERROR_FAILED=%s failed.
-ERROR_FILE_NOT_FOUND=File not found: %s
-ERROR_GET_SYSTEM_DIRECTORY_FAILED=GetSystemDirectory() failed.
-ERROR_GET_WINDOWS_DIRECTORY_FAILED =GetWindowsDirectory() failed.
-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 Windows
-ERROR_GETPROCADDRESS=GetProcAddress() 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_CRUTIAL_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.
-STR_FILE_NUMBER=File count:
-STR_FILENAME=Filename:
-MSG_SMARTUPDATE_START=Preparing Install, please wait...
-MSG_CONFIGURING=Configuring %s, please wait...
-ERROR_XPI_INSTALL=Error occurred during installation
-ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required!  Exiting setup...
-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_PROGRAM_FOLDER_NAME=Invalid Program folder name entered.
-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_PROGRAM_FOLDER=Program Folder:
-STR_DELETING_DESTINATION_DIR=Deleting destination directory to be able to upgrade, please wait...
-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
-ERROR_GETVERSION=GetVersionEx() failed!
-
-STATUS_EXTRACTING=Extracting %s
-STATUS_LAUNCHING_SETUP=Launching Setup...
-ERROR_FILE_WRITE=Unable to write file %s
-TITLE=Installation
-ERROR_OUT_OF_MEMORY=Out of memory!
-
-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.
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/gre/uninstall.it
+++ /dev/null
@@ -1,137 +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$
-
-Shared Install=TRUE
-Default AppID=$ProductName$User
-
-; Valid Path values:
-;   PROGRAMFILESDIR
-;   WINDISK
-;   WINDIR
-;   WINSYSDIR
-;   COMMON_STARTUP
-;   COMMON_PROGRAMS
-;   COMMON_STARTMENU
-;   COMMON_DESKTOP
-;
-;   PERSONAL_STARTUP
-;   PERSONAL_PROGRAMS
-;   PERSONAL_STARTMENU
-;   PERSONAL_DESKTOP
-;
-;   PERSONAL_APPDATA
-;   PERSONAL_CACHE
-;   PERSONAL_COOKIES
-;   PERSONAL_FAVORITES
-;   PERSONAL_FONTS
-;   PERSONAL_HISTORY
-;   PERSONAL_NETHOOD
-;   PERSONAL_PERSONAL
-;   PERSONAL_PRINTHOOD (supported only under Windows NT)
-;   PERSONAL_RECENT
-;   PERSONAL_SENDTO
-;   PERSONAL_TEMPLATES
-;
-;   PROGRAMFILESDIR
-;   COMMONFILESDIR
-;   MEDIAPATH
-;   CONFIGPATH (supported only under Windows95 and Windows98)
-;   DEVICEPATH
-
-; This provides information on where in the Windows Registry to locate the Uninstall log files
-;
-Main Root Key=HKEY_LOCAL_MACHINE
-Main Key=[Product WinRegKey]
-Decrypt Main Key=TRUE
-
-Root Key=HKEY_LOCAL_MACHINE
-Key=SOFTWARE\$CompanyName$\$ProductName$\$UserAgent$\Uninstall
-Decrypt Key=TRUE
-
-Uninstall Filename=$UninstallFile$
-Defaults Info Filename=defaults_info.ini
-
-[Check Instance0]
-Class Name=$ProductName$MessageWindow
-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.
-
-[Check Instance1]
-Class Name=MozillaMessageWindow
-Window Name=
-;*** LOCALIZE ME BABY ***
-Message=Mozilla is detected to be currently running.  Please quit Mozilla before continuing.  Click Retry to perform the check again, or Cancel to exit the uninstaller.
-
-[Dialog Uninstall]
-FONTNAME=MS Sans Serif
-FONTSIZE=8
-CHARSET=0
-;Here is a partial list CHAR_SETS
-;  ANSI_CHARSET = 0
-;  DEFAULT_CHARSET = 1
-;  SYMBOL_CHARSET = 2
-;  SHIFTJIS_CHARSET = 128
-;  GB2312_CHARSET = 134
-;  HANGEUL_CHARSET = 129
-;  CHINESEBIG5_CHARSET = 136
-;  OEM_CHARSET 255
-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=MozillaWindowClass
-;Window Name=
-;Message=Setup has detected that an instance of $ProductName$ (or Mozilla) is currently running.  Please quit $ProductName$ and Mozilla 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
-
-; This section attempts to cleanup the UnreadMail registry keys set up by mail.
-[Cleanup Mail 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
-ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required!  Exiting setup...
-MB_WARNING_STR=Warning
-ERROR_UNINSTALL_LOG_FOLDER=Uninstall log folder not found:%s
-MB_MESSAGE_STR=Message
-DLG_REMOVE_FILE_TITLE=Remove File?
-ERROR_GETVERSION=GetVersionEx() failed!
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mfcembed/XPI_JSTs/mfcembed.jst
+++ /dev/null
@@ -1,206 +0,0 @@
-function IsWinnt()
-{
-  /* Determines if the script is running under NT or not.
-   *
-   */
-  var winreg = getWinRegistry();
-  var subkey;
-  var valname;
-  var szCurrentVersion;
-
-  winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-  subkey              = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion";
-  valname             = "CurrentVersion";
-  szCurrentVersion    = winreg.getValueString(subkey, valname);
-  logComment("szCurrentVersion: " + szCurrentVersion);
-  if((szCurrentVersion == "") || (szCurrentVersion == null))
-  {
-    return false;
-  }
-  else
-  {
-    return true;
-  }
-}
-
-function registerKeys()
-{
-  var subkey;  //the name of the subkey you are poking around in
-  var err;
-  var winreg;
-  var tmpstr;
-
-  winreg = getWinRegistry();
-  winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-
-  createRootRegKey(winreg);
-  registerMainKeys(winreg);
-  registerMozillaKeys(winreg);
-}
-
-function createRootRegKey(winreg)
-{
-  var subkey;
-  var tmpstr;
-  var tmpstr2;
-  var index;
-
-  tmpstr = new String(regRootKey);
-  index = tmpstr.indexOf("\\");
-  subkey = "";
-
-  while(index > 0)
-  {
-    subkey = subkey + tmpstr.substring(0, index);
-    winreg.createKey(subkey,"");
-
-    tmpstr2 = tmpstr.substring(index+1, tmpstr.length);
-    tmpstr = new String(tmpstr2);
-
-    index = tmpstr.indexOf("\\");
-    subkey = subkey + "\\";
-  }
-
-  if(tmpstr.length > 0)
-  {
-    subkey = subkey + tmpstr;
-    logComment("subkey:  " + subkey);
-    winreg.createKey(subkey,"");
-  }
-
-  winreg.createKey(subkey + "\\$UserAgent$","");
-}
-
-function registerMainKeys(winreg)
-{
-  var subkey;  //the name of the subkey you are poking around in
-  var err;
-
-  err     = winreg.setValueString(regRootKey, "CurrentVersion", "$UserAgent$");
-
-  winreg.createKey(regRootKey + "\\$UserAgent$", "");
-
-  subkey  = regRootKey + "\\$UserAgent$\\Main";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Install Directory", fProgram);
-
-  subkey  = regRootKey + "\\$UserAgent$\\Uninstall";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Uninstall Log Folder", fProgram + "Uninstall");
-  err     = winreg.setValueString(subkey, "Description", "$ProductName$ ($UserAgentShort$)");
-}
-
-function registerMozillaKeys(winreg)
-{
-  var regKey;
-  var subkey;  //the name of the subkey you are poking around in
-  var err;
-
-  regKey = "Software\\Mozilla";
-  winreg.createKey(regKey, "");
-  winreg.createKey(regKey + "\\MfcEmbed $UserAgent$", "");
-
-  subkey = regKey + "\\MfcEmbed $UserAgent$\\bin";
-  winreg.createKey(subkey, "");
-  err   = winreg.setValueString(subkey, "PathToExe", fProgram + "$MainExeFile$");
-
-  subkey = regKey + "\\MfcEmbed $UserAgent$\\Extensions";
-  winreg.createKey(subkey, "");
-  err   = winreg.setValueString(subkey, "Components", fProgram + "\\Components");
-  err   = winreg.setValueString(subkey, "Plugins",    fProgram + "\\Plugins");
-}
-
-function LogGreUninstaller()
-{
-  var winreg = getWinRegistry();
-  var subkey;
-  var valname;
-  var szUninstallString;
-
-  winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-  subkey              = "SOFTWARE\\mozilla.org\Gre\\1.3a\\Uninstall";
-  valname             = "UninstallString";
-  szUninstallString   = winreg.getValueString(subkey, valname);
-  logComment("szUninstall String:  " + szUninstallString);
-
-  // Log the uninstall command to run the GRE uninstaller.
-  // This needs to be logged after all the files have been installed.
-  logComment("Uninstall Command: \"" + szUninstallString + " /app mfcembed /us");
-
-  if((szUninstallString == "") || (szUinstallString == null))
-  {
-    return false;
-  }
-  else
-  {
-    return true;
-  }
-}
-
-// main
-var srDest;
-var err;
-var err2;
-var fProgram;
-var fSubdir;
-var fWindowsSystem;
-var fileComponentRegStr;
-var fileComponentReg;
-var restrictedAccess;
-var fileToRegister;
-var regRootKey;
-
-regRootKey = new String("Software\\$CompanyName$\\MFCEmbed");
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("$ProductName$", "MFCEmbed", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram  = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if(verifyDiskSpace(fProgram, srDest))
-{
-  setPackageFolder(fProgram);
-
-  err = addDirectory("",
-                     "",
-                     "gre_app_support", // 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);
-
-  err = addDirectory("",
-                     "",
-                     "Embed",      // 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);
-
-  fSubdir = getFolder("Program", "plugins");
-  File.dirCreate(fSubdir);
-
-  fSubdir = getFolder("Program", "components");
-  File.dirCreate(fSubdir);
-
-  // check return value
-  if( err == SUCCESS )
-  {
-    registerKeys();
-    LogGreUninstaller();
-//    // we don't want to fail on errors for the above
-//    resetError();
-
-      err = performInstall();
-      logComment("performInstall() returned: " + err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/build/win/mfcembed/config.it
+++ /dev/null
@@ -1,681 +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
-
-Shared Install=FALSE
-Default AppID=$ProductName$User
-
-Company Name=$CompanyName$
-Product Name=$ProductName$
-Product NameInternal=$ProductName$
-User Agent=$UserAgent$
-
-; Destination Path values:
-;   PROGRAMFILESDIR
-;   WINDISK
-;   WINDIR
-;   WINSYSDIR
-Path=[PROGRAMFILESDIR]\$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:
-;   COMMON_STARTUP
-;   COMMON_PROGRAMS
-;   COMMON_STARTMENU
-;   COMMON_DESKTOP
-;
-;   PERSONAL_STARTUP
-;   PERSONAL_PROGRAMS
-;   PERSONAL_STARTMENU
-;   PERSONAL_DESKTOP
-;
-;   PERSONAL_APPDATA
-;   PERSONAL_CACHE
-;   PERSONAL_COOKIES
-;   PERSONAL_FAVORITES
-;   PERSONAL_FONTS
-;   PERSONAL_HISTORY
-;   PERSONAL_NETHOOD
-;   PERSONAL_PERSONAL
-;   PERSONAL_PRINTHOOD (supported only under Windows NT)
-;   PERSONAL_RECENT
-;   PERSONAL_SENDTO
-;   PERSONAL_TEMPLATES
-;
-;   PROGRAMS (Default value is the same as COMMON_PROGRAMS, but if the user
-;             has restricted access to the system, then it's the same as
-;             PERSONAL_PROGRAMS)
-;
-;   PROGRAMFILESDIR
-;   COMMONFILESDIR
-;   MEDIAPATH
-;   CONFIGPATH (supported only under Windows95 and Windows98)
-;   DEVICEPATH
-Program Folder Name=$ProductName$
-Program Folder Path=[PROGRAMS]
-
-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 0
-
-; Forces the icons on the system to be refreshed.
-; Default value is FALSE.
-; Possible values:
-;   FALSE
-;   TRUE
-Refresh Icons=FALSE
-
-; 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
-
-
-
-; HKey:              valid decryptable setup key is [Product CurrentVersion] or [Product PreviousVersion]
-; Decrypt HKey:      there are times when '[' and ']' are valid part of windows registry key 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]
-HRoot=HKEY_LOCAL_MACHINE
-HKey=[Product CurrentVersion]\Main
-Name=Install Directory
-Decrypt HKey=TRUE
-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 Windows 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=Choose the installation directory, then click Next.
-Readme Filename=readme.txt
-Readme App=notepad.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=&MFCEmbed
-;*** LOCALIZE ME BABY ***
-;Description Long=Install MFCEmbed.
-
-; 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 MFCEmbed
-C1=Component Uninstaller
-
-[Dialog Select Components]
-Show Dialog=FALSE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Components
-;*** LOCALIZE ME BABY ***
-Message0=MFCEmbed 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 Program Folder]
-Show Dialog=FALSE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Program Folder
-;*** LOCALIZE ME BABY ***
-Message0=Setup will add program icons to the Program Folder listed below.  You may type a new folder name, or select one from the Existing Folders list.  Click Next to continue.
-
-[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 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
-
-; These SmartDownload sections contain information to configure SmartDownload.
-; The info is applied to all components to be downloaded.
-[SmartDownload-Netscape Install]
-;core_file=base.zip
-;core_dir=[SETUP PATH]
-no_ads=true
-silent=false
-execution=false
-confirm_install=false
-;extract_msg=Uncompressing Seamonkey.  Please wait...
-
-[SmartDownload-Proxy]
-
-[SmartDownload-Execution]
-exe=
-exe_param=
-
-[Check Instance0]
-Class Name=MozillaMessageWindow
-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
-
-;[Component XPCOM]
-;Description Short=Mozilla XPCOM
-;;*** LOCALIZE ME BABY ***
-;Description Long=Install Engine
-;Archive=xpcom.xpi
-;$InstallSize$:xpcom
-;$InstallSizeSystem$
-;$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
-;                   Use SupersedeMinVersionX=a.b.c.d (optional) to specify the 
-;                   minimum version of the file.  If the version of the existing file
-;                   is greater than or equal to the SupersedeMinVersion the component
-;                   will be superseded.
-;
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\xpcom.dll
-
-[Component MFCEmbed]
-Description Short=MFCEmbed
-;*** LOCALIZE ME BABY ***
-Description Long=MFCEmbed
-Archive=mfcembed.xpi
-$InstallSize$:mfcembed
-$InstallSizeSystem$
-$InstallSizeArchive$:mfcembed.xpi
-Attributes=SELECTED
-
-[Component Uninstaller]
-Description Short=$CompanyName$ Uninstaller
-;*** LOCALIZE ME BABY ***
-Description Long=Uninstaller for $ProductName$
-Archive=$UninstallFileZip$
-$InstallSize$:$UninstallFileZip$
-$InstallSizeSystem$
-$InstallSizeArchive$:$UninstallFileZip$
-Attributes=SELECTED|INVISIBLE|DOWNLOAD_ONLY
-
-;Since the uninstaller program is going to be installed into the Windows folder,
-;Setup.exe need to know to calculate the disk space required for the Windows folder.
-;This section overrides the default user-chosen path for Uninstaller only.
-[Component Uninstaller-Destination Path0]
-Path=[WINDIR]
-
-[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=[WINDIR]
-;*** LOCALIZE ME BABY ***
-Message=Installing the uninstaller, please wait...
-Only If Exists=FALSE
-
-;Copy FileX sections
-;Copy the uninstaller to the [Setup Path]\Uninstall folder.
-;This copy is to be used when the user installed on a system with
-;restricted access.
-[Copy File0]
-Timing=post smartupdate
-Source=[WINDIR]\$UninstallFile$
-Destination=[SETUP PATH]\Uninstall
-Fail If Exists=FALSE
-Do Not Uninstall=FALSE
-
-[Copy File1]
-Timing=post smartupdate
-Source=[XPI PATH]\$UninstallFile$
-Destination=[WINDIR]
-Fail If Exists=FALSE
-Do Not Uninstall=TRUE
-
-
-;Copy File SequentialX sections
-[Copy File Sequential0]
-Timing=post launchapp
-Filename=install_wizard.log
-Source=[SETUP PATH]
-Destination=[SETUP PATH]\Uninstall
-
-[Windows Registry0]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
-Name=DisplayName
-Name Value=MFCEmbed ($UserAgentShort$)
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=FALSE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-[Windows Registry1]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
-Name=UninstallString
-;*** LOCALIZE ME BABY ***
-Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$"
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-; Values for Show Folder:
-;   HIDE             Hides the window and activates another window.
-;   MAXIMIZE         Maximizes the specified window.
-;   MINIMIZE         Minimizes the specified window and activates the next
-;                    top-level window in the z-order.
-;   RESTORE          Activates and displays the window. If the window is
-;                    minimized or maximized, Windows restores it to its
-;                    original size and position. An application should specify
-;                    this flag when restoring a minimized window.
-;   SHOW             Activates the window and displays it in its current size
-;                    and position.
-;   SHOWMAXIMIZED    Activates the window and displays it as a maximized
-;                    window.
-;   SHOWMINIMIZED    Activates the window and displays it as a minimized
-;                    window.
-;   SHOWMINNOACTIVE  Displays the window as a minimized window. The active
-;                    window remains active.
-;   SHOWNA           Displays the window in its current state. The active
-;                    window remains active.
-;   SHOWNOACTIVATE   Displays a window in its most recent size and position.
-;                    The active window remains active.
-;   SHOWNORMAL       Activates and displays a window. If the window is
-;                    minimized or maximized, Windows restores it to its
-;                    original size and position. An application should specify
-;                    this flag when displaying the window for the first time.
-
-; Default value:
-;    IGNORE
-;
-; Possible values:
-;    ONLY_RESTRICTED    - create shortcut only if user access is restricted
-;    ONLY_NONRESTRICTED - create shortcut only if user access is not restricted
-Restricted Access=ONLY_RESTRICTED
-
-;[Program Folder0-Shortcut1]
-;File=[SETUP PATH]\$MainExeFile$
-;Arguments=-ProfileManager
-;Working Dir=[SETUP PATH]
-;Description=Profile Manager
-;Icon Path=[SETUP PATH]\$MainExeFile$
-;Icon Id=0
-
-;[Program Folder0-Shortcut2]
-;File=[SETUP PATH]\bin\Net2fone.exe
-;Arguments=
-;Working Dir=[SETUP PATH]
-;Description=Net2Fone
-;Icon Path=[SETUP PATH]\bin\Net2fone.exe
-;Icon Id=0
-
-;[Program Folder1]
-;Timing=post download
-;Show Folder=SHOW
-;Program Folder=[Default Folder]\lala land
-
-;[Program Folder1-Shortcut0]
-;File=c:\bin\getver.exe
-;Arguments=
-;Working Dir=[TEMP]
-;Description=Getver Test
-;Icon Path=[WINDISK]\4nt\4nt.exe
-;Icon Id=0
-
-;[Program Folder1-Shortcut1]
-;File=c:\perl\bin\perl.exe
-;Arguments=
-;Working Dir=[WINSYS]
-;Description=Perl
-;Icon Path=c:\perl\bin\perl.exe
-;Icon Id=0
-
-[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.
-;*** LOCALIZE ME BABY ***
-Message NORMAL Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system.  It is highly recommended that you do not continue with the installation of $ProductName$, or it may not function properly.  Would you still like to continue?
-;*** LOCALIZE ME BABY ***
-Message AUTO Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system.  Setup cannot continue with the installation of $ProductName$.
-
-
-[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$
-
-;RunApp section
-[RunApp0]
-Timing=pre launchapp
-Wait=TRUE
-Target=gre-win32-installer.exe
-Parameters=-mmi -ma -app mfcembed -app_path "[SETUP PATH]"\mfcembed.exe
deleted file mode 100644
--- a/xpinstall/packager/build/win/mfcembed/defaults_info.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-; NOTE to L10n: the .lnk strings are the names of the shortcuts created by
-; each component listed as a section.  If the shortcut names have been
-;localized in their respective .jst file, then these must also be localized.
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mfcembed/install.it
+++ /dev/null
@@ -1,120 +0,0 @@
-[General]
-FONTNAME=MS Sans Serif
-FONTSIZE=8
-CHARSET=0
-;Here is a partial list CHAR_SETS
-;  ANSI_CHARSET = 0
-;  DEFAULT_CHARSET = 1
-;  SYMBOL_CHARSET = 2
-;  SHIFTJIS_CHARSET = 128
-;  GB2312_CHARSET = 134
-;  HANGEUL_CHARSET = 129
-;  CHINESEBIG5_CHARSET = 136
-;  OEM_CHARSET 255
-
-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
-PROGRAMFOLDER_=&Program Folder:
-EXISTINGFOLDERS_=E&xisting Folders:
-SETUPMESSAGE=Setup has finished copying files to your computer.  Before you can use the program, you must restart Windows 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
-CHECKED=Checked
-UNCHECKED=Unchecked
-
-EXTRACTING=Extracting...
-
-
-[Messages]
-
-ERROR_DIALOG_CREATE=Could not create %s dialog.
-ERROR_FAILED=%s failed.
-ERROR_FILE_NOT_FOUND=File not found: %s
-ERROR_GET_SYSTEM_DIRECTORY_FAILED=GetSystemDirectory() failed.
-ERROR_GET_WINDOWS_DIRECTORY_FAILED =GetWindowsDirectory() failed.
-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 Windows
-ERROR_GETPROCADDRESS=GetProcAddress() 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_CRUTIAL_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.
-STR_FILE_NUMBER=File count:
-STR_FILENAME=Filename:
-MSG_SMARTUPDATE_START=Preparing Install, please wait...
-MSG_CONFIGURING=Configuring %s, please wait...
-ERROR_XPI_INSTALL=Error occurred during installation
-ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required!  Exiting setup...
-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_PROGRAM_FOLDER_NAME=Invalid Program folder name entered.
-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_PROGRAM_FOLDER=Program Folder:
-STR_DELETING_DESTINATION_DIR=Deleting destination directory to be able to upgrade, please wait...
-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
-ERROR_GETVERSION=GetVersionEx() failed!
-
-STATUS_EXTRACTING=Extracting %s
-STATUS_LAUNCHING_SETUP=Launching Setup...
-ERROR_FILE_WRITE=Unable to write file %s
-TITLE=Installation
-ERROR_OUT_OF_MEMORY=Out of memory!
-
-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.
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mfcembed/uninstall.it
+++ /dev/null
@@ -1,129 +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:
-;   PROGRAMFILESDIR
-;   WINDISK
-;   WINDIR
-;   WINSYSDIR
-;   COMMON_STARTUP
-;   COMMON_PROGRAMS
-;   COMMON_STARTMENU
-;   COMMON_DESKTOP
-;
-;   PERSONAL_STARTUP
-;   PERSONAL_PROGRAMS
-;   PERSONAL_STARTMENU
-;   PERSONAL_DESKTOP
-;
-;   PERSONAL_APPDATA
-;   PERSONAL_CACHE
-;   PERSONAL_COOKIES
-;   PERSONAL_FAVORITES
-;   PERSONAL_FONTS
-;   PERSONAL_HISTORY
-;   PERSONAL_NETHOOD
-;   PERSONAL_PERSONAL
-;   PERSONAL_PRINTHOOD (supported only under Windows NT)
-;   PERSONAL_RECENT
-;   PERSONAL_SENDTO
-;   PERSONAL_TEMPLATES
-;
-;   PROGRAMFILESDIR
-;   COMMONFILESDIR
-;   MEDIAPATH
-;   CONFIGPATH (supported only under Windows95 and Windows98)
-;   DEVICEPATH
-
-; This provides information on where in the Windows Registry to locate the Uninstall log files
-;
-Main Root Key=HKEY_LOCAL_MACHINE
-Main Key=[Product WinRegKey]
-Decrypt Main Key=TRUE
-
-Root Key=HKEY_LOCAL_MACHINE
-Key=[Product CurrentVersion]\Uninstall
-Decrypt Key=TRUE
-
-Uninstall Filename=$UninstallFile$
-Defaults Info Filename=defaults_info.ini
-
-[Check Instance0]
-Class Name=MozillaMessageWindow
-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.
-
-
-[Dialog Uninstall]
-FONTNAME=MS Sans Serif
-FONTSIZE=8
-CHARSET=0
-;Here is a partial list CHAR_SETS
-;  ANSI_CHARSET = 0
-;  DEFAULT_CHARSET = 1
-;  SYMBOL_CHARSET = 2
-;  SHIFTJIS_CHARSET = 128
-;  GB2312_CHARSET = 134
-;  HANGEUL_CHARSET = 129
-;  CHINESEBIG5_CHARSET = 136
-;  OEM_CHARSET 255
-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=MozillaWindowClass
-;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
-
-; This section attempts to cleanup the UnreadMail registry keys set up by mail.
-[Cleanup Mail 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
-ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required!  Exiting setup...
-MB_WARNING_STR=Warning
-ERROR_UNINSTALL_LOG_FOLDER=Uninstall log folder not found:%s
-MB_MESSAGE_STR=Message
-DLG_REMOVE_FILE_TITLE=Remove File?
-ERROR_GETVERSION=GetVersionEx() failed!
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mozilla/XPI_JSTs/browser.jst
+++ /dev/null
@@ -1,546 +0,0 @@
-function registerProgramFolderKey(winreg, fFolderPath)
-{
-  var subkey;
-  var err;
-
-  /* set the Program Folder Path in the Mozilla key in the Windows Registry */
-  winreg.createKey("SOFTWARE\\$CompanyName$","");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "CurrentVersion", "$UserAgent$");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$";
-  winreg.createKey(subkey,"");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Program Folder Path", fFolderPath);
-}
-
-function createShortcuts() 
-{
-  var subkey;
-  var valname;
-  var szStartMenuPrograms;
-  var szStartMenu;
-  var szFolderDesktop;
-  var szFolderQuickLaunch;
-  var szFolderSendTo;
-  var szFolderAppData;
-  var szStartupFolder;
-  var winreg;
-  var fWindows;
-  var fTemp;
-  var fProgram;
-  var fDefShortcuts;
-  var fileExe;
-  var fileReadme;
-  var fileLicense;
-  var scExeDesc;
-  var scReadmeDesc;
-  var scLicenseDesc;
-  var scProfileDesc;
-  var scProfileDescParam;
-  var scFolderName;
-  var fFolderDesktop;
-  var fFolderPath;
-  var fFolderPathStr;
-  var fFolderQuickLaunch;
-  var is_winnt;
-  var szCurrentVersion;
-  var folderQuickLaunchExists;
-
-  winreg               = getWinRegistry();
-  fWindows             = getFolder("Windows");
-  fProgram             = getFolder("Program");
-  fDefShortcuts        = getFolder("Program","defaults/shortcuts");
-  fTemp                = fProgram + "$MainExeFile$";
-  fileExe              = getFolder("file:///", fTemp);
-  fileReadme           = getFolder("file:///", fProgram + "readme.txt");
-  fileLicense          = getFolder("file:///", fProgram + "license.txt");
-  scExeDesc            = "$ProductName$";
-  scReadmeDesc         = "Readme";
-  scLicenseDesc        = "License";
-  scProfileDesc        = "Profile Manager";
-  scProfileDescParam   = "-ProfileManager";
-  scFolderName         = "$ProductName$";
-  if(winreg != null) 
-  {
-    /* determine if the script is running under NT or not */
-    winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-    subkey              = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion";
-    szCurrentVersion    = winreg.getValueString(subkey, "CurrentVersion");
-    logComment("szCurrentVersion: " + szCurrentVersion);
-    if((szCurrentVersion == "") || (szCurrentVersion == null))
-    {
-      is_winnt = false;
-    }
-    else
-    {
-      is_winnt = true;
-    }
-
-    logComment("is_winnt value: " + is_winnt);
-    if(!is_winnt || restrictedAccess)
-    {
-      winreg.setRootKey(winreg.HKEY_CURRENT_USER);
-      subkey              = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
-      szStartMenuPrograms = winreg.getValueString(subkey, "Programs");
-      szStartMenu         = winreg.getValueString(subkey, "Start Menu");
-      szFolderDesktop     = winreg.getValueString(subkey, "Desktop");
-      szStartupFolder     = winreg.getValueString(subkey, "Startup");
-	}
-    else
-    {
-      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-      subkey              = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
-      szStartMenuPrograms = winreg.getValueString(subkey, "Common Programs");
-      szStartMenu         = winreg.getValueString(subkey, "Common Start Menu");
-      szFolderDesktop     = winreg.getValueString(subkey, "Common Desktop");
-      szStartupFolder     = winreg.getValueString(subkey, "Common Startup");
-   }
-
-    winreg.setRootKey(winreg.HKEY_CURRENT_USER);
-    subkey              = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
-    szFolderSendTo      = winreg.getValueString(subkey, "SendTo");
-
-    subkey              = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
-    szFolderAppData     = winreg.getValueString(subkey, "AppData");
-
-    // locate the Quick Launch folder
-    szFolderQuickLaunch     = szFolderAppData + "\\Microsoft\\Internet Explorer\\Quick Launch";
-    fFolderQuickLaunch      = getFolder("file:///", szFolderQuickLaunch);
-    folderQuickLaunchExists = File.isDirectory(fFolderQuickLaunch);
-    if(!folderQuickLaunchExists)
-    {
-      subkey                  = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\GrpConv\\MapGroups";
-      szFolderQuickLaunch     = winreg.getValueString(subkey, "Quick Launch");
-      folderQuickLaunchExists = File.isDirectory(fFolderPath);
-      if(folderQuickLaunchExists)
-        fFolderQuickLaunch = getFolder("file:///", szFolderQuickLaunch);
-    }
-    logComment("folderQuickLaunchExists: " + folderQuickLaunchExists);
-
-    subkey              = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
-    fFolderPathStr      = winreg.getValueString(subkey, "Program Folder Path");
-    if((fFolderPathStr == "") || (fFolderPathStr == null))
-    {
-      fTemp       = szStartMenuPrograms + "\\" + scFolderName;
-      fFolderPath = getFolder("file:///", fTemp);
-    }
-    else
-    {
-      /* convert the path string to a path folder object */
-      fFolderPath = getFolder("file:///", fFolderPathStr);
-    }
-    /* convert the path string to a path folder object */
-    fFolderDesktop = getFolder("file:///", szFolderDesktop);
-
-    logComment("Folder StartMenuPrograms: " + szStartMenuPrograms);
-    logComment("Folder StartMenu        : " + szStartMenu);
-    logComment("Folder FolderDesktop    : " + szFolderDesktop);
-    logComment("Folder FolderSendTo     : " + szFolderSendTo);
-    logComment("Folder FolderQuickLaunch: " + szFolderQuickLaunch);
-    logComment("fileExe                 : " + fileExe);
-    logComment("fFolderPath             : " + fFolderPath);
-    logComment("scExeDesc               : " + scExeDesc);
-    logComment("fProgram                : " + fProgram);
-
-    /* explicitly create the fFolderPath even though the windowsShortcut function creates the folder.
-     * This is so that the folder creation gets logged for uninstall to remove it. */
-    if(!File.exists(fFolderPath))
-      File.dirCreate(fFolderPath);
-    if(!File.exists(fDefShortcuts))
-      File.dirCreate(fDefShortcuts);
-
-    /* create the shortcuts */
-    File.windowsShortcut(fileExe, fFolderDesktop, scExeDesc,     fProgram,  "",                 fileExe, 0);
-    File.windowsShortcut(fileExe, fFolderPath,    scExeDesc,     fProgram,  "",                 fileExe, 0);
-    File.windowsShortcut(fileExe, fDefShortcuts,  scExeDesc,     fProgram,  "",                 fileExe, 0);
-    File.windowsShortcut(fileExe, fFolderPath,    scProfileDesc, fProgram,  scProfileDescParam, fileExe, 0);
-    File.windowsShortcut(fileReadme,  fFolderPath, scReadmeDesc,  fProgram, "",                 fileReadme, 0);
-    File.windowsShortcut(fileLicense, fFolderPath, scLicenseDesc, fProgram, "",                 fileLicense, 0);
-
-    // create shortcut in the Quick Launch folder
-    if(folderQuickLaunchExists)
-      File.windowsShortcut(fileExe, fFolderQuickLaunch, scExeDesc, fProgram,  "", fileExe, 0);
-
-    if(!restrictedAccess)
-    {
-      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-      registerProgramFolderKey(winreg, fFolderPath);
-    }
-
-    winreg.setRootKey(winreg.HKEY_CURRENT_USER);
-    registerProgramFolderKey(winreg, fFolderPath);
-
-    /* remove turbo mode shortcut */
-
-    fFolderPath = getFolder("file:///", szStartupFolder);
-									
-    /* remove shortcut from the startup folder */
-
-    basename = "$MainExeFile$"
-    fTemp = fFolderPath + basename + ".lnk";
-    fFolderPath = getFolder("file:///", fTemp);
-    if (File.exists(fFolderPath)) 
-    { 
-        logComment("Removing Quick Launch shortcut from Windows startup folder\n");
-        fileDelete(fFolderPath);
-    }
-
-    subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Setup";
-    regvalue = winreg.getValueString(subkey, "browserargs");
-
-    /* log this so if the user turns on turbo mode in the browser the uninstaller will undo it */
-
-    logComment( "store registry value string: HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run [Mozilla Quick Launch]");
-    if (regvalue && regvalue != undefined && regvalue.length != 0) 
-    {
-        var value = new String(regvalue);
-        var index = value.indexOf("turbo");
-        if (index != -1) 
-        {
-            var index2 = value.indexOf("=", index);
-            if (index2 != -1) 
-            {
-                turboarg = value.slice(index2 + 1, index2 + 2);
-                winreg.setRootKey(winreg.HKEY_CURRENT_USER);
-                subkey = "Software\\Microsoft\\Windows\\CurrentVersion\\Run";
-                valname = "Mozilla Quick Launch";
-                if ( turboarg == "Y" || turboarg == "y") 
-                {
-                    fTemp = fileExe;
-                    fileExe = getFolder("file:///", fTemp);
-                    newKey = '"' + fileExe + '"' + ' -turbo';
-                    winreg.createKey(subkey,"");
-                    winreg.setValueString(subkey, valname, newKey);
-                } 
-                else 
-                {
-                    winreg.deleteValue(subkey, valname);
-                }
-            }
-        }
-    }
-  }
-  else
-  {
-    logComment("winreg is null");
-  }
-}
-function IsWinnt()
-{
-  /* Determines if the script is running under NT or not.
-   *
-   */
-  var winreg = getWinRegistry();
-  var subkey;
-  var szCurrentVersion;
-
-  winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-  subkey              = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion";
-  szCurrentVersion    = winreg.getValueString(subkey, "CurrentVersion");
-  logComment("szCurrentVersion: " + szCurrentVersion);
-  if((szCurrentVersion == "") || (szCurrentVersion == null))
-  {
-    return false;
-  }
-  else
-  {
-    return true;
-  }
-}
-
-function registerMainKeys(winreg)
-{
-  var subkey;  //the name of the subkey you are poking around in
-  var data;
-  var err;
-
-  winreg.createKey("SOFTWARE\\$CompanyName$","");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "CurrentVersion", "$UserAgent$");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$";
-  winreg.createKey(subkey,"");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
-  winreg.createKey(subkey,"");
-
-  err     = winreg.setValueString(subkey, "Install Directory", fProgram);
-
-  // The following keys are required to be created to supply information
-  // about the location of the Gecko Embedded Client to 3rd party apps.
-  // "SOFTWARE\\Mozilla" must not be localized!
-  subkey  = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "GeckoVer", "$GreVersion$");
-
-  subkey  = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\Extensions";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Components", fProgram + "Components");
-  err     = winreg.setValueString(subkey, "Plugins", fProgram + "Plugins");
-
-  subkey  = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\bin";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "PathToExe", fProgram + "$MainExeFile$");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
-  err     = winreg.setValueString(subkey, "PathToExe", fProgram + "$MainExeFile$");
-
-  // Register as a windows XP internet browser
-  if( IsWinnt() )
-  {
-    subkey = "Software\\Clients\\StartMenuInternet\\$MainExeFile$";
-    winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-
-    winreg.createKey(subkey, "");
-    winreg.createKey(subkey + "\\DefaultIcon", "");
-    winreg.createKey(subkey + "\\shell", "");
-    winreg.createKey(subkey + "\\shell\\open", "");
-    winreg.createKey(subkey + "\\shell\\open\\command", "");
-    winreg.createKey(subkey + "\\InstallInfo", "");
-    winreg.setValueString(subkey, "", "$ProductNameInternal$");
-
-    // path does not need to be quoted per MS doc
-    data = fProgram + "$MainExeFile$,0";
-    winreg.setValueString(subkey + "\\DefaultIcon", "", data);
-
-    data = "\"" + fProgram + "$MainExeFile$\"";
-    winreg.setValueString(subkey + "\\shell\\open\\command", "", data);
-
-    data = "\"" + fProgram + "uninstall\\$UninstallFile$\" /ms /ua \"$UserAgent$\" /hs browser";
-    winreg.setValueString(subkey + "\\InstallInfo", "HideIconsCommand", data);
-
-    winreg.setValueNumber(subkey + "\\InstallInfo", "IconsVisible", 1);
-
-    data = "\"" + fProgram + "$MainExeFile$\" -silent -nosplash -setDefaultBrowser ";
-    winreg.setValueString(subkey + "\\InstallInfo", "ReinstallCommand", data);
-
-    data = "\"" + fProgram + "uninstall\\$UninstallFile$\" /ms /ua \"$UserAgent$\" /ss browser";
-    winreg.setValueString(subkey + "\\InstallInfo", "ShowIconsCommand", data);
-  }
-}
-
-function updateWinReg()
-{
-  //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 winreg = getWinRegistry();
-  var subkey;  //the name of the subkey you are poking around in
-  var err;
-  var ikwDefined;
-
-  if(winreg != null) 
-  {
-    /* This will check to see if the user has restricted access or not.
-     * It checks to see if HKEY_LOCALMACHINE\SOFTWARE is writable.  If
-     * it is, then access is not restricted.  This is only used to
-     * determine which Desktop, Programs, and Start Menu folders
-     * are to used: common or per user
-     */
-    restrictedAccess = false;
-    ikwDefined = typeof(winreg.isKeyWritable);
-    logComment("winreg.isKeyWritable(): " + ikwDefined);
-    if(ikwDefined == "function")
-    {
-      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-      if(!winreg.isKeyWritable("SOFTWARE"))
-        restrictedAccess = true;
-    }
-
-    logComment("restrictedAccess value: " + restrictedAccess);
-    if(!restrictedAccess)
-    {
-      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-      registerMainKeys(winreg);
-
-      // set the App Paths key here
-      subkey  = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\$MainExeFile$";
-      winreg.createKey(subkey,"");
-      err     = winreg.setValueString(subkey, "", fProgram + "$MainExeFile$");
-      err     = winreg.setValueString(subkey, "Path", fProgram);
-    }
-
-    winreg.setRootKey(winreg.HKEY_CURRENT_USER);
-    registerMainKeys(winreg);
-  }
-}
-
-function upgradeCleanup()
-{
-  // Obsolete files from Netscape 6.0 and Netscape 6.01 that
-  // need to be cleaned up.
-  deleteThisFile("Program",    "oji.dll");
-  deleteThisFile("Program",    "jsdom.dll");
-  deleteThisFile("Program",    "img3250.dll");
-  deleteThisFile("Program",    "gkgfxwin.dll");
-  deleteThisFile("Program",    "gkwidget.dll");
-  deleteThisFile("Program",    "defaults/pref/config.js");
-  deleteThisFile("Program",    "defaults/pref/initpref.js");
-  deleteThisFile("Program",    "defaults/pref/psm-glue.js");
-  deleteThisFile("Program",    "defaults/wallet/URLFieldSchema.tbl");
-  deleteThisFile("Components", "gkhtml.dll");
-  deleteThisFile("Components", "mozucth.dll");
-  deleteThisFile("Components", "mozxfer.dll");
-  deleteThisFile("Components", "nsgif.dll");
-  deleteThisFile("Components", "nsjpg.dll");
-  deleteThisFile("Components", "nsmng.dll");
-  deleteThisFile("Components", "nspng.dll");
-  deleteThisFile("Components", "smime.dll");
-  deleteThisFile("Components", "AcctIdl.dll");
-  deleteThisFile("Components", "chardetc.dll");
-  deleteThisFile("Components", "evntloop.dll");
-  deleteThisFile("Components", "nativapp.dll");
-  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", "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", "ucharuti.dll");
-  deleteThisFile("Components", "lwbrk.dll");
-  deleteThisFile("Components", "nslocale.dll");
-  deleteThisFile("Components", "strres.dll");
-  deleteThisFile("Components", "mozbrwsr.dll");
-  deleteThisFile("Components", "nkcache.dll");
-  deleteThisFile("Components", "jsloader.dll");
-  deleteThisFile("Components", "gkcontent.dll");
-  deleteThisFile("Chrome",     "chrome.rdf");
-  deleteThisFile("Chrome",     "overlays.rdf");
-  deleteThisFile("Chrome",     "stylesheets.rdf");
-  deleteThisFolder("Chrome",   "overlayinfo");
-}
-
-// main
-var srDest;
-var err;
-var err2;
-var fProgram;
-var fWindowsSystem;
-var fileComponentRegStr;
-var fileComponentReg;
-var restrictedAccess;
-var fileToRegister;
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("$ProductName$", "Browser", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram  = getFolder("Program");
-fWindowsSystem = getFolder("Win System");
-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 )
-  {
-    fileToRegister = getFolder(fProgram, "AccessibleMarshal.dll");
-    err2           = File.windowsRegisterServer(fileToRegister);
-    logComment("windowsRegisterServer() returned: " + err2);
-    updateWinReg();  // Finish registering above marshalling dll's
-
-    createShortcuts();
-
-    // we don't want to fail on errors for the above two
-    resetError();
-
-    // 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-region/");
-    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);
-      if (! ('buildID' in Install))
-      {
-        logComment("Running Pre-Mozilla 0.9.1");
-        initInstall("Post-install Cleanup Utility", "Browser/xpicleanup", "$Version$");
-        cleanupUtility = getFolder(fProgram, "xpicleanup.exe");
-        err = File.execute(cleanupUtility);
-        logComment("execute() returned: " + err);
-        err = performInstall();
-      }
-    }
-    else
-      cancelInstall(err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/build/win/mozilla/XPI_JSTs/chatzilla.jst
+++ /dev/null
@@ -1,23 +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(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/build/win/mozilla/XPI_JSTs/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/build/win/mozilla/XPI_JSTs/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/build/win/mozilla/XPI_JSTs/psm.jst
+++ /dev/null
@@ -1,51 +0,0 @@
-function upgradeCleanup()
-{
-  // Obsolete files from Netscape 6.0 and Netscape 6.01 that
-  // need to be cleaned up.
-  deleteThisFile("Program",    "psm.exe");
-  deleteThisFile("Components", "psmglue.dll");
-}
-
-// 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/build/win/mozilla/XPI_JSTs/talkback.jst
+++ /dev/null
@@ -1,9 +0,0 @@
-// main
-
-var err;
-
-err = initInstall("Quality Feedback Agent", "Quality Feedback Agent", "6.5.0.2001012623"); 
-logComment("Talkback place holder .xpi for the real thing.");
-cancelInstall(err);
-
-// end main
deleted file mode 100644
--- a/xpinstall/packager/build/win/mozilla/XPI_JSTs/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/build/win/mozilla/XPI_JSTs/xpcom.jst
+++ /dev/null
@@ -1,175 +0,0 @@
-function registerMainKeys(winreg)
-{
-  var subkey;  //the name of the subkey you are poking around in
-  var err;
-
-  winreg.createKey("SOFTWARE\\$CompanyName$","");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "CurrentVersion", "$UserAgent$");
-
-  winreg.createKey("SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$","");
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Install Directory", fProgram);
-
-  subkey  = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Uninstall";
-  winreg.createKey(subkey,"");
-  err     = winreg.setValueString(subkey, "Uninstall Log Folder", szUninstall);
-  err     = winreg.setValueString(subkey, "Description", "$ProductName$ ($UserAgentShort$)");
-}
-
-function updateWinReg()
-{
-  //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 winreg = getWinRegistry();
-  var subkey;  //the name of the subkey you are poking around in
-  var restrictedAccess;
-  var ikwDefined;
-
-  if(winreg != null) 
-  {
-    /* This will check to see if the user has restricted access or not.
-     * It checks to see if HKEY_LOCALMACHINE\SOFTWARE is writable.  If
-     * it is, then access is not restricted.  This is only used to
-     * determine which Desktop, Programs, and Start Menu folders
-     * are to used: common or per user
-     */
-    restrictedAccess = false;
-    ikwDefined = typeof(winreg.isKeyWritable);
-    logComment("winreg.isKeyWritable(): " + ikwDefined);
-    if(ikwDefined == "function")
-    {
-      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-      if(!winreg.isKeyWritable("SOFTWARE"))
-        restrictedAccess = true;
-    }
-
-    logComment("restrictedAccess value: " + restrictedAccess);
-    if(!restrictedAccess)
-    {
-      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
-      registerMainKeys(winreg);
-    }
-
-    winreg.setRootKey(winreg.HKEY_CURRENT_USER);
-    registerMainKeys(winreg);
-  }
-}
-
-function upgradeCleanup()
-{
-  deleteThisFile("Program",    "component.reg");
-  deleteThisFile("Components", "compreg.dat");
-  deleteThisFile("Components", "xpti.dat");
-  deleteThisFile("Components", "xptitemp.dat");
-}
-
-// main
-var srDest;
-var err;
-var szUninstall;
-var fProgram;
-var fWindowsSystem;
-var fileComponentReg;
-var fileComponentRegStr;
-var fileMsvcrt;
-var fileMsvcirt;
-
-srDest = $SpaceRequired$:bin;
-err    = initInstall("Mozilla XPCOM", "XPCOM", "$Version$"); 
-logComment("initInstall: " + err);
-
-fProgram  = getFolder("Program");
-fWindowsSystem = getFolder("Win System");
-logComment("fProgram: " + fProgram);
-
-// build the uninstall folder path
-szUninstall = fProgram + "Uninstall";
-
-// 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 )
-  {
-    // install msvcrt.dll *only* if it does not exist
-    // we don't care if addFile() fails (if the file does not exist in the archive)
-    // bacause it will still install
-    fileMsvcrt = getFolder(fWindowsSystem, "msvcrt.dll");
-    rv         = File.exists(fileMsvcrt);
-    logComment("fileExists() returned: " + rv);
-    if(rv == false)
-    {
-      logComment("File not found: " + fileMsvcrt);
-      addFile("/Microsoft/Shared/msvcrt.dll",
-              "$Version$",
-              "msvcrt.dll",         // dir name in jar to extract 
-              fWindowsSystem,       // Where to put this file (Returned from getFolder) 
-              "",                   // subdir name to create relative to fProgram
-              WIN_SHARED_FILE);
-      logComment("addFile() of msvcrt.dll returned: " + err);
-    }
-    else
-    {
-      logComment("File found: " + fileMsvcrt);
-    }
-
-    // install msvcirt.dll *only* if it does not exist
-    // we don't care if addFile() fails (if the file does not exist in the archive)
-    // bacause it will still install
-    fileMsvcirt = getFolder(fWindowsSystem, "msvcirt.dll");
-    rv          = File.exists(fileMsvcirt);
-    logComment("fileExists() returned: " + rv);
-    if(rv == false)
-    {
-      logComment("File not found: " + fileMsvcirt);
-      addFile("/Microsoft/Shared/msvcirt.dll",
-              "$Version$",
-              "msvcirt.dll",        // dir name in jar to extract 
-              fWindowsSystem,       // Where to put this file (Returned from getFolder) 
-              "",                   // subdir name to create relative to fProgram
-              WIN_SHARED_FILE);
-      logComment("addFile() of msvcirt.dll returned: " + err);
-    }
-    else
-    {
-      logComment("File found: " + fileMsvcirt);
-    }
-  }
-
-  // check return value
-  if( err == SUCCESS )
-  {
-    updateWinReg();
-
-    err = performInstall(); 
-    logComment("performInstall() returned: " + err);
-  }
-  else
-    cancelInstall(err);
-}
-else
-  cancelInstall(INSUFFICIENT_DISK_SPACE);
-
-
-// end main
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mozilla/config.it
+++ /dev/null
@@ -1,1137 +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:
-;   PROGRAMFILESDIR
-;   WINDISK
-;   WINDIR
-;   WINSYSDIR
-Path=[PROGRAMFILESDIR]\$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:
-;   COMMON_STARTUP
-;   COMMON_PROGRAMS
-;   COMMON_STARTMENU
-;   COMMON_DESKTOP
-;
-;   PERSONAL_STARTUP
-;   PERSONAL_PROGRAMS
-;   PERSONAL_STARTMENU
-;   PERSONAL_DESKTOP
-;
-;   PERSONAL_APPDATA
-;   PERSONAL_CACHE
-;   PERSONAL_COOKIES
-;   PERSONAL_FAVORITES
-;   PERSONAL_FONTS
-;   PERSONAL_HISTORY
-;   PERSONAL_NETHOOD
-;   PERSONAL_PERSONAL
-;   PERSONAL_PRINTHOOD (supported only under Windows NT)
-;   PERSONAL_RECENT
-;   PERSONAL_SENDTO
-;   PERSONAL_TEMPLATES
-;
-;   PROGRAMS (Default value is the same as COMMON_PROGRAMS, but if the user
-;             has restricted access to the system, then it's the same as
-;             PERSONAL_PROGRAMS)
-;
-;   PROGRAMFILESDIR
-;   COMMONFILESDIR
-;   MEDIAPATH
-;   CONFIGPATH (supported only under Windows95 and Windows98)
-;   DEVICEPATH
-Program Folder Name=$ProductName$
-Program Folder Path=[PROGRAMS]
-
-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
-
-; Forces the icons on the system to be refreshed.
-; Default value is FALSE.
-; Possible values:
-;   FALSE
-;   TRUE
-Refresh Icons=FALSE
-
-; 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
-
-
-
-; HKey:              valid decryptable setup key is [Product CurrentVersion] or [Product PreviousVersion]
-; Decrypt HKey:      there are times when '[' and ']' are valid part of windows registry key 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]
-HRoot=HKEY_LOCAL_MACHINE
-HKey=[Product CurrentVersion]\Main
-Name=Install Directory
-Decrypt HKey=TRUE
-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 Windows 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=notepad.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 Uninstaller
-C4=Component US English Profile Defaults
-C5=Component En US lang pack
-; 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 Uninstaller
-C5=Component Chatzilla
-C6=Component Venkman
-C7=Component US English Profile Defaults
-C8=Component En US lang pack
-; Make sure Component QFA is LAST so 3rd party developers who might not want
-; this component can easily remove it.
-C9=Component DOM Inspector
-C10=Component QFA
-
-[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 Uninstaller
-C5=Component Chatzilla
-C6=Component Venkman
-C7=Component US English Profile Defaults
-C8=Component En US lang pack
-; Make sure Component QFA is LAST so 3rd party developers who might not want
-; this component can easily remove it.
-C9=Component DOM Inspector
-C10=Component QFA
-
-
-
-[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.
-
-;*** DO NOT LOCALIZE - BEGIN ***
-; do not localize this part because it is not currently being used
-[Dialog Windows Integration]
-Show Dialog=FALSE
-Title=$ProductName$ Setup - Windows Integration
-Message0=Check the options you would like Setup to perform.
-Message1=These settings allow you to set default Internet preferences for browsing and searching.  They affect browsers installed on your machine, including Mozilla, Netscape and Microsoft Internet Explorer.
-
-; Only a maximum of 4 "Windows Integration-Item"s are allowed.  Each Item
-; shows up as a checkbox in the Windows Integration dialog.
-[Windows Integration-Item0]
-CheckBoxState=FALSE
-Description=Make Mozilla my default Internet browser
-Archive=
-
-[Windows Integration-Item1]
-CheckBoxState=FALSE
-Description=Make Mozilla Netcenter my home page
-Archive=
-
-[Windows Integration-Item2]
-CheckBoxState=FALSE
-Description=Use Mozilla Netcenter to search the Web
-Archive=
-;*** DO NOT LOCALIZE - END ***
-
-[Dialog Program Folder]
-Show Dialog=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Select Program Folder
-;*** LOCALIZE ME BABY ***
-Message0=Setup will add program icons to the Program Folder listed below.  You may type a new folder name, or select one from the Existing Folders list.  Click Next to continue.
-
-[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=TRUE
-;*** LOCALIZE ME BABY ***
-Title=$ProductName$ Setup - Quick Launch
-;*** LOCALIZE ME BABY ***
-Message0=Quick Launch starts Mozilla 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
-
-; These SmartDownload sections contain information to configure SmartDownload.
-; The info is applied to all components to be downloaded.
-[SmartDownload-Netscape Install]
-;core_file=base.zip
-;core_dir=[SETUP PATH]
-no_ads=true
-silent=false
-execution=false
-confirm_install=false
-;extract_msg=Uncompressing Seamonkey.  Please wait...
-
-[SmartDownload-Proxy]
-
-[SmartDownload-Execution]
-exe=
-exe_param=
-
-[Check Instance0]
-Class Name=$ProductName$MessageWindow
-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
-
-; These keys are not normally necessary for checking instances.  They are
-; set here because Mozilla requires a way to shut down its turbo mode.
-Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE
-Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\$MainExeFile$
-Extra Cmd0 Reg Name=
-Extra Cmd0 Parameter=-kill
-
-[Check Instance1]
-Class Name=MozillaMessageWindow
-Window Name=
-;*** LOCALIZE ME BABY ***
-Message=Download of $ProductName$ was successful. Mozilla must be closed to proceed with installation. Click OK to exit Mozilla automatically and to begin installation.
-;*** LOCALIZE ME BABY ***
-Message Full Installer=Mozilla must be closed to proceed with installation. Click OK to exit Mozilla 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
-
-; These keys are not normally necessary for checking instances.  They are
-; set here because Mozilla requires a way to shut down its turbo mode.
-Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE
-Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Mozilla.exe
-Extra Cmd0 Reg Name=
-Extra Cmd0 Parameter=-kill
-
-[Component XPCOM]
-Description Short=Mozilla XPCOM
-;*** LOCALIZE ME BABY ***
-Description Long=Install Engine
-Archive=xpcom.xpi
-$InstallSize$:xpcom
-$InstallSizeSystem$
-$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
-;                   Use SupersedeMinVersionX=a.b.c.d (optional) to specify the 
-;                   minimum version of the file.  If the version of the existing file
-;                   is greater than or equal to the SupersedeMinVersion the component
-;                   will be superseded.
-;
-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
-$InstallSizeSystem$
-$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
-$InstallSizeSystem$
-$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$
-$InstallSizeSystem$
-$InstallSizeArchive$:$UninstallFileZip$
-Attributes=SELECTED|INVISIBLE|DOWNLOAD_ONLY
-
-;Since the uninstaller program is going to be installed into the Windows folder,
-;Setup.exe need to know to calculate the disk space required for the Windows folder.
-;This section overrides the default user-chosen path for Uninstaller only.
-[Component Uninstaller-Destination Path0]
-Path=[WINDIR]
-
-
-[Component Chatzilla]
-Description Short=Chatzilla
-;*** LOCALIZE ME BABY ***
-Description Long=for chatting on Internet Relay Chat(IRC)
-Archive=chatzilla.xpi
-$InstallSize$:chatzilla
-$InstallSizeSystem$
-$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
-$InstallSizeSystem$
-$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
-$InstallSizeSystem$
-$InstallSizeArchive$:inspector.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\inspector.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
-$InstallSizeSystem$
-$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
-$InstallSizeSystem$
-$InstallSizeArchive$:langenus.xpi
-Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Chrome\en-US.jar
-
-[Component QFA]
-Description Short=Quality Feedback Agent
-;*** LOCALIZE ME BABY ***
-Description Long=for reporting $ProductName$ crash information
-Archive=talkback.xpi
-Install Size=870
-Install Size System=1
-Install Size Archive=248
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Components\fullsoft.dll
-
-; This is to randomly set the default checkbox for this component.
-; This particular value will set the checkbox checked [number]% of the time.
-; This logic is done only during the initialization of setup, not in any
-; particular dialog.
-Random Install Percentage=100
-
-[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
-$InstallSizeSystem$
-$InstallSizeArchive$:psm.xpi
-Attributes=SELECTED|FORCE_UPGRADE
-Force Upgrade File0=[SETUP PATH]\Components\pipnss.dll
-Force Upgrade File1=[SETUP PATH]\psm.exe
-
-[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=[WINDIR]
-;*** LOCALIZE ME BABY ***
-Message=Installing the uninstaller, please wait...
-Only If Exists=FALSE
-
-
-;Copy FileX sections
-;Copy the uninstaller to the [Setup Path]\Uninstall folder.
-;This copy is to be used when the user installed on a system with
-;restricted access.
-[Copy File0]
-Timing=post smartupdate
-Source=[WINDIR]\$UninstallFile$
-Destination=[SETUP PATH]\Uninstall
-Fail If Exists=FALSE
-Do Not Uninstall=FALSE
-
-[Copy File1]
-Timing=post smartupdate
-Source=[XPI PATH]\$UninstallFile$
-Destination=[WINDIR]
-Fail If Exists=FALSE
-Do Not Uninstall=TRUE
-
-
-;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 FileX sections
-[Delete File0]
-Timing=post download
-Destination=[COMMON_PROGRAMS]\Mozilla Seamonkey\Mozilla AppRunner.lnk
-
-[Delete File1]
-Timing=post launchapp
-Destination=[SETUP PATH]\install_wizard.log
-
-
-;Remove DirectoryX sections
-;[Remove Directory0]
-;Timing=post launchapp
-;Destination=[TEMP]\xtratest
-;Remove subdirs=TRUE
-
-
-;RunAppX sections
-[RunApp0]
-Timing=depend reboot
-Wait=FALSE
-Target=[SETUP PATH]\$MainExeFile$
-Parameters=-installer
-WorkingDir=[SETUP PATH]
-;  Additional Options dialog.
-Condition=not RecaptureHPChecked
-
-[RunApp1]
-Timing=depend reboot
-Wait=FALSE
-Target=[SETUP PATH]\$MainExeFile$
-Parameters=-installer -resetPref browser.startup.homepage
-WorkingDir=[SETUP PATH]
-;  Additional Options dialog.
-Condition=RecaptureHPChecked
-
-[Windows Registry0]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry1]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$\$ProductName$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry2]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$\$ProductName$\$UserAgent$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry3]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main
-Name=Program Folder Path
-Name Value=[Default Folder]
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry4]
-Root Key=HKEY_CURRENT_USER
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry5]
-Root Key=HKEY_CURRENT_USER
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$\$ProductName$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry6]
-Root Key=HKEY_CURRENT_USER
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$\$ProductName$\$UserAgent$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry7]
-Root Key=HKEY_CURRENT_USER
-;*** LOCALIZE ME BABY ***
-Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main
-Name=Program Folder Path
-Name Value=[Default Folder]
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry8]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
-Name=DisplayName
-Name Value=$ProductName$ ($UserAgentShort$)
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=FALSE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-[Windows Registry9]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
-Name=UninstallString
-;*** LOCALIZE ME BABY ***
-Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$"
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=post smartupdate
-
-; The following keys are to help JRE's installer locate where mozilla gets
-; installed to.  It has not been updated to look for the new keys.
-[Windows Registry10]
-Root Key=HKEY_LOCAL_MACHINE
-Key=Software\Mozilla
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry11]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\Mozilla\Seamonkey
-Name=CurrentVersion
-Name Value=$UserAgent$
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry12]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\Mozilla\Seamonkey\$UserAgent$
-Name=
-Name Value=
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Windows Registry13]
-Root Key=HKEY_LOCAL_MACHINE
-;*** LOCALIZE ME BABY ***
-Key=Software\Mozilla\Seamonkey\$UserAgent$\Main
-Name=Program Folder Path
-Name Value=[Default Folder]
-Type=REG_SZ
-Decrypt Key=FALSE
-Decrypt Name=FALSE
-Decrypt Name Value=TRUE
-Overwrite Key=TRUE
-Overwrite Name=TRUE
-Timing=pre smartupdate
-
-[Cleanup Previous Product RegKeys]
-Reg Key Root0=HKEY_LOCAL_MACHINE
-Product Name0=Mozilla
-Product Reg Key0=Software\Mozilla.org\Mozilla
-Current Version0=$UserAgent$
-;
-Reg Key Root1=HKEY_CURRENT_USER
-Product Name1=Mozilla
-Product Reg Key1=Software\Mozilla.org\Mozilla
-Current Version1=$UserAgent$
-
-
-
-; Values for Show Folder:
-;   HIDE             Hides the window and activates another window.
-;   MAXIMIZE         Maximizes the specified window.
-;   MINIMIZE         Minimizes the specified window and activates the next
-;                    top-level window in the z-order.
-;   RESTORE          Activates and displays the window. If the window is
-;                    minimized or maximized, Windows restores it to its
-;                    original size and position. An application should specify
-;                    this flag when restoring a minimized window.
-;   SHOW             Activates the window and displays it in its current size
-;                    and position.
-;   SHOWMAXIMIZED    Activates the window and displays it as a maximized
-;                    window.
-;   SHOWMINIMIZED    Activates the window and displays it as a minimized
-;                    window.
-;   SHOWMINNOACTIVE  Displays the window as a minimized window. The active
-;                    window remains active.
-;   SHOWNA           Displays the window in its current state. The active
-;                    window remains active.
-;   SHOWNOACTIVATE   Displays a window in its most recent size and position.
-;                    The active window remains active.
-;   SHOWNORMAL       Activates and displays a window. If the window is
-;                    minimized or maximized, Windows restores it to its
-;                    original size and position. An application should specify
-;                    this flag when displaying the window for the first time.
-[Program Folder0]
-Timing=post smartupdate
-Show Folder=HIDE
-Program Folder=[Default Folder]
-
-[Program Folder0-Shortcut0]
-File=[SETUP PATH]\Uninstall\$UninstallFile$
-Arguments=/ua "$UserAgent$"
-Working Dir=[SETUP PATH]
-Description=Uninstall $ProductName$
-Icon Path=[SETUP PATH]\Uninstall\$UninstallFile$
-Icon Id=0
-
-; Default value:
-;    IGNORE
-;
-; Possible values:
-;    ONLY_RESTRICTED    - create shortcut only if user access is restricted
-;    ONLY_NONRESTRICTED - create shortcut only if user access is not restricted
-Restricted Access=ONLY_RESTRICTED
-
-;[Program Folder0-Shortcut1]
-;File=[SETUP PATH]\$MainExeFile$
-;Arguments=-ProfileManager
-;Working Dir=[SETUP PATH]
-;Description=Profile Manager
-;Icon Path=[SETUP PATH]\$MainExeFile$
-;Icon Id=0
-
-;[Program Folder0-Shortcut2]
-;File=[SETUP PATH]\bin\Net2fone.exe
-;Arguments=
-;Working Dir=[SETUP PATH]
-;Description=Net2Fone
-;Icon Path=[SETUP PATH]\bin\Net2fone.exe
-;Icon Id=0
-
-;[Program Folder1]
-;Timing=post download
-;Show Folder=SHOW
-;Program Folder=[Default Folder]\lala land
-
-;[Program Folder1-Shortcut0]
-;File=c:\bin\getver.exe
-;Arguments=
-;Working Dir=[TEMP]
-;Description=Getver Test
-;Icon Path=[WINDISK]\4nt\4nt.exe
-;Icon Id=0
-
-;[Program Folder1-Shortcut1]
-;File=c:\perl\bin\perl.exe
-;Arguments=
-;Working Dir=[WINSYS]
-;Description=Perl
-;Icon Path=c:\perl\bin\perl.exe
-;Icon Id=0
-
-[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.
-;*** LOCALIZE ME BABY ***
-Message NORMAL Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system.  It is highly recommended that you do not continue with the installation of $ProductName$, or it may not function properly.  Would you still like to continue?
-;*** LOCALIZE ME BABY ***
-Message AUTO Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system.  Setup cannot continue with the installation of $ProductName$.
-
-
-[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/build/win/mozilla/defaults_info.ini
+++ /dev/null
@@ -1,21 +0,0 @@
-; MCP
-
-; NOTE to L10n: the .lnk strings are the names of the shortcuts created by
-; each component listed as a section.  If the shortcut names have been
-;localized in their respective .jst file, then these must also be localized.
-[browser]
-ClientTypeName=StartMenuInternet
-ClientProductKey=mozilla.exe
-;*** LOCALIZE ME BABY ***
-DesktopShortcut0=Mozilla.lnk
-;*** LOCALIZE ME BABY ***
-QuickLaunchBarShortcut0=Mozilla.lnk
-
-[mail]
-ClientTypeName=Mail
-ClientProductKey=Mozilla
-;*** LOCALIZE ME BABY ***
-DesktopShortcut0=Mail.lnk
-;*** LOCALIZE ME BABY ***
-QuickLaunchBarShortcut0=Mail.lnk
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mozilla/install.it
+++ /dev/null
@@ -1,120 +0,0 @@
-[General]
-FONTNAME=MS Sans Serif
-FONTSIZE=8
-CHARSET=0
-;Here is a partial list CHAR_SETS
-;  ANSI_CHARSET = 0
-;  DEFAULT_CHARSET = 1
-;  SYMBOL_CHARSET = 2
-;  SHIFTJIS_CHARSET = 128
-;  GB2312_CHARSET = 134
-;  HANGEUL_CHARSET = 129
-;  CHINESEBIG5_CHARSET = 136
-;  OEM_CHARSET 255
-
-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
-PROGRAMFOLDER_=&Program Folder:
-EXISTINGFOLDERS_=E&xisting Folders:
-SETUPMESSAGE=Setup has finished copying files to your computer.  Before you can use the program, you must restart Windows 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
-CHECKED=Checked
-UNCHECKED=Unchecked
-
-EXTRACTING=Extracting...
-
-
-[Messages]
-
-ERROR_DIALOG_CREATE=Could not create %s dialog.
-ERROR_FAILED=%s failed.
-ERROR_FILE_NOT_FOUND=File not found: %s
-ERROR_GET_SYSTEM_DIRECTORY_FAILED=GetSystemDirectory() failed.
-ERROR_GET_WINDOWS_DIRECTORY_FAILED =GetWindowsDirectory() failed.
-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 Windows
-ERROR_GETPROCADDRESS=GetProcAddress() 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_CRUTIAL_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.
-STR_FILE_NUMBER=File count:
-STR_FILENAME=Filename:
-MSG_SMARTUPDATE_START=Preparing Install, please wait...
-MSG_CONFIGURING=Configuring %s, please wait...
-ERROR_XPI_INSTALL=Error occurred during installation
-ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required!  Exiting setup...
-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_PROGRAM_FOLDER_NAME=Invalid Program folder name entered.
-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_PROGRAM_FOLDER=Program Folder:
-STR_DELETING_DESTINATION_DIR=Deleting destination directory to be able to upgrade, please wait...
-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
-ERROR_GETVERSION=GetVersionEx() failed!
-
-STATUS_EXTRACTING=Extracting %s
-STATUS_LAUNCHING_SETUP=Launching Setup...
-ERROR_FILE_WRITE=Unable to write file %s
-TITLE=Installation
-ERROR_OUT_OF_MEMORY=Out of memory!
-
-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.
-
deleted file mode 100644
--- a/xpinstall/packager/build/win/mozilla/uninstall.it
+++ /dev/null
@@ -1,148 +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:
-;   PROGRAMFILESDIR
-;   WINDISK
-;   WINDIR
-;   WINSYSDIR
-;   COMMON_STARTUP
-;   COMMON_PROGRAMS
-;   COMMON_STARTMENU
-;   COMMON_DESKTOP
-;
-;   PERSONAL_STARTUP
-;   PERSONAL_PROGRAMS
-;   PERSONAL_STARTMENU
-;   PERSONAL_DESKTOP
-;
-;   PERSONAL_APPDATA
-;   PERSONAL_CACHE
-;   PERSONAL_COOKIES
-;   PERSONAL_FAVORITES
-;   PERSONAL_FONTS
-;   PERSONAL_HISTORY
-;   PERSONAL_NETHOOD
-;   PERSONAL_PERSONAL
-;   PERSONAL_PRINTHOOD (supported only under Windows NT)
-;   PERSONAL_RECENT
-;   PERSONAL_SENDTO
-;   PERSONAL_TEMPLATES
-;
-;   PROGRAMFILESDIR
-;   COMMONFILESDIR
-;   MEDIAPATH
-;   CONFIGPATH (supported only under Windows95 and Windows98)
-;   DEVICEPATH
-
-; This provides information on where in the Windows Registry to locate the Uninstall log files
-;
-Main Root Key=HKEY_LOCAL_MACHINE
-Main Key=[Product WinRegKey]
-Decrypt Main Key=TRUE
-
-Root Key=HKEY_LOCAL_MACHINE
-Key=[Product CurrentVersion]\Uninstall
-Decrypt Key=TRUE
-
-Uninstall Filename=$UninstallFile$
-Defaults Info Filename=defaults_info.ini
-
-[Check Instance0]
-Class Name=$ProductName$MessageWindow
-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 its turbo mode.
-Extra Cmd Reg Key Root=HKEY_LOCAL_MACHINE
-Extra Cmd Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\$MainExeFile$
-Extra Cmd Reg Name=
-Extra Cmd Parameter=-kill
-
-[Check Instance1]
-Class Name=MozillaMessageWindow
-Window Name=
-;*** LOCALIZE ME BABY ***
-Message=Mozilla is detected to be currently running.  Please quit Mozilla 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 Mozilla requires a way to shut down its turbo mode.
-Extra Cmd Reg Key Root=HKEY_LOCAL_MACHINE
-Extra Cmd Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Mozilla.exe
-Extra Cmd Reg Name=
-Extra Cmd Parameter=-kill
-
-[Dialog Uninstall]
-FONTNAME=MS Sans Serif
-FONTSIZE=8
-CHARSET=0
-;Here is a partial list CHAR_SETS
-;  ANSI_CHARSET = 0
-;  DEFAULT_CHARSET = 1
-;  SYMBOL_CHARSET = 2
-;  SHIFTJIS_CHARSET = 128
-;  GB2312_CHARSET = 134
-;  HANGEUL_CHARSET = 129
-;  CHINESEBIG5_CHARSET = 136
-;  OEM_CHARSET 255
-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=MozillaWindowClass
-;Window Name=
-;Message=Setup has detected that an instance of $ProductName$ (or Mozilla) is currently running.  Please quit $ProductName$ and Mozilla 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
-
-; This section attempts to cleanup the UnreadMail registry keys set up by mail.
-[Cleanup Mail 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
-ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required!  Exiting setup...
-MB_WARNING_STR=Warning
-ERROR_UNINSTALL_LOG_FOLDER=Uninstall log folder not found:%s
-MB_MESSAGE_STR=Message
-DLG_REMOVE_FILE_TITLE=Remove File?
-ERROR_GETVERSION=GetVersionEx() failed!
-
deleted file mode 100644
index a32a5676deb043ae3d3509047e8e04abb38512e3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 51ae857736bc4ff38af22e714d97edf8606fba2a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 93dbacbc8730cc128b0cc0278613758caeb7d661..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/xpinstall/packager/mac/ASEncoder/src/ASEncoderUsage.script
+++ /dev/null
@@ -1,90 +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) 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 ***** *)
-
---
--- Simple demo script of ASEncoder's usage from a a script component/client
--- 
--- Commands supported by ASEncoder:
---
-----------------------------------------
---        Required Suite:
-----------------------------------------
--- quit
---  Description: Quit ASEncoder (you can open it using activate)
---  Params: No params
---  Return value: No retval
---
-----------------------------------------
---        ASEncoder Suite:
-----------------------------------------
--- encode	
---  Description: Encode a file in AppleSingle format in place
---  Params: A file system specification
---  Return value: A success boolean (false also returned if file didn't have a res fork)
---			
--- decode	
---  Description: Decode an AppleSingle file in place
---  Params: A file system specification
---  Return value: A success boolean (false also returned if file wasn't in AS format)
---
-
-on run
-	set kTargetFile to "HD:genJS:ASEncoder"
-	set kTargetFolder to "HD:genJS"
-	tell application "ASEncoder"
-		activate
-		
-		-- pre-condition:  kTargetFile is set to a local un-encoded (containing a res fork) file
-		
-		-- encode should succeed
-		set bSuccess to encode file kTargetFolder
-		SUCCESS_MSG(kTargetFolder, "encode", bSuccess)
-		
-		-- post-condition: kTargetFile is a decoded (containing a res fork) file as it originally was
-		
-		quit
-	end tell
-end run
-
-on SUCCESS_MSG(target, method, retval)
-	
-	display dialog "ASEncoder's " & method & " command 
-					of file " & target & "
-					returned success value: " & retval
-	
-end SUCCESS_MSG
\ No newline at end of file
deleted file mode 100644
--- a/xpinstall/packager/mac/ASEncoder/src/FolderCodingUsage.script
+++ /dev/null
@@ -1,23 +0,0 @@
-on run
-	set kTargetFolder to "HD:genJS"
-	
-	tell application "ASEncoder"
-		activate
-		
-		set bSuccess to encode file kTargetFolder
-		if bSuccess then
-			display dialog "encode SUCCESS"
-		else
-			display dialog "encode FAILURE"
-		end if
-		
-		set bSuccess to decode file kTargetFolder
-		if bSuccess then
-			display dialog "decode SUCCESS"
-		else
-			display dialog "decode FAILURE"
-		end if
-		
-		quit
-	end tell
-end run
\ No newline at end of file
deleted file mode 100644
--- a/xpinstall/packager/mac/ASEncoder/src/nsASEApp.cpp
+++ /dev/null
@@ -1,332 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* ***** 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) 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 Versi