Bug 1427670 - Escape warning message when the user can't write to their profile. draft
authorJoey Chagnon <chagnon.joey@gmail.com>
Tue, 02 Jan 2018 22:40:44 -0500
changeset 715211 3590a01d3103efb560234ad6414cf5493bee05be
parent 715168 351c75ab74c9a83db5c0662ba271b49479adb1f1
child 744731 ad8677c24fa07d7c2fa9912b687c5bb02d9250fb
push id94093
push userbmo:chagnon.joey@gmail.com
push dateWed, 03 Jan 2018 03:43:17 +0000
bugs1427670
milestone59.0a1
Bug 1427670 - Escape warning message when the user can't write to their profile. MozReview-Commit-ID: 89UULmyL4Dd
browser/installer/windows/nsis/stub.nsi
--- a/browser/installer/windows/nsis/stub.nsi
+++ b/browser/installer/windows/nsis/stub.nsi
@@ -504,17 +504,17 @@ Function .onInit
       StrCpy $InitialInstallRequirementsCode "3"
     ${Else}
       StrCpy $InitialInstallRequirementsCode "0"
     ${EndIf}
   ${EndIf}
 
   Call CanWrite
   ${If} "$CanWriteToInstallDir" == "false"
-    MessageBox MB_OK|MB_ICONEXCLAMATION "$(WARN_WRITE_ACCESS_QUIT)\n\n$INSTDIR"
+    MessageBox MB_OK|MB_ICONEXCLAMATION "$(WARN_WRITE_ACCESS_QUIT)$\n$\n$INSTDIR"
     Quit
   ${EndIf}
 
   Call CheckSpace
   ${If} "$HasRequiredSpaceAvailable" == "false"
     MessageBox MB_OK|MB_ICONEXCLAMATION "$(WARN_DISK_SPACE_QUIT)"
     Quit
   ${EndIf}