From 68c74dea8a28c14fe9e354a8bbb8f84b38465646 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 8 Apr 2013 16:59:10 +0200 Subject: [PATCH] disable autoupdate and remove the Maintainance system --- CLIENT_DATA/local-settings.js | 2 ++ CLIENT_DATA/mozilla.cfg | 2 ++ CLIENT_DATA/setup32.ins | 6 ++++++ 3 files changed, 10 insertions(+) create mode 100644 CLIENT_DATA/local-settings.js create mode 100644 CLIENT_DATA/mozilla.cfg diff --git a/CLIENT_DATA/local-settings.js b/CLIENT_DATA/local-settings.js new file mode 100644 index 0000000..4d7abd3 --- /dev/null +++ b/CLIENT_DATA/local-settings.js @@ -0,0 +1,2 @@ +pref("general.config.obscure_value", 0); // only needed if you do not want to obscure the content with ROT-13 +pref("general.config.filename", "mozilla.cfg"); diff --git a/CLIENT_DATA/mozilla.cfg b/CLIENT_DATA/mozilla.cfg new file mode 100644 index 0000000..60ae5ce --- /dev/null +++ b/CLIENT_DATA/mozilla.cfg @@ -0,0 +1,2 @@ +lockPref("app.update.auto", false); +lockPref("app.update.enabled", false); diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index 4e20faf..a701a56 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -75,11 +75,17 @@ else endif + [Winbatch_install] +REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1 /f "$InstallExe$" -ms +"%ProgramFiles32Dir%\Mozilla Maintenance Service\uninstall.exe" /S [Files_install] +; copy the ini file to the InstallDir copy "$IniCfgFile$" "$InstallDir$" +copy "%ScriptPath%\*.cfg" "$InstallDir$" +copy "%ScriptPath%\local-settings.js" "$InstallDir$\defaults\pref" copy -s "%ScriptPath%\X86\*.xpi" "$InstallDir$\distribution\extensions" [Registry_install]