summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-21 14:08:33 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-21 14:08:33 (GMT)
commit40d5375cf1b55c4eb8043a037c6ad42dc482cc3c (patch)
tree714952bf4705f11a32ea3a423309eefc3f166a22 /Modules
parent30dda6724f76c416635cb10341444f617c46600b (diff)
parent11768733d321df55b0efcb70b278c71b8e216cf7 (diff)
downloadCMake-40d5375cf1b55c4eb8043a037c6ad42dc482cc3c.zip
CMake-40d5375cf1b55c4eb8043a037c6ad42dc482cc3c.tar.gz
CMake-40d5375cf1b55c4eb8043a037c6ad42dc482cc3c.tar.bz2
Merge branch 'nsis-protect-uninst-exec' into release
Diffstat (limited to 'Modules')
-rw-r--r--Modules/NSIS.template.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in
index 1ef3d28..92a3142 100644
--- a/Modules/NSIS.template.in
+++ b/Modules/NSIS.template.in
@@ -920,7 +920,7 @@ uninst:
ClearErrors
StrLen $2 "\Uninstall.exe"
StrCpy $3 $0 -$2 # remove "\Uninstall.exe" from UninstallString to get path
- ExecWait '$0 _?=$3' ;Do not copy the uninstaller to a temp file
+ ExecWait '"$0" _?=$3' ;Do not copy the uninstaller to a temp file
IfErrors uninst_failed inst
uninst_failed: