disable autoupdate and remove the Maintainance system

This commit is contained in:
Mario Fetka 2013-04-08 16:59:10 +02:00
parent 99ad7e711c
commit 68c74dea8a
3 changed files with 10 additions and 0 deletions

View File

@ -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");

2
CLIENT_DATA/mozilla.cfg Normal file
View File

@ -0,0 +1,2 @@
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);

View File

@ -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]