Skip to content
Snippets Groups Projects
Commit fa557668 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

Windows installer: Quit Gajim when starting upgrade

This improves UX with older uninstallers
parent ea8ce6b1
No related branches found
No related tags found
No related merge requests found
......@@ -249,6 +249,9 @@ SectionEnd
; Installer
Function StartUpgrade
; Hint: Gajim setup should not be named gajim.exe
ExecWait "TaskKill /IM gajim.exe /F"
ExecWait "TaskKill /IM gajim-debug.exe /F"
; Run uninstaller in silent mode
ReadRegStr $R3 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "UninstallString"
ExecWait '"$R3" /S _?=$INSTDIR'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment