From 33bddda2ea61172b5f33e4ba626b38b3455f6bf4 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Wed, 10 Jan 2024 11:28:31 +0100 Subject: [PATCH] Quote uninstall path in registry when installing on windows --- erts/etc/win32/nsis/erlang20.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erts/etc/win32/nsis/erlang20.nsi b/erts/etc/win32/nsis/erlang20.nsi index 5380a57742c5..f357480cea73 100644 --- a/erts/etc/win32/nsis/erlang20.nsi +++ b/erts/etc/win32/nsis/erlang20.nsi @@ -233,7 +233,7 @@ done_startmenu: "Publisher" "Ericsson AB" WriteRegStr HKLM \ "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Erlang OTP" \ - "UninstallString" "$INSTDIR\Uninstall.exe" + "UninstallString" "$\"$INSTDIR\Uninstall.exe$\"" WriteRegDWORD HKLM \ "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Erlang OTP" \ "NoModify" 1 @@ -263,7 +263,7 @@ done_startmenu: "Publisher" "Ericsson AB" WriteRegStr HKCU \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\Erlang OTP" \ - "UninstallString" "$INSTDIR\Uninstall.exe" + "UninstallString" "$\"$INSTDIR\Uninstall.exe$\"" WriteRegDWORD HKCU \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\Erlang OTP" \ "NoModify" 1