Bug #238562 --> get DOM Inspector working as an optional component in the windows installer.

Add ADT xpi information to the windows installer
This commit is contained in:
scott%scott-macgregor.org 2004-03-24 23:31:22 +00:00
Родитель 0d8aa09ef4
Коммит b3c85debe1
4 изменённых файлов: 64 добавлений и 1 удалений

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

@ -0,0 +1,40 @@
var err = initInstall("Developer Tools", "Developer Tools", "$Version$");
logComment("initInstall: " + err);
// JavaScript Debugger
// 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(PACKAGE | 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/");
// DOM Inspector
var fProgram = getFolder("Program");
logComment("fProgram: " + fProgram);
err = addDirectory("", "$Version$", "thunderbird", fProgram, "", true);
logComment("addDirectory: " + err);
addFile("Inspector Command Line Handler",
"thunderbird/components/inspector-cmdline.js",
getFolder("Components"),
"");
var jarFolder = getFolder("Chrome", "inspector.jar");
registerChrome(PACKAGE | DELAYED_CHROME, jarFolder, "content/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);

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

@ -40,6 +40,17 @@ thunderbird\mozz.dll
[offline]
thunderbird\chrome\offline.jar
; [Additional Developer Tools]
[adt]
; [Document Inspector]
thunderbird\components\inspector-cmdline.js
thunderbird\components\inspector.dll
thunderbird\components\inspector.xpt
thunderbird\chrome\inspector.jar
thunderbird\defaults\pref\inspector.js
thunderbird\res\inspector\viewer-registry.rdf
thunderbird\res\inspector\search-registry.rdf
[mail]
thunderbird\xpicleanup.exe

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

@ -255,6 +255,7 @@ C3=Component US English Profile Defaults
C4=Component En US lang pack
C5=Component US region pack
C6=Component Offline
C7=Component ADT
; Make sure Component QFA is LAST so 3rd party developers who might not want
; this component can easily remove it.
; C8=Component QFA
@ -660,6 +661,17 @@ Attributes=FORCE_UPGRADE|VISIBLE
Force Upgrade File0=[SETUP PATH]\chrome\offline.jar
FileCount=$FileCount$
[Component ADT]
Description Short=Developer Tools
;*** LOCALIZE ME BABY ***
Description Long=Tools for web developers including the Document Inspector.
Archive=adt.xpi
$InstallSize$:adt
$InstallSizeArchive$:adt.xpi
Attributes=FORCE_UPGRADE|VISIBLE
Force Upgrade File0=[SETUP PATH]\chrome\inspector.jar
FileCount=$FileCount$
[Component Uninstaller]
Description Short=$CompanyName$ Uninstaller
;*** LOCALIZE ME BABY ***

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

@ -10,5 +10,5 @@ FileMainEXE = thunderbird.exe
FileUninstall = UninstallThunderbird.exe
FileUninstallZIP = UninstallThunderbird.zip
FileInstallerNETRoot = ThunderbirdNetSetup
ComponentList = xpcom,mail,deflenus,langenus,regus,offline
ComponentList = xpcom,mail,deflenus,langenus,regus,offline,adt
LicenseFile = mail/LICENSE.txt