Skip to content

Commit

Permalink
Quote uninstall path in registry when installing on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dgud committed Jan 10, 2024
1 parent 5ca515f commit 33bddda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erts/etc/win32/nsis/erlang20.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 33bddda

Please sign in to comment.