always quote paths in UninstallString
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3008 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
64a0faa42b
commit
1b973fce65
1 changed files with 2 additions and 2 deletions
|
@ -965,7 +965,7 @@ Section -post
|
|||
WriteRegDword HKLM "Software\NSIS" "VersionRevision" "${VER_REVISION}"
|
||||
WriteRegDword HKLM "Software\NSIS" "VersionBuild" "${VER_BUILD}"
|
||||
|
||||
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "UninstallString" "$INSTDIR\uninst-nsis.exe"
|
||||
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "UninstallString" '"$INSTDIR\uninst-nsis.exe"'
|
||||
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "InstallLocation" "$INSTDIR"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "DisplayName" "Nullsoft Install System"
|
||||
IfFileExists "$INSTDIR\NSIS.exe" 0 +2
|
||||
|
@ -1252,7 +1252,7 @@ Function PageLeaveReinstall
|
|||
HideWindow
|
||||
|
||||
ClearErrors
|
||||
ExecWait '"$R1" _?=$INSTDIR'
|
||||
ExecWait '$R1 _?=$INSTDIR'
|
||||
|
||||
IfErrors no_remove_uninstaller
|
||||
IfFileExists "$INSTDIR\makensis.exe" no_remove_uninstaller
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue