Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
fa557668 by wurstsalat at 2021-12-08T08:54:56+01:00
Windows installer: Quit Gajim when starting upgrade

This improves UX with older uninstallers

- - - - -
2e1a2472 by wurstsalat at 2021-12-08T09:14:39+01:00
Windows installer: Improve upgrade process

- - - - -


1 changed file:

- win/misc/gajim.nsi


Changes:

=====================================
win/misc/gajim.nsi
=====================================
@@ -249,6 +249,14 @@ SectionEnd
 
 ; Installer
 Function StartUpgrade
+       ; Disable 'Upgrade' button to avoid further clicks
+       GetDlgItem $1 $HWNDPARENT 1
+       EnableWindow $1 0
+
+       ; 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'



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/ea8ce6b181a1232469ec82d6d0955e6e88f2c9a0...2e1a247245bf4662b04cc3a78ee3374716010863

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/ea8ce6b181a1232469ec82d6d0955e6e88f2c9a0...2e1a247245bf4662b04cc3a78ee3374716010863
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to