From 9dcaa2f891869e6bc39b7e3eef3c770dc68cfbb0 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Tue, 10 Apr 2012 20:35:23 +0300 Subject: [PATCH] Installer: Changed to quit Rainmeter with WM_CLOSE --- Build/Installer/Installer.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Installer/Installer.nsi b/Build/Installer/Installer.nsi index 856dfdea..0d3260f0 100644 --- a/Build/Installer/Installer.nsi +++ b/Build/Installer/Installer.nsi @@ -636,9 +636,9 @@ Section SetOutPath "$INSTDIR" - FindWindow $0 "RainmeterTrayClass" + FindWindow $0 "DummyRainWClass" "Rainmeter control window" ${If} $0 != "0" - Exec '"$INSTDIR\Rainmeter.exe" !Quit' + SendMessage $0 ${WM_CLOSE} 0 0 ; Wait up to for up to 5 seconds for Rainmeter to close StrCpy $1 "0"