mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 370574: Remove unused xpinstall installer bits. r=bsmedberg
This commit is contained in:
parent
251bba5a9d
commit
cc9d20f78b
@ -47,8 +47,6 @@ ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
cp $(srcdir)/firefox.ico $(DIST)/branding/app.ico
|
||||
cp $(srcdir)/Header.bmp $(DIST)/branding/Header.bmp
|
||||
cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
|
||||
cp $(srcdir)/branding.nsi $(DIST)/branding/branding.nsi
|
||||
cp $(srcdir)/wizHeader.bmp $(DIST)/branding/wizHeader.bmp
|
||||
cp $(srcdir)/wizHeaderRTL.bmp $(DIST)/branding/wizHeaderRTL.bmp
|
||||
|
@ -1,6 +0,0 @@
|
||||
cd 7zstage
|
||||
7z a -t7z ..\7z\app.7z *.* -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3
|
||||
cd ..\7z
|
||||
upx --best 7zSD.sfx
|
||||
copy /b 7zSD.sfx+app.tag+app.7z SetupGeneric.exe
|
||||
cd ..
|
Binary file not shown.
Before Width: | Height: | Size: 176 KiB |
@ -121,8 +121,6 @@ include $(topsrcdir)/toolkit/mozapps/installer/windows/nsis/makensis.mk
|
||||
export::
|
||||
ifndef MOZ_BRANDING_DIRECTORY
|
||||
$(NSINSTALL) -D $(DIST)/branding
|
||||
cp $(srcdir)/Header.bmp $(DIST)/branding/Header.bmp
|
||||
cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
|
||||
cp $(srcdir)/nsis/branding.nsi $(DIST)/branding/branding.nsi
|
||||
cp $(srcdir)/wizHeader.bmp $(DIST)/branding/wizHeader.bmp
|
||||
cp $(srcdir)/wizHeaderRTL.bmp $(DIST)/branding/wizHeaderRTL.bmp
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.4 MiB |
@ -1,433 +0,0 @@
|
||||
#filter substitution
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var fProgram;
|
||||
var platformNode;
|
||||
var searchPlugins = "searchplugins";
|
||||
var restrictedAccess;
|
||||
|
||||
function registerProgramFolderKey(winreg, fFolderPath)
|
||||
{
|
||||
var subkey;
|
||||
var err;
|
||||
var szCurrentMozillaVersion;
|
||||
|
||||
/* 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$\\Mozilla";
|
||||
szCurrentMozillaVersion = winreg.getValueString(subkey, "CurrentVersion");
|
||||
logComment("szCurrentMozillaVersion: " + szCurrentMozillaVersion);
|
||||
|
||||
if((szCurrentMozillaVersion == "") || (szCurrentMozillaVersion == null))
|
||||
{
|
||||
// A Mozilla\CurrentVersion key must be set so that Java can work.
|
||||
// (bug 229627)
|
||||
subkey = "SOFTWARE\\$CompanyName$\\Mozilla";
|
||||
winreg.createKey(subkey,"");
|
||||
err = winreg.setValueString(subkey, "CurrentVersion", "$GreVersion$");
|
||||
}
|
||||
|
||||
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 szFolderAppData;
|
||||
var winreg;
|
||||
var fTemp;
|
||||
var fProgram;
|
||||
var fDefShortcuts;
|
||||
var fileExe;
|
||||
var scExeDesc;
|
||||
var scFolderName;
|
||||
var fFolderDesktop;
|
||||
var fFolderPrograms;
|
||||
var fFolderProgramsStr;
|
||||
var fFolderQuickLaunch;
|
||||
var is_winnt;
|
||||
var szCurrentVersion;
|
||||
var folderQuickLaunchExists;
|
||||
|
||||
winreg = getWinRegistry();
|
||||
fProgram = getFolder("Program");
|
||||
fDefShortcuts = getFolder("Program","defaults/shortcuts");
|
||||
fTemp = fProgram + "$MainExeFile$";
|
||||
fileExe = getFolder("file:///", fTemp);
|
||||
scExeDesc = "$ProductName$";
|
||||
scFolderName = "$ProductName$";
|
||||
scSafeModeDesc = "$ProductName$ (Safe Mode)";
|
||||
scSafeModeParam = "-safe-mode";
|
||||
|
||||
if (winreg) {
|
||||
// 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);
|
||||
is_winnt = szCurrentVersion != "";
|
||||
logComment("is_winnt value: " + is_winnt);
|
||||
|
||||
// Locate the various folders we're about to install shortcuts into.
|
||||
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");
|
||||
}
|
||||
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");
|
||||
}
|
||||
|
||||
// Locate the Start Menu Programs Folder
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
subkey = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
|
||||
fFolderProgramsStr = winreg.getValueString(subkey, "Program Folder Path");
|
||||
fFolderPrograms = getFolder("file:///", fFolderProgramsStr || szStartMenuPrograms);
|
||||
|
||||
// Locate the Desktop Folder
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
fFolderDesktop = getFolder("file:///", szFolderDesktop);
|
||||
|
||||
// Locate the Quick Launch folder
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
|
||||
szFolderAppData = winreg.getValueString(subkey, "AppData");
|
||||
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(fFolderPrograms);
|
||||
if(folderQuickLaunchExists)
|
||||
fFolderQuickLaunch = getFolder("file:///", szFolderQuickLaunch);
|
||||
}
|
||||
logComment("folderQuickLaunchExists: " + folderQuickLaunchExists);
|
||||
|
||||
logComment("Folder StartMenuPrograms: " + szStartMenuPrograms);
|
||||
logComment("Folder StartMenu : " + szStartMenu);
|
||||
logComment("Folder FolderDesktop : " + szFolderDesktop);
|
||||
logComment("Folder FolderQuickLaunch: " + szFolderQuickLaunch);
|
||||
logComment("fileExe : " + fileExe);
|
||||
logComment("fFolderPrograms : " + fFolderPrograms);
|
||||
logComment("scExeDesc : " + scExeDesc);
|
||||
logComment("fProgram : " + fProgram);
|
||||
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
subkey = "SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main";
|
||||
|
||||
// Explicitly create the fFolderPrograms even though the windowsShortcut
|
||||
// function creates the folder. This is so that the folder creation gets
|
||||
// logged for uninstall to remove it.
|
||||
|
||||
// Only create the Start Menu folder if the user selected start menu icons
|
||||
if (winreg.getValueNumber(subkey, "Create Start Menu Shortcut") != 0 && !File.exists(fFolderPrograms))
|
||||
File.dirCreate(fFolderPrograms);
|
||||
|
||||
// Always create default shortcuts folder
|
||||
if (!File.exists(fDefShortcuts))
|
||||
File.dirCreate(fDefShortcuts);
|
||||
|
||||
// Create the Shortcuts
|
||||
if (winreg.getValueNumber(subkey, "Create Desktop Shortcut") != 0)
|
||||
File.windowsShortcut(fileExe, fFolderDesktop, scExeDesc, fProgram, "", fileExe, 0);
|
||||
if (winreg.getValueNumber(subkey, "Create Start Menu Shortcut") != 0) {
|
||||
File.windowsShortcut(fileExe, fFolderPrograms, scExeDesc, fProgram, "", fileExe, 0);
|
||||
File.windowsShortcut(fileExe, fFolderPrograms, scSafeModeDesc, fProgram, scSafeModeParam, fileExe, 0);
|
||||
}
|
||||
if (winreg.getValueNumber(subkey, "Create Quick Launch Shortcut") != 0 && folderQuickLaunchExists)
|
||||
File.windowsShortcut(fileExe, fFolderQuickLaunch, scExeDesc, fProgram, "", fileExe, 0);
|
||||
// Always create the default shortcuts.
|
||||
File.windowsShortcut(fileExe, fDefShortcuts, scExeDesc, fProgram, "", fileExe, 0);
|
||||
File.windowsShortcut(fileExe, fDefShortcuts, scSafeModeDesc, fProgram, scSafeModeParam, fileExe, 0);
|
||||
|
||||
if(!restrictedAccess) {
|
||||
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
|
||||
registerProgramFolderKey(winreg, fFolderPrograms);
|
||||
|
||||
// This is so that Windows Media Player works with us
|
||||
var subkey = "SOFTWARE\\Microsoft\\MediaPlayer\\ShimInclusionList\\$MainExeFile$";
|
||||
winreg.createKey(subkey, "");
|
||||
}
|
||||
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
registerProgramFolderKey(winreg, fFolderPrograms);
|
||||
}
|
||||
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);
|
||||
|
||||
return szCurrentVersion != "";
|
||||
}
|
||||
|
||||
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\\uninstall.exe\" /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\\uninstall.exe\" /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);
|
||||
|
||||
// XPInstall content type mappings.
|
||||
subkey = "SOFTWARE\\Classes\\MIME\\Database\\Content Type\\application/x-xpinstall;app=firefox"
|
||||
winreg.createKey(subkey, "");
|
||||
winreg.setValueString(subkey, "Extension", ".xpi");
|
||||
}
|
||||
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
registerMainKeys(winreg);
|
||||
}
|
||||
|
||||
// Now clean up Uninstall entries that may be laying around in the
|
||||
// registry for older versions of the software that we're overwriting/
|
||||
// upgrading...
|
||||
var wr = getWinRegistry();
|
||||
wr.setRootKey(wr.HKEY_LOCAL_MACHINE);
|
||||
var i = 0;
|
||||
const uninstallKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall";
|
||||
do {
|
||||
var key = wr.enumKeys(uninstallKey, i++);
|
||||
if (!key)
|
||||
break;
|
||||
key = uninstallKey + "\\" + key;
|
||||
|
||||
// For us to remove the entry from the ARP uninstall list, the install
|
||||
// folder paths must *match* and the display version strings must *NOT
|
||||
// MATCH* - i.e. we don't want to remove the entry we just created for
|
||||
// this version.
|
||||
var itemInstallFolder = wr.getValueString(key, "InstallLocation");
|
||||
var thisInstallFolder = wr.getValueString("SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main",
|
||||
"Install Directory");
|
||||
var itemInstallFolderShortName = File.windowsGetShortName(getFolder("file:///", itemInstallFolder));
|
||||
var thisInstallFolderShortName = File.windowsGetShortName(getFolder("file:///", thisInstallFolder));
|
||||
|
||||
var itemDisplayVersion = wr.getValueString(key, "DisplayVersion");
|
||||
var thisDisplayVersion = "$UserAgent$";
|
||||
|
||||
// It is possible that a user might have installed several products into
|
||||
// the same directory that have the same "DisplayVersion" (e.g. "1.0")...
|
||||
// in this case we don't want to trash the Uninstall info for the others
|
||||
// so we have to be sure to make sure Comment matches... we use Comment
|
||||
// instead of DisplayName since DisplayName varies from version to version
|
||||
// as it contains the version number, and this instance of javascript is
|
||||
// crippled so as not to contain any useful string parsing.
|
||||
var itemComment = wr.getValueString(key, "Comment");
|
||||
var thisComment = "$ProductName$";
|
||||
|
||||
if ((itemComment == thisComment || itemComment == "The Browser, Reloaded.") &&
|
||||
itemInstallFolderShortName == thisInstallFolderShortName &&
|
||||
thisDisplayVersion != itemDisplayVersion &&
|
||||
wr.isKeyWritable(key)) {
|
||||
wr.deleteKey(key);
|
||||
logComment("Removing obsolete uninstall key with upgrade: " + key);
|
||||
}
|
||||
}
|
||||
while (true);
|
||||
}
|
||||
|
||||
logComment("initInstall: platformNode=" + platformNode);
|
||||
// end
|
||||
// end - OS type detection
|
||||
|
||||
var chromeNode = "@AB_CD@";
|
||||
|
||||
var regName = "locales/mozilla/" + chromeNode;
|
||||
var chromeName = chromeNode + ".jar";
|
||||
var localeName = "locale/" + chromeNode + "/";
|
||||
|
||||
srDest = $SpaceRequired$:bin;
|
||||
err = initInstall("@AB_CD@ Langpack", "@AB_CD@", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
fProgram = getFolder("Program");
|
||||
logComment("fProgram: " + fProgram);
|
||||
|
||||
if(verifyDiskSpace(fProgram, srDest))
|
||||
{
|
||||
var chromeType = LOCALE;
|
||||
var fTarget;
|
||||
|
||||
err = addDirectory("",
|
||||
"bin", // dir name in jar to extract
|
||||
fProgram, // Where to put this file (Returned from GetFolder)
|
||||
""); // Force Flag
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
setPackageFolder(fProgram);
|
||||
|
||||
// check return value
|
||||
if (err == SUCCESS)
|
||||
{
|
||||
fTarget = getFolder("Program", "defaults");
|
||||
logComment("fTarget: " + fTarget);
|
||||
err = addDirectory("",
|
||||
"bin/defaults", // dir name in jar to extract
|
||||
fTarget, // Where to put this file (Returned from GetFolder)
|
||||
""); // subdir name to create relative to fProgram
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
fTarget = getFolder("Program", searchPlugins);
|
||||
logComment("fTarget: " + fTarget);
|
||||
err = addDirectory("",
|
||||
"bin/searchplugins", // dir name in jar to extract
|
||||
fTarget, // Where to put this file (Returned from GetFolder)
|
||||
""); // subdir name to create relative to fProgram
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
updateWinReg();
|
||||
createShortcuts();
|
||||
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
{
|
||||
cancelInstall(err);
|
||||
logComment("cancelInstall due to error: " + err);
|
||||
}
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
// end main
|
@ -1,14 +0,0 @@
|
||||
var err = initInstall("Developer Tools", "Developer Tools", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
// DOM Inspector
|
||||
var fProgram = getFolder("Program");
|
||||
logComment("fProgram: " + fProgram);
|
||||
|
||||
err = addDirectory("", "$Version$", "bin", fProgram, "", true);
|
||||
logComment("addDirectory: " + err);
|
||||
|
||||
if (err==SUCCESS)
|
||||
performInstall();
|
||||
else
|
||||
cancelInstall(err);
|
@ -1,174 +0,0 @@
|
||||
function copyFlashXPT()
|
||||
{
|
||||
/*
|
||||
* Check if Netscape Navigator (pre 6.0) is installed and if the
|
||||
* flash player is installed in Netscape's plugin folder. If it is,
|
||||
* try to copy the flashplayer.xpt file into our plugins folder to
|
||||
* make ensure that flash is scriptable if we're using it from
|
||||
* Netscape's plugins folder.
|
||||
*/
|
||||
|
||||
var winreg = getWinRegistry();
|
||||
|
||||
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
|
||||
var subkey = "Software\\Netscape\\Netscape Navigator";
|
||||
var nsver = winreg.getValueString(subkey, "CurrentVersion");
|
||||
|
||||
if (!nsver)
|
||||
return;
|
||||
|
||||
subkey += "\\" + nsver + "\\Main";
|
||||
|
||||
var navPluginsDir = winreg.getValueString(subkey, "Plugins Directory");
|
||||
|
||||
if (!navPluginsDir)
|
||||
return;
|
||||
|
||||
var navFlashXPT = getFolder("file:///", navPluginsDir + "\\flashplayer.xpt");
|
||||
|
||||
if (!File.exists(navFlashXPT))
|
||||
return;
|
||||
|
||||
var target = getFolder("file:///", fProgram + "\\plugins\\flashplayer.xpt");
|
||||
|
||||
// Copy the file flashplayer.xpt from Netscape's plugin directory to
|
||||
// Firefox's plugin directory.
|
||||
File.copy(navFlashXPT, target);
|
||||
|
||||
logComment("Copied Flash xpt file from '" + navFlashXPT + "' to '" + target +
|
||||
"'");
|
||||
}
|
||||
|
||||
function copyQuickTimeXPT()
|
||||
{
|
||||
/*
|
||||
* Check if QuickTime is installed and copy
|
||||
* nsIQTScriptablePlugin.xpt from its plugins directory into our
|
||||
* plugins directory. If we don't do this, QuickTime will load in
|
||||
* Firefox, but it won't be scriptable.
|
||||
*/
|
||||
|
||||
var winreg = getWinRegistry();
|
||||
|
||||
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
|
||||
var subkey = "Software\\Apple Computer, Inc.\\QuickTime";
|
||||
var qtdir = winreg.getValueString(subkey, "InstallDir");
|
||||
|
||||
if (!qtdir)
|
||||
return;
|
||||
|
||||
var qtXPT = getFolder("file:///",
|
||||
qtdir + "\\Plugins\\nsIQTScriptablePlugin.xpt");
|
||||
|
||||
if (!File.exists(qtXPT))
|
||||
return;
|
||||
|
||||
var target = getFolder("file:///",
|
||||
fProgram + "\\plugins\\nsIQTScriptablePlugin.xpt");
|
||||
|
||||
// Copy the file nsIQTScriptablePlugin.xpt from the QuickTime
|
||||
// installation directory to Firefox's plugin directory.
|
||||
File.copy(qtXPT, target);
|
||||
|
||||
logComment("Copied QuickTime xpt file from '" + qtXPT + "' to '" + target +
|
||||
"'");
|
||||
}
|
||||
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var err2;
|
||||
var fProgram;
|
||||
var fWindowsSystem;
|
||||
var fileComponentRegStr;
|
||||
var fileComponentReg;
|
||||
var fileToRegister;
|
||||
var args;
|
||||
|
||||
args = new String(Install.arguments);
|
||||
logComment("args: " + args);
|
||||
|
||||
srDest = $SpaceRequired$:bin;
|
||||
err = initInstall("$ProductName$", "Firefox", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
fProgram = getFolder("Program");
|
||||
fWindowsSystem = getFolder("Win System");
|
||||
logComment("fProgram: " + fProgram);
|
||||
|
||||
if(verifyDiskSpace(fProgram, srDest))
|
||||
{
|
||||
setPackageFolder(fProgram);
|
||||
|
||||
removeOldFiles();
|
||||
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);
|
||||
|
||||
// we don't want to fail on errors for the above two
|
||||
resetError();
|
||||
|
||||
// Create the uninstall folder.
|
||||
err = File.dirCreate(getFolder("Program", "uninstall"));
|
||||
logComment("dirCreate() of Program/uninstall returned: " + err);
|
||||
|
||||
copyFlashXPT();
|
||||
copyQuickTimeXPT();
|
||||
|
||||
/* 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 + "components\\Netscape");
|
||||
logComment("Create Folder: " + fProgram + "components\\Netscape\\MozillaTrunk");
|
||||
logComment("Installing: " + fProgram + "components\\Netscape\\MozillaTrunk\\manifest.ini");
|
||||
logComment("Installing: " + fProgram + "components\\Netscape\\MozillaTrunk\\permdata.box");
|
||||
logComment("Installing: " + fProgram + "components\\Netscape\\MozillaTrunk\\Talkback.ini");
|
||||
logComment("Create Folder: " + fProgram + "chrome");
|
||||
logComment("Create Folder: " + fProgram + "uninstall");
|
||||
logComment("Installing: " + fProgram + "active-update.xml");
|
||||
logComment("Installing: " + fProgram + "updates.xml");
|
||||
logComment("Installing: " + fProgram + "last-update.log");
|
||||
logComment("Create Folder: " + fProgram + "updates");
|
||||
|
||||
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
|
@ -1,28 +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
|
||||
|
||||
addDirectory("Chatzilla Icons",
|
||||
"bin/chrome/icons", // jar source folder
|
||||
getFolder("Chrome", "icons"), // target folder
|
||||
""); // target subdir
|
||||
|
||||
registerChrome(PACKAGE | 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);
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,18 +0,0 @@
|
||||
var err = initInstall("Mozilla Editor", "Editor", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
var communicatorFolder = getFolder("Communicator");
|
||||
logComment("communicatorFolder: " + communicatorFolder);
|
||||
|
||||
err = addDirectory("Program",
|
||||
"$Version$",
|
||||
"bin", // fileName in jar,
|
||||
communicatorFolder, // Where to put this file (Returned from getFolder)
|
||||
"", // fileName in jar,
|
||||
true); // Force Flag
|
||||
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
|
@ -1,49 +0,0 @@
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var fDesktop;
|
||||
var szFolderDesktop;
|
||||
|
||||
srDest = $SpaceRequired$;
|
||||
err = initInstall("Mozilla Installer", "/mozilla.org/Mozilla Installer", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
// Find the current user's desktop
|
||||
winreg = getWinRegistry();
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
|
||||
valname = "Desktop";
|
||||
szFolderDesktop = winreg.getValueString(subkey, valname);
|
||||
|
||||
fDesktop = getFolder("file:///", szFolderDesktop);
|
||||
logComment("Desktop location: " + fDesktop);
|
||||
|
||||
if(verifyDiskSpace(fDesktop, srDest))
|
||||
{
|
||||
setPackageFolder(fDesktop);
|
||||
|
||||
err = addFile("",
|
||||
"",
|
||||
"mozilla-win32-stub-installer.exe", // dir name in jar to extract
|
||||
fDesktop, // Where to put this file (Returned from getFolder)
|
||||
""); // subdir name to create relative to fProgram
|
||||
|
||||
logComment("addFile() returned: " + err);
|
||||
|
||||
err = execute("mozilla-win32-stub-installer.exe", "", false);
|
||||
logComment("execute() returned: " + err);
|
||||
|
||||
// check return value
|
||||
if(err==SUCCESS)
|
||||
{
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
// end main
|
||||
|
@ -1,49 +0,0 @@
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var fDesktop;
|
||||
var szFolderDesktop;
|
||||
|
||||
srDest = $SpaceRequired$;
|
||||
err = initInstall("Firefox Installer", "/mozilla.org/Firefox Installer", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
// Find the current user's desktop
|
||||
winreg = getWinRegistry();
|
||||
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
|
||||
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
|
||||
valname = "Desktop";
|
||||
szFolderDesktop = winreg.getValueString(subkey, valname);
|
||||
|
||||
fDesktop = getFolder("file:///", szFolderDesktop);
|
||||
logComment("Desktop location: " + fDesktop);
|
||||
|
||||
if(verifyDiskSpace(fDesktop, srDest))
|
||||
{
|
||||
setPackageFolder(fDesktop);
|
||||
|
||||
err = addFile("",
|
||||
"",
|
||||
"FirefoxNetSetup.exe", // dir name in jar to extract
|
||||
fDesktop, // Where to put this file (Returned from getFolder)
|
||||
""); // subdir name to create relative to fProgram
|
||||
|
||||
logComment("addFile() returned: " + err);
|
||||
|
||||
err = execute("FirefoxNetSetup.exe", "", false);
|
||||
logComment("execute() returned: " + err);
|
||||
|
||||
// check return value
|
||||
if(err==SUCCESS)
|
||||
{
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
// end main
|
||||
|
@ -1,24 +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(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);
|
@ -1,110 +0,0 @@
|
||||
#filter substitution
|
||||
AB_CD=@AB_CD@
|
||||
LANGPACK_TITLE=@LANGPACK_TITLE@
|
||||
SETUP_TITLE=@SETUP_TITLE@
|
||||
SETUP_WELCOME=@SETUP_WELCOME@
|
||||
SETUP_MESSAGE0=@SETUP_MESSAGE0@
|
||||
SETUP_MESSAGE1=@SETUP_MESSAGE1@
|
||||
SETUP_MESSAGE2=@SETUP_MESSAGE2@
|
||||
SETUP_MESSAGE3=@SETUP_MESSAGE3@
|
||||
LICENSE_TITLE=@LICENSE_TITLE@
|
||||
LICENSE_SUBTITLE=@LICENSE_SUBTITLE@
|
||||
LICENSE_MESSAGE0=@LICENSE_MESSAGE0@
|
||||
LICENSE_ACCEPT=@LICENSE_ACCEPT@
|
||||
LICENSE_DECLINE=@LICENSE_DECLINE@
|
||||
SETUP_TYPE_TITLE=@SETUP_TYPE_TITLE@
|
||||
SETUP_TYPE_SUBTITLE=@SETUP_TYPE_SUBTITLE@
|
||||
SETUP_TYPE_MESSAGE0=@SETUP_TYPE_MESSAGE0@
|
||||
TYPE_STANDARD=@TYPE_STANDARD@
|
||||
TYPE_STANDARD_DESC=@TYPE_STANDARD_DESC@
|
||||
TYPE_CUSTOM=@TYPE_CUSTOM@
|
||||
TYPE_CUSTOM_DESC=@TYPE_CUSTOM_DESC@
|
||||
SELECT_TITLE=@SELECT_TITLE@
|
||||
SELECT_SUBTITLE=@SELECT_SUBTITLE@
|
||||
SELECT_MESSAGE0=@SELECT_MESSAGE0@
|
||||
LOCATION_TITLE=@LOCATION_TITLE@
|
||||
LOCATION_SUBTITLE=@LOCATION_SUBTITLE@
|
||||
LOCATION_MESSAGE0=@LOCATION_MESSAGE0@
|
||||
UPGRADE_TITLE=@UPGRADE_TITLE@
|
||||
UPGRADE_SUBTITLE=@UPGRADE_SUBTITLE@
|
||||
UPGRADE_CLEANUP=@UPGRADE_CLEANUP@
|
||||
UPGRADE_CLEAN=@UPGRADE_CLEAN@
|
||||
UPGRADE_CLEAN_MSG=@UPGRADE_CLEAN_MSG@
|
||||
UPGRADE_OVER=@UPGRADE_OVER@
|
||||
UPGRADE_OVER_WINDIR=@UPGRADE_OVER_WINDIR@
|
||||
ADD_TITLE=@ADD_TITLE@
|
||||
ADD_MESSAGE0=@ADD_MESSAGE0@
|
||||
WININT_TITLE=@WININT_TITLE@
|
||||
WININT_SUBTITLE=@WININT_SUBTITLE@
|
||||
WININT_MESSAGE0=@WININT_MESSAGE0@
|
||||
WININT_DESKTOP=@WININT_DESKTOP@
|
||||
WININT_START=@WININT_START@
|
||||
WININT_QUICKL=@WININT_QUICKL@
|
||||
WININT_PFOLDER_TITLE=@WININT_PFOLDER_TITLE@
|
||||
WININT_PFOLDER_MESSAGE0=@WININT_PFOLDER_MESSAGE0@
|
||||
ADDL_OPTIONS_TITLE=@ADDL_OPTIONS_TITLE@
|
||||
ADDL_OPTIONS_MSG1=@ADDL_OPTIONS_MSG1@
|
||||
ADV_SETTINGS_TITLE=@ADV_SETTINGS_TITLE@
|
||||
ADV_SETTINGS_MSG=@ADV_SETTINGS_MSG@
|
||||
START_TITLE=@START_TITLE@
|
||||
START_SUBTITLE=@START_SUBTITLE@
|
||||
START_INSTALL=@START_INSTALL@
|
||||
START_DOWNLOAD=@START_DOWNLOAD@
|
||||
START_MESSAGE0=@START_MESSAGE0@
|
||||
DL_TITLE=@DL_TITLE@
|
||||
DL_SUBTITLE=@DL_SUBTITLE@
|
||||
DL_BLURB=@DL_BLURB@
|
||||
DL_FILENAME=@DL_FILENAME@
|
||||
DL_TIMELEFT=@DL_TIMELEFT@
|
||||
INSTALL_TITLE=@INSTALL_TITLE@
|
||||
INSTALL_SUBTITLE=@INSTALL_SUBTITLE@
|
||||
INSTALL_BLURB=@INSTALL_BLURB@
|
||||
INSTALL_STATUSFILE=@INSTALL_STATUSFILE@
|
||||
INSTALL_STATUSCOMP=@INSTALL_STATUSCOMP@
|
||||
COMPLETE_TITLE=@COMPLETE_TITLE@
|
||||
COMPLETE_TITLE=@COMPLETE_TITLE@
|
||||
COMPLETE_MESSAGE0=@COMPLETE_MESSAGE0@
|
||||
COMPLETE_MESSAGE1=@COMPLETE_MESSAGE1@
|
||||
COMPLETE_LAUNCH=@COMPLETE_LAUNCH@
|
||||
DL2_TITLE=@DL2_TITLE@
|
||||
DL2_MESSAGE0=@DL2_MESSAGE0@
|
||||
DL2_RETRY=@DL2_RETRY@
|
||||
CLOSE_CHECK=@CLOSE_CHECK@
|
||||
CLOSE_CHECK2=@CLOSE_CHECK2@
|
||||
CLOSE_WAIT=@CLOSE_WAIT@
|
||||
XPCOM_SHORT=@XPCOM_SHORT@
|
||||
XPCOM_SHORT=@XPCOM_SHORT@
|
||||
BROWSER_SHORT=@BROWSER_SHORT@
|
||||
BROWSER_SHORT=@BROWSER_SHORT@
|
||||
ADT_SHORT=@ADT_SHORT@
|
||||
ADT_LONG=@ADT_LONG@
|
||||
HELP_SHORT=@HELP_SHORT@
|
||||
UNINSTALL_SHORT=@UNINSTALL_SHORT@
|
||||
RPT_SHORT=@RPT_SHORT@
|
||||
RPT_LONG=@RPT_LONG@
|
||||
QFA_SHORT=@QFA_SHORT@
|
||||
QFA_LONG=@QFA_LONG@
|
||||
CORE_PREPARING=@CORE_PREPARING@
|
||||
INST_UNINST=@INST_UNINST@
|
||||
MSG_UNFINISHED_DL=@MSG_UNFINISHED_DL@
|
||||
MSG_UNFINISHED_INSTALL=@MSG_UNFINISHED_INSTALL@
|
||||
MSG_CORRUPTED=@MSG_CORRUPTED@
|
||||
MSG_CORRUPTED_AUTO=@MSG_CORRUPTED_AUTO@
|
||||
MSG_TOO_MANY_CRC=@MSG_TOO_MANY_CRC@
|
||||
MSG_TOO_MANY_NETWORK=@MSG_TOO_MANY_NETWORK@
|
||||
MSG_VERIFYING=@MSG_VERIFYING@
|
||||
MSG_UNDEFINED=@MSG_UNDEFINED@
|
||||
MSG_OOM=@MSG_OOM@
|
||||
MSG_STATUS_DL=@MSG_STATUS_DL@
|
||||
MSG_STATUS_DL=@MSG_STATUS_DL@
|
||||
MSG_COMPLETED=@MSG_COMPLETED@
|
||||
MSG_REQUIRED=@MSG_REQUIRED@
|
||||
MSG_CANCELING=@MSG_CANCELING@
|
||||
MSG_ERROR_UNCOMPRESS=@MSG_ERROR_UNCOMPRESS@
|
||||
MSG_USAGE=@MSG_USAGE@
|
||||
MSG_USE_FTP=@MSG_USE_FTP@
|
||||
MSG_USE_HTTP=@MSG_USE_HTTP@
|
||||
MSG_SAVE_LOCALLY=@MSG_SAVE_LOCALLY@
|
||||
MSG_DL_PAUSED=@MSG_DL_PAUSED@
|
||||
MSG_NOT_ADMIN=@MSG_NOT_ADMIN@
|
||||
MSG_NOT_ADMIN_AUTO=@MSG_NOT_ADMIN_AUTO@
|
@ -1,15 +0,0 @@
|
||||
#filter substitution
|
||||
VersionLanguage = @AB_CD@
|
||||
NameCompany = Mozilla
|
||||
NameProduct = Minefield
|
||||
NameProductInternal = Minefield
|
||||
ShortNameProduct = Minefield
|
||||
VersionProduct = @MOZ_APP_VERSION@
|
||||
FileInstallerEXE = @PKG_BASENAME@.installer.exe
|
||||
FileInstallerMSI = @PKG_BASENAME@.installer.msi
|
||||
FileMainEXE = @MOZ_APP_NAME@.exe
|
||||
FileInstallerNETRoot = @PKG_BASENAME@.net-installer
|
||||
ComponentList = xpcom,browser,talkback,@AB_CD@,adt
|
||||
LicenseFile = browser/EULA
|
||||
7ZipSFXModule = other-licenses/7zstub/firefox/7zSD.sfx
|
||||
GREVersion = 1.9a1
|
@ -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
|
@ -1,4 +0,0 @@
|
||||
[Site Selector]
|
||||
Site0=$ArchiveUrl$
|
||||
Site1=$ArchiveUrl$
|
||||
|
@ -1,45 +0,0 @@
|
||||
function upgradeCleanup()
|
||||
{
|
||||
// Obsolete files from previous Netscape installation which
|
||||
// need to be cleaned up.
|
||||
deleteThisFile("Components", "l10n.ini");
|
||||
}
|
||||
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var communicatorFolder;
|
||||
|
||||
srDest = $SpaceRequired$;
|
||||
err = initInstall("Quality Feedback Utility", "Quality Feedback Utility", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
communicatorFolder = getFolder("Communicator");
|
||||
logComment("communicatorFolder: " + communicatorFolder);
|
||||
|
||||
if(verifyDiskSpace(communicatorFolder, srDest))
|
||||
{
|
||||
setPackageFolder(communicatorFolder);
|
||||
|
||||
upgradeCleanup();
|
||||
err = addDirectory("",
|
||||
"$Version$",
|
||||
"bin", // dir name in jar to extract
|
||||
communicatorFolder, // Where to put this file (Returned from getFolder)
|
||||
"", // subdir name to create relative to communicatorFolder
|
||||
true ); // Force Flag
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
// check return value
|
||||
if(!err)
|
||||
{
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
// end main
|
@ -1,158 +0,0 @@
|
||||
#filter substitution
|
||||
|
||||
[General]
|
||||
; Run Mode values:
|
||||
; Normal - Shows all dialogs. Requires user input.
|
||||
; Auto - Shows some dialogs, but none requiring user input. It will
|
||||
; automatically uninstall the product using default values.
|
||||
; Silent - Show no dialogs at all. It will uninstall product using default
|
||||
; values.
|
||||
Run Mode=Normal
|
||||
|
||||
Company Name=@BRAND_COMPANY_NAME@
|
||||
Product Name=@BRAND_PRODUCT_NAME@
|
||||
|
||||
; 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
|
||||
|
||||
[Check Instance0]
|
||||
Class Name=FirefoxMessageWindow
|
||||
Window Name=
|
||||
Process Name=firefox.exe
|
||||
Pretty Name=@BRAND_PRODUCT_NAME@
|
||||
Message=@UNINST_RUNNING@
|
||||
Message wait=@UNINST_SHUTDOWN@
|
||||
|
||||
; 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 it's turbo mode.
|
||||
Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE
|
||||
Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe
|
||||
Extra Cmd0 Reg Name=
|
||||
Extra Cmd0 Parameter=-kill
|
||||
|
||||
[Check Instance1]
|
||||
Class Name=Netscape6MessageWindow
|
||||
Window Name=
|
||||
Process Name=Netscp.exe
|
||||
Pretty Name=Netscape
|
||||
;*** LOCALIZE ME BABY ***
|
||||
Message=Netscape is detected to be currently running. Please quit Netscape before continuing. Click OK to exit Netscape automatically and proceed with uninstallation.
|
||||
;*** LOCALIZE ME BABY ***
|
||||
Message wait=Shutting down Netscape. Please wait...
|
||||
|
||||
; 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 Netscape 6 requires a way to shut down it's turbo mode.
|
||||
; This will stop at the first one that succeeds (key and file found).
|
||||
Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE
|
||||
Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Netscp6.exe
|
||||
Extra Cmd0 Reg Name=
|
||||
Extra Cmd0 Parameter=-kill
|
||||
|
||||
Extra Cmd1 Reg Key Root=HKEY_LOCAL_MACHINE
|
||||
Extra Cmd1 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\Netscp.exe
|
||||
Extra Cmd1 Reg Name=
|
||||
Extra Cmd1 Parameter=-kill
|
||||
|
||||
|
||||
[Dialog Uninstall]
|
||||
FONTNAME=@UNINST_FONT@
|
||||
FONTSIZE=@UNINST_FONTSIZE@
|
||||
CHARSET=@UNINST_CHARSET@
|
||||
Show Dialog=TRUE
|
||||
Title=@UNINST_TITLE@
|
||||
Message0=@UNINST_MESSAGE0@
|
||||
|
||||
Uninstall=@BTN_UNINST@
|
||||
Cancel=@BTN_CANCEL@
|
||||
Message1=@BTN_MESSAGE1@
|
||||
Message2=@BTN_MESSAGE2@
|
||||
FileName=@BTN_FILENAME@
|
||||
No=@BTN_NO@
|
||||
NoToAll=@BTN_NOTOALL@
|
||||
Yes=@BTN_YES@
|
||||
YesToAll=@BTN_YESTOALL@
|
||||
OK=@BTN_OK@
|
||||
|
||||
; 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=@ERROR_DLL_LOAD@
|
||||
ERROR_STRING_LOAD=@ERROR_STRING_LOAD@
|
||||
ERROR_STRING_NULL=@ERROR_STRING_NULL@
|
||||
ERROR_GLOBALALLOC=@ERROR_GLOBALALLOC@
|
||||
ERROR_FAILED=@ERROR_FAILED@
|
||||
ERROR_DIALOG_CREATE=@ERROR_DIALOG_CREATE@
|
||||
DLGQUITTITLE=@DLGQUITTITLE@
|
||||
DLGQUITMSG=@DLGQUITMSG@
|
||||
ERROR_GET_SYSTEM_DIRECTORY_FAILED=@ERROR_GET_SYSTEM_DIRECTORY_FAILED@
|
||||
ERROR_GET_WINDOWS_DIRECTORY_FAILED=@ERROR_GET_WINDOWS_DIRECTORY_FAILED@
|
||||
ERROR_CREATE_TEMP_DIR=@ERROR_CREATE_TEMP_DIR@
|
||||
ERROR_SETUP_REQUIREMENT=@ERROR_SETUP_REQUIREMENT@
|
||||
MB_WARNING_STR=@MB_WARNING_STR@
|
||||
ERROR_UNINSTALL_LOG_FOLDER=@ERROR_UNINSTALL_LOG_FOLDER@
|
||||
MB_MESSAGE_STR=@MB_MESSAGE_STR@
|
||||
DLG_REMOVE_FILE_TITLE=@DLG_REMOVE_FILE_TITLE@
|
||||
ERROR_GETVERSION=@ERROR_GETVERSION@
|
||||
MB_ATTENTION_STR=@MB_ATTENTION_STR@
|
||||
MSG_FORCE_QUIT_PROCESS=@MSG_FORCE_QUIT_PROCESS@
|
||||
MSG_FORCE_QUIT_PROCESS_FAILED=@MSG_FORCE_QUIT_PROCESS_FAILED@
|
||||
MSG_DELETE_INSTALLATION_PATH=@MSG_DELETE_INSTALLATION_PATH@
|
||||
MSG_INSTALLATION_PATH_WITHIN_WINDIR=@MSG_INSTALLATION_PATH_WITHIN_WINDIR@
|
||||
; Localize me!!
|
||||
MSG_UNINSTALL_COMPLETE=@BRAND_PRODUCT_NAME@ has been removed from your computer.
|
||||
MSG_UNINSTALL_SURVEY=Tell us what you thought of @BRAND_PRODUCT_NAME@.
|
@ -1,76 +0,0 @@
|
||||
#filter emptyLines
|
||||
|
||||
# This file is in the UTF-8 encoding
|
||||
|
||||
#define BRAND_COMPANY_NAME Mozilla
|
||||
#ifdef OFFICIAL_BRANDING
|
||||
#define BRAND_PRODUCT_NAME Mozilla Firefox
|
||||
#else
|
||||
#define BRAND_PRODUCT_NAME Minefield
|
||||
#endif
|
||||
|
||||
#ifdef OFFICIAL_BRANDING
|
||||
#define UNINST_RUNNING Mozilla Firefox is detected to be currently running. Please quit Mozilla Firefox before continuing. Click OK to exit Mozilla Firefox automatically and proceed with uninstallation.
|
||||
#define UNINST_SHUTDOWN Shutting down Mozilla Firefox. Please wait...
|
||||
#else
|
||||
#define UNINST_RUNNING Minefield is detected to be currently running. Please quit Minefield before continuing. Click OK to exit Minefield automatically and proceed with uninstallation.
|
||||
#define UNINST_SHUTDOWN Shutting down Minefield. Please wait...
|
||||
#endif
|
||||
#define UNINST_FONT MS Sans Serif
|
||||
#define UNINST_FONTSIZE 8
|
||||
#define UNINST_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
|
||||
|
||||
#ifdef OFFICIAL_BRANDING
|
||||
#define UNINST_TITLE Mozilla Firefox Uninstaller
|
||||
#else
|
||||
#define UNINST_TITLE Minefield Uninstaller
|
||||
#endif
|
||||
#define UNINST_MESSAGE0 Are you sure you want to completely remove %s and all of its components?
|
||||
#define BTN_UNINST &Uninstall
|
||||
#define BTN_CANCEL &Cancel
|
||||
#define BTN_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?
|
||||
#define BTN_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.
|
||||
#define BTN_FILENAME File name:
|
||||
#define BTN_NO &No
|
||||
#define BTN_NOTOALL N&o to all
|
||||
#define BTN_YES &Yes
|
||||
#define BTN_YESTOALL Y&es to all
|
||||
#define BTN_OK OK
|
||||
|
||||
#define ERROR_DLL_LOAD Could not load %s
|
||||
#define ERROR_STRING_LOAD Could not load string resource ID %d
|
||||
#define ERROR_STRING_NULL Null pointer encountered.
|
||||
#define ERROR_GLOBALALLOC Memory allocation error.
|
||||
#define ERROR_FAILED %s failed.
|
||||
#define ERROR_DIALOG_CREATE Could not create %s dialog.
|
||||
#define DLGQUITTITLE Question
|
||||
#define DLGQUITMSG Are you sure you want to cancel?
|
||||
#define ERROR_GET_SYSTEM_DIRECTORY_FAILED GetSystemDirectory() failed.
|
||||
#define ERROR_GET_WINDOWS_DIRECTORY_FAILED GetWindowsDirectory() failed.
|
||||
#define ERROR_CREATE_TEMP_DIR Uninstall was not able to create the TEMP directory: %s
|
||||
#define ERROR_SETUP_REQUIREMENT Windows95 or greater Operating System is required! Exiting Uninstall...
|
||||
#define MB_WARNING_STR Warning
|
||||
#define ERROR_UNINSTALL_LOG_FOLDER Uninstall log folder not found:%s
|
||||
#define MB_MESSAGE_STR Message
|
||||
#define DLG_REMOVE_FILE_TITLE Remove File?
|
||||
#define ERROR_GETVERSION GetVersionEx() failed!
|
||||
#define MB_ATTENTION_STR Attention
|
||||
#define MSG_FORCE_QUIT_PROCESS Uninstall has detected that %s (%s) is still running. Click OK to quit %s and proceed with uninstallation. Alternatively, use the Windows Task Manager to quit %s, and then click OK to continue with uninstallation.
|
||||
#define MSG_FORCE_QUIT_PROCESS_FAILED Uninstall will now exit. Uninstall could not continue because %s (%s) is still running. Try manually quitting %s using Windows Task Manager, and then run Uninstall again.
|
||||
#define MSG_DELETE_INSTALLATION_PATH Not all files were uninstalled from the installation directory:\n\n %s\n\nDo you want to completely delete this directory?
|
||||
#ifdef OFFICIAL_BRANDING
|
||||
#define MSG_INSTALLATION_PATH_WITHIN_WINDIR Uninstall has detected that the installation path of Mozilla Firefox is installed to a folder within your Windows folder. Uninstall will not attempt to delete this installation due to the potential removal of critical system files.
|
||||
#else
|
||||
#define MSG_INSTALLATION_PATH_WITHIN_WINDIR Uninstall has detected that the installation path of Minefield is installed to a folder within your Windows folder. Uninstall will not attempt to delete this installation due to the potential removal of critical system files.
|
||||
#endif
|
||||
|
||||
#unfilter emptyLines
|
@ -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(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/");
|
||||
|
||||
err = getLastError();
|
||||
if (err==SUCCESS)
|
||||
performInstall();
|
||||
else
|
||||
cancelInstall(err);
|
@ -1,101 +0,0 @@
|
||||
// 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);
|
||||
|
||||
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 )
|
||||
{
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
|
||||
// end main
|
||||
|
@ -47,8 +47,6 @@ ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
cp $(srcdir)/firefox.ico $(DIST)/branding/app.ico
|
||||
cp $(srcdir)/Header.bmp $(DIST)/branding/Header.bmp
|
||||
cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
|
||||
cp $(srcdir)/branding.nsi $(DIST)/branding/branding.nsi
|
||||
cp $(srcdir)/wizHeader.bmp $(DIST)/branding/wizHeader.bmp
|
||||
cp $(srcdir)/wizHeaderRTL.bmp $(DIST)/branding/wizHeaderRTL.bmp
|
||||
|
Loading…
Reference in New Issue
Block a user