Bug 1521007 - Follow-up: Set SupportUTF8 registry key to indicate that Thunderbird is supporting UTF-8 at the MAPISendMail API. r+a=jorgk
authorMike Kaganski <mikekaganski@gmail.com>
Sat, 19 Jan 2019 05:54:00 +0100
changeset 33103 b96e1949a0d5a1de17ef6617693863791019c539
parent 33102 2c97e77600fbe828bdf012098cd7dbab64a4aa47
child 33104 c6a688894f61e63f9556cad0870372d469611d60
push id2364
push usermozilla@jorgk.com
push dateTue, 22 Jan 2019 16:44:41 +0000
treeherdercomm-beta@7dba53ed25d3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1521007
Bug 1521007 - Follow-up: Set SupportUTF8 registry key to indicate that Thunderbird is supporting UTF-8 at the MAPISendMail API. r+a=jorgk
mail/installer/windows/nsis/shared.nsh
suite/installer/windows/nsis/shared.nsh
--- a/mail/installer/windows/nsis/shared.nsh
+++ b/mail/installer/windows/nsis/shared.nsh
@@ -353,16 +353,17 @@
   ${GetLongPath} "$INSTDIR\uninstall\helper.exe" $7
   ${GetLongPath} "$INSTDIR\mozMapi32_InUse.dll" $6
 
   StrCpy $0 "Software\Clients\Mail\${ClientsRegName}"
 
   WriteRegStr ${RegKey} "$0" "" "${ClientsRegName}"
   WriteRegStr ${RegKey} "$0\DefaultIcon" "" "$8,0"
   WriteRegStr ${RegKey} "$0" "DLLPath" "$6"
+  WriteRegDWORD ${RegKey} "$0" "SupportUTF8" 1
 
   ; The MapiProxy dll can exist in multiple installs of the application.
   ; Registration occurs as follows with the last action to occur being the one
   ; that wins:
   ; On install and software update when helper.exe runs with the /PostUpdate
   ; argument. On setting the application as the system's default application
   ; using Window's "Set program access and defaults".
 
--- a/suite/installer/windows/nsis/shared.nsh
+++ b/suite/installer/windows/nsis/shared.nsh
@@ -462,16 +462,17 @@
   ${GetLongPath} "$INSTDIR\${FileMainEXE}" $8
   ${GetLongPath} "$INSTDIR\uninstall\helper.exe" $7
   ${GetLongPath} "$INSTDIR\mozMapi32_InUse.dll" $6
 
   StrCpy $0 "Software\Clients\Mail\${BrandFullNameInternal}"
   WriteRegStr HKLM "$0" "" "${BrandFullNameInternal}"
   WriteRegStr HKLM "$0\DefaultIcon" "" "$8,0"
   WriteRegStr HKLM "$0" "DLLPath" "$6"
+  WriteRegDWORD HKLM "$0" "SupportUTF8" 1
 
   ; The MapiProxy dll can be used by multiple applications but
   ; is only registered for the last application installed. When the last
   ; application installed is uninstalled MapiProxy.dll will no longer be
   ; registered.
   !ifndef NO_LOG
     ${LogHeader} "DLL Registration"
   !endif