Bug 1427670 - Escape warning message when the user can't write to their profile. r=mhowell
authorJoey Chagnon <chagnon.joey@gmail.com>
Tue, 02 Jan 2018 22:40:44 -0500
changeset 449519 29e0ea0b247007a2760addeae2c8194686a8d35c
parent 449518 ed1d0d623ca4a66733383335b6fa19a5a3472b76
child 449520 d098b3eb9f976fa8a3f207db2b442db13e6ce26e
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhowell
bugs1427670
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1427670 - Escape warning message when the user can't write to their profile. r=mhowell MozReview-Commit-ID: C5ZJd6ZQwzz
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}