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]