Stop service before uninstall (#158)

This commit is contained in:
Maycon Santos 2021-11-14 21:30:18 +01:00 committed by GitHub
parent d08e5efbce
commit fcbf980588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,7 @@ SectionEnd
Section Uninstall
${INSTALL_TYPE}
Exec '"$INSTDIR\${MAIN_APP_EXE}" service stop'
Exec '"$INSTDIR\${MAIN_APP_EXE}" service uninstall'
# wait the service uninstall take unblock the executable
Sleep 3000