From 8b32e51cabec1b163ea491f8719dba4820e1ab69 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 2 Oct 2014 22:46:46 +0200 Subject: [PATCH] win32 NSIS installer: uninstall servatrice* just avoid deleting servatrice.ini, if the user manually made one from the servatrice.ini.example --- cmake/NSIS.template.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/NSIS.template.in b/cmake/NSIS.template.in index 5a931e19..3784b1b0 100644 --- a/cmake/NSIS.template.in +++ b/cmake/NSIS.template.in @@ -75,12 +75,16 @@ Section Uninstall Delete "$INSTDIR\uninstall.exe" Delete "$INSTDIR\cockatrice.exe" Delete "$INSTDIR\oracle.exe" + Delete "$INSTDIR\servatrice.exe" Delete "$INSTDIR\Usermanual.pdf" Delete "$INSTDIR\libprotobuf.lib" Delete "$INSTDIR\Qt*.dll" Delete "$INSTDIR\icu*.dll" Delete "$INSTDIR\qt.conf" Delete "$INSTDIR\qdebug.txt" + Delete "$INSTDIR\server.log" + Delete "$INSTDIR\servatrice.sql" + Delete "$INSTDIR\servatrice.ini.example" RMDir "$INSTDIR" RMDir "$SMPROGRAMS\Cockatrice"