Bug 475888 - needs to be quoted in shared.nsh. r=philringnalda
authorRobert Strong <robert.bugzilla@gmail.com>
Thu, 29 Jan 2009 11:25:51 -0800
changeset 1790 e4108b8fb060e2a8fb4df52bb118bf5c7eea95ea
parent 1789 dcb38165108de43dde3343877777832b56db5cec
child 1791 880b549a8c3171b41010f4402959d0bd0e9b9838
push idunknown
push userunknown
push dateunknown
reviewersphilringnalda
bugs475888
Bug 475888 - needs to be quoted in shared.nsh. r=philringnalda
mail/installer/windows/nsis/shared.nsh
--- a/mail/installer/windows/nsis/shared.nsh
+++ b/mail/installer/windows/nsis/shared.nsh
@@ -613,17 +613,17 @@
 !define RemoveDeprecatedKeys "!insertmacro RemoveDeprecatedKeys"
 
 ; Creates the shortcuts log ini file with the appropriate entries if it doesn't
 ; already exist.
 !macro CreateShortcutsLog
   ${GetShortcutsLogPath} $0
   ${Unless} ${FileExists} "$0"
     ; Default to ${BrandFullName} for the Start Menu Folder
-    StrCpy $TmpVal ${BrandFullName}
+    StrCpy $TmpVal "${BrandFullName}"
     ; Prior to Unicode installer the Start Menu directory was written to the
     ; registry and this value can be used to set the Start Menu directory.
     ClearErrors
     ReadRegStr $0 SHCTX "Software\Mozilla\${BrandFullNameInternal}\${AppVersion} (${AB_CD})\Main" "Start Menu Folder"
     ${If} ${Errors}
       ${FindSMProgramsDir} $0
       ${If} "$0" != ""
         StrCpy $TmpVal "$0"