From 411aab02e3abf3bde0891b1cba4d77de1f3a9971 Mon Sep 17 00:00:00 2001 From: Lotus Date: Sun, 15 Jan 2012 19:01:05 +0100 Subject: Windows installer now detects reliably whether YaCy runs. A file lock on the yacy.running file has been implemented. --- build.nsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build.nsi') diff --git a/build.nsi b/build.nsi index 436bd95dd..3fcd99e79 100755 --- a/build.nsi +++ b/build.nsi @@ -207,7 +207,9 @@ SectionEnd ; UNINSTALLER Section "Uninstall" - IfFileExists "$INSTDIR\DATA\yacy.running" 0 uninstall + ClearErrors + Delete "$INSTDIR\DATA\yacy.running" + IfErrors 0 uninstall MessageBox MB_ICONSTOP "$(stillRunning)" /SD IDOK Goto nouninstall -- cgit v1.2.3