From c7d9cf3a3cf5561d892c26559f7d17474ca06c9c Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 5 Oct 2021 09:40:31 +0100 Subject: [PATCH] Windows uninstaller fixes. --- installer/mosquitto.nsi | 3 ++- installer/mosquitto64.nsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/mosquitto.nsi b/installer/mosquitto.nsi index 8507c6c9..6f76e145 100644 --- a/installer/mosquitto.nsi +++ b/installer/mosquitto.nsi @@ -106,7 +106,7 @@ Section "Uninstall" Delete "$INSTDIR\ChangeLog.txt" Delete "$INSTDIR\mosquitto.conf" Delete "$INSTDIR\pwfile.example" - Delete "$INSTDIR\README.txt" + Delete "$INSTDIR\README.md" Delete "$INSTDIR\README-windows.txt" Delete "$INSTDIR\README-letsencrypt.md" ;Delete "$INSTDIR\pthreadVC2.dll" @@ -122,6 +122,7 @@ Section "Uninstall" Delete "$INSTDIR\devel\mosquittopp.h" Delete "$INSTDIR\devel\mosquittopp.lib" Delete "$INSTDIR\devel\mqtt_protocol.h" + RMDir "$INSTDIR\devel" Delete "$INSTDIR\Uninstall.exe" RMDir "$INSTDIR" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index aad1c751..64543eb2 100644 --- a/installer/mosquitto64.nsi +++ b/installer/mosquitto64.nsi @@ -107,7 +107,7 @@ Section "Uninstall" Delete "$INSTDIR\ChangeLog.txt" Delete "$INSTDIR\mosquitto.conf" Delete "$INSTDIR\pwfile.example" - Delete "$INSTDIR\README.txt" + Delete "$INSTDIR\README.md" Delete "$INSTDIR\README-windows.txt" Delete "$INSTDIR\README-letsencrypt.md" ;Delete "$INSTDIR\pthreadVC2.dll" @@ -124,6 +124,7 @@ Section "Uninstall" Delete "$INSTDIR\devel\mosquittopp.h" Delete "$INSTDIR\devel\mosquittopp.lib" Delete "$INSTDIR\devel\mqtt_protocol.h" + RMDir "$INSTDIR\devel" Delete "$INSTDIR\Uninstall.exe" RMDir "$INSTDIR"