From 826364ae7b7df3dc7497579e26012ab00470d76e Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 2 Apr 2013 19:07:50 +0200 Subject: [PATCH] Disable Mozilla update --- CLIENT_DATA/delsub32.ins | 1 + CLIENT_DATA/mozilla.cfg | 2 ++ CLIENT_DATA/setup32.ins | 6 ++---- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 CLIENT_DATA/mozilla.cfg diff --git a/CLIENT_DATA/delsub32.ins b/CLIENT_DATA/delsub32.ins index 3549085..849e613 100644 --- a/CLIENT_DATA/delsub32.ins +++ b/CLIENT_DATA/delsub32.ins @@ -39,6 +39,7 @@ comment "Delete program shortcuts" LinkFolder_uninstall [Winbatch_uninstall_old] +"%ProgramFiles32Dir%\Mozilla Maintenance Service\Uninstall.exe” /S /v”qn” "$UninstallProgramOld$" -ms [Winbatch_uninstall] 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 78b865d..5a8e7d9 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -76,15 +76,13 @@ else endif [Winbatch_install] +REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1 /f "$InstallExe$" -ms [Files_install] ; copy the ini file to the InstallDir copy "$IniCfgFile$" "$InstallDir$" - -; Example of recursively copying some files into the installation directory: -; -; copy -s "%ScriptPath%\files\*.*" "$InstallDir$" +copy -s "%ScriptPath%\*.cfg" "$InstallDir$" [Registry_install] ; Example of setting some values of an registry key: