Bug 804067, r=Neil, a=Callek
authorFrank Wein <mcsmurf@mcsmurf.de>
Wed, 24 Oct 2012 09:24:38 +0200
changeset 12505 1ed5fc6ff7b0252174c5c81b317af9218b108f51
parent 12504 c7dd5df724630c93abd8513f07c44a05c419d7d6
child 12506 310686c456d9ad9e34b9495bd60c233493dcb3ec
push id752
push usermcsmurf@mcsmurf.de
push dateWed, 24 Oct 2012 07:31:40 +0000
treeherdercomm-aurora@1ed5fc6ff7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, Callek
bugs804067
Bug 804067, r=Neil, a=Callek
suite/installer/windows/nsis/installer.nsi
--- a/suite/installer/windows/nsis/installer.nsi
+++ b/suite/installer/windows/nsis/installer.nsi
@@ -657,17 +657,17 @@ Function LaunchAppFromElevatedProcess
   ; from an elevated installer since $INSTDIR will not be set in this installer
   ${StrFilter} "${FileMainEXE}" "+" "" "" $R9
   ReadRegStr $0 HKLM "Software\Clients\StartMenuInternet\$R9\DefaultIcon" ""
   ${GetPathFromString} "$0" $0
   ${GetParent} "$0" $1
   ; Set our current working directory to the application's install directory
   ; otherwise the 7-Zip temp directory will be in use and won't be deleted.
   SetOutPath "$1"
-  Exec "$0"
+  Exec "$\"$0$\""
 FunctionEnd
 
 ################################################################################
 # Language
 
 !insertmacro MOZ_MUI_LANGUAGE 'baseLocale'
 !verbose push
 !verbose 3