From eedb8082808c18eb3164c278ff0eafd358c3598f Mon Sep 17 00:00:00 2001 From: Adam Thorn <alt36@cam.ac.uk> Date: Fri, 14 Feb 2020 14:01:07 +0000 Subject: [PATCH] Disable autoupdate in thunderbird --- thunderbird.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thunderbird.xml b/thunderbird.xml index 7dda1bb3..e24eede6 100755 --- a/thunderbird.xml +++ b/thunderbird.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <packages> -<package id="thunderbird" name="Mozilla Thunderbird" revision="%version%.1" reboot="false" priority="0"> +<package id="thunderbird" name="Mozilla Thunderbird" revision="%version%.2" reboot="false" priority="0"> <!-- NB: we've had problems with major version bumps which sometimes change the format of options we add in chemistry-prefs.js. Thus, we tie that to a version, and please test carefully when @@ -16,6 +16,7 @@ <install cmd='cmd /c copy "%software%\thunderbird\chemistry-prefs.js-%prefsversion%" "%programfileswpkg%\mozilla thunderbird\defaults\pref\chemistry-prefs.js" '/> <install cmd='cmd /c copy "%software%\thunderbird\cam.ac.uk.xml" "%programfileswpkg%\mozilla thunderbird\isp\cam.ac.uk.xml" '/> <install cmd='%software%\wpkg\tools\copydir.cmd "%software%\thunderbird\dictionaries" "%programfileswpkg%\mozilla thunderbird\dictionaries"' /> + <install cmd='reg add HKLM\SOFTWARE\Policies\Mozilla\Thunderbird /t reg_dword /v DisableAppUpdate /d 1 /f'/> <!-- although an in-place upgrade works, Thunderbird then insists on a reboot the next time one tries to start Thunderbird --> @@ -35,6 +36,7 @@ <remove cmd='cmd /c %software%\wpkg\tools\waitforprocess.cmd Au_.exe' /> <remove cmd='"%programfileswpkg%\Mozilla Thunderbird\uninstall\helper.exe" /S' /> <remove cmd='cmd /c %software%\wpkg\tools\waitforprocess.cmd Au_.exe' /> + <remove cmd='reg delete HKLM\SOFTWARE\Policies\Mozilla\Thunderbird /v DisableAppUpdate /f'/> </package> </packages> -- GitLab