Skip to content

Commit

Permalink
Fix windows installer reinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicletz committed Apr 18, 2024
1 parent 08db98e commit 49532d5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rel/win32/app.nsi.eex
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ Delete "$QUICKLAUNCH\<%= @package.name_long || @package.name %>.lnk"
SetShellVarContext current
Delete "$DESKTOP\<%= @package.name_long || @package.name %>.lnk"
Delete "$QUICKLAUNCH\<%= @package.name_long || @package.name %>.lnk"
RMDir /r "$INSTDIR"
ExecShellWait "" "$SysDir\taskkill.exe" "/f /im heart.exe" SW_HIDE
ExecShellWait "" "$SysDir\taskkill.exe" "/f /im epmd.exe" SW_HIDE
ExecShellWait "" "$SysDir\taskkill.exe" "/f /im <%= @package.name %>.exe" SW_HIDE
RMDir /r /REBOOTOK "$INSTDIR"

;Remove shortcut
ReadRegStr $MYTEMP "${MY_STARTMENUPAGE_REGISTRY_ROOT}" \
Expand Down Expand Up @@ -249,4 +252,4 @@ done:

SectionEnd ; end of uninstall section

; eof
; eof

0 comments on commit 49532d5

Please sign in to comment.