mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
bug 244770 include sroaming in installer builds
patch by giacomo.magnini@portalis.it / trs80@tartarus.uwa.edu.au r=benb sr=neil
This commit is contained in:
parent
ab8e3e47e9
commit
7546caf9f5
@ -185,10 +185,6 @@ bin\components\mozldap.xpt
|
||||
bin\nsldap32v50.dll
|
||||
bin\nsldappr32v50.dll
|
||||
|
||||
; Roaming
|
||||
bin\components\sroaming.dll
|
||||
bin\chrome\sroaming.jar
|
||||
|
||||
;PSM related files
|
||||
bin\components\pippki.dll
|
||||
bin\components\pippki.xpt
|
||||
@ -381,6 +377,10 @@ bin\defaults\pref\inspector.js
|
||||
bin\res\inspector\viewer-registry.rdf
|
||||
bin\res\inspector\search-registry.rdf
|
||||
|
||||
[sroaming]
|
||||
bin\components\sroaming.dll
|
||||
bin\chrome\sroaming.jar
|
||||
|
||||
[spellcheck]
|
||||
bin\components\myspell.dll
|
||||
bin\components\spellchk.dll
|
||||
|
@ -255,11 +255,12 @@ C7=Component Venkman
|
||||
C8=Component US English Profile Defaults
|
||||
C9=Component En US lang pack
|
||||
C10=Component US region pack
|
||||
C11=Component DOM Inspector
|
||||
C12=Component SRoaming
|
||||
C13=Component RPT
|
||||
; Make sure Component QFA is LAST so 3rd party developers who might not want
|
||||
; this component can easily remove it.
|
||||
C11=Component DOM Inspector
|
||||
C12=Component QFA
|
||||
C13=Component RPT
|
||||
C14=Component QFA
|
||||
|
||||
[Setup Type2]
|
||||
;*** LOCALIZE ME BABY ***
|
||||
@ -283,11 +284,12 @@ C7=Component Venkman
|
||||
C8=Component US English Profile Defaults
|
||||
C9=Component En US lang pack
|
||||
C10=Component US region pack
|
||||
C11=Component DOM Inspector
|
||||
C12=Component SRoaming
|
||||
C13=Component RPT
|
||||
; Make sure Component QFA is LAST so 3rd party developers who might not want
|
||||
; this component can easily remove it.
|
||||
C11=Component DOM Inspector
|
||||
C12=Component QFA
|
||||
C13=Component RPT
|
||||
C14=Component QFA
|
||||
|
||||
|
||||
|
||||
@ -690,6 +692,17 @@ $InstallSizeArchive$:inspector.xpi
|
||||
Attributes=SELECTED|FORCE_UPGRADE
|
||||
Force Upgrade File0=[SETUP PATH]\chrome\inspector.jar
|
||||
|
||||
[Component SRoaming]
|
||||
Description Short=Roaming
|
||||
;*** LOCALIZE ME BABY ***
|
||||
Description Long=Profile Roaming
|
||||
Archive=sroaming.xpi
|
||||
$InstallSize$:sroaming
|
||||
$InstallSizeSystem$
|
||||
$InstallSizeArchive$:sroaming.xpi
|
||||
Attributes=SELECTED|FORCE_UPGRADE
|
||||
Force Upgrade File0=[SETUP PATH]\chrome\sroaming.jar
|
||||
|
||||
[Component US English Profile Defaults]
|
||||
Description Short=US English profile defaults
|
||||
;*** LOCALIZE ME BABY ***
|
||||
|
@ -219,7 +219,8 @@ if(!(-d "$gDirStageProduct"))
|
||||
"regus",
|
||||
"venkman",
|
||||
"inspector",
|
||||
"reporter");
|
||||
"reporter",
|
||||
"sroaming");
|
||||
|
||||
if(VerifyComponents()) # return value of 0 means no errors encountered
|
||||
{
|
||||
|
25
xpinstall/packager/windows/sroaming.jst
Normal file
25
xpinstall/packager/windows/sroaming.jst
Normal file
@ -0,0 +1,25 @@
|
||||
var err = initInstall("SRoaming v0.1", "Roaming", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
var fProgram = getFolder("Program");
|
||||
logComment("fProgram: " + fProgram);
|
||||
|
||||
err = addDirectory("", "$Version$", "bin", fProgram, "", true);
|
||||
logComment("addDirectory: " + err);
|
||||
|
||||
addFile("SRoaming Chrome",
|
||||
"bin/chrome/sroaming.jar", // jar source folder
|
||||
getFolder("Chrome"), // target folder
|
||||
""); // target subdir
|
||||
|
||||
var jarFolder = getFolder("Chrome", "sroaming.jar");
|
||||
registerChrome(CONTENT | DELAYED_CHROME, jarFolder, "content/sroaming/");
|
||||
registerChrome(LOCALE | DELAYED_CHROME, jarFolder, "locale/en-US/sroaming/");
|
||||
registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/modern/sroaming/");
|
||||
registerChrome(SKIN | DELAYED_CHROME, jarFolder, "skin/classic/sroaming/");
|
||||
|
||||
err = getLastError();
|
||||
if (err==SUCCESS)
|
||||
performInstall();
|
||||
else
|
||||
cancelInstall(err);
|
Loading…
x
Reference in New Issue
Block a user