Bug 475889 - needs to be quoted in shared.nsh. r=mcsmurf
authorRobert Strong <robert.bugzilla@gmail.com>
Thu, 29 Jan 2009 11:38:49 -0800
changeset 1791 880b549a8c3171b41010f4402959d0bd0e9b9838
parent 1790 e4108b8fb060e2a8fb4df52bb118bf5c7eea95ea
child 1792 4189e950a5a17c93ac6820fc3c1a327a8b173aef
push idunknown
push userunknown
push dateunknown
reviewersmcsmurf
bugs475889
Bug 475889 - needs to be quoted in shared.nsh. r=mcsmurf
suite/installer/windows/nsis/shared.nsh
--- a/suite/installer/windows/nsis/shared.nsh
+++ b/suite/installer/windows/nsis/shared.nsh
@@ -908,17 +908,17 @@
 !define FixClassKeys "!insertmacro FixClassKeys"
 
 ; 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"