From 07c3651e26a0c19727683724647b0a30e73e0584 Mon Sep 17 00:00:00 2001 From: Peter Singer Date: Mon, 8 Apr 2013 16:52:00 +0200 Subject: [PATCH] Auto updates and maintenance service disabled --- CLIENT_DATA/local-settings.js | 2 ++ CLIENT_DATA/setup32.ins | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 CLIENT_DATA/local-settings.js 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/setup32.ins b/CLIENT_DATA/setup32.ins index 5a8e7d9..2d92c9d 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -78,11 +78,13 @@ 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 -s "%ScriptPath%\*.cfg" "$InstallDir$" +copy "%ScriptPath%\*.cfg" "$InstallDir$" +copy "%ScriptPath%\local-settings.js" "$InstallDir$\defaults\pref" [Registry_install] ; Example of setting some values of an registry key: