diff options
| author | Lotus <lotus@localhost> | 2012-01-15 19:01:05 +0100 |
|---|---|---|
| committer | Lotus <lotus@localhost> | 2012-01-15 19:01:05 +0100 |
| commit | 411aab02e3abf3bde0891b1cba4d77de1f3a9971 (patch) | |
| tree | 613d8e396ee86a7dcb48fb7f579db13637010585 /build.nsi | |
| parent | 87f02104803b9e6e2f07c872fddbbdd5bff10d60 (diff) | |
Windows installer now detects reliably whether YaCy runs. A file lock on
the yacy.running file has been implemented.
Diffstat (limited to 'build.nsi')
| -rwxr-xr-x | build.nsi | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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
|
