[vlc-commits] NSIS: Quote UninstallString path

Marvin Scholz git at videolan.org
Sat May 26 18:09:08 CEST 2018


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu May 24 20:39:49 2018 +0200| [8ef45bfe35d85a3267c7165e8bc1fc9fde9be2f9] | committer: Jean-Baptiste Kempf

NSIS: Quote UninstallString path

Thanks to John Moser for pointing this out.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 03775e5f9cf7373aaa9e5e9f8b679963fe788402)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=8ef45bfe35d85a3267c7165e8bc1fc9fde9be2f9
---

 extras/package/win32/NSIS/vlc.win32.nsi.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index 1169c1eecd..b5e0e1af01 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -803,7 +803,7 @@ Section -Post
   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" \
     "DisplayName" "$(^Name)"
   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" \
-    "UninstallString" "$INSTDIR\uninstall.exe"
+    "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" \
     "InstallLocation" "$INSTDIR"
   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" \



More information about the vlc-commits mailing list