From 445a32edcbff14d1fff88fef2f557b84811e7330 Mon Sep 17 00:00:00 2001 From: xhmikosr Date: Thu, 28 May 2009 14:47:10 +0000 Subject: [PATCH] Installer: Optionally removes scratchpad.txt git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1341 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- .../ProcessHacker/Build/Installer/Process_Hacker_installer.iss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/ProcessHacker/Build/Installer/Process_Hacker_installer.iss b/trunk/ProcessHacker/Build/Installer/Process_Hacker_installer.iss index 3a0c7b85d..a516b91d1 100644 --- a/trunk/ProcessHacker/Build/Installer/Process_Hacker_installer.iss +++ b/trunk/ProcessHacker/Build/Installer/Process_Hacker_installer.iss @@ -274,7 +274,7 @@ begin if DirExists(ExpandConstant('{localappdata}\wj32\')) or fileExists(ExpandConstant('{app}\Process Hacker Log.txt')) or fileExists(ExpandConstant('{userdocs}\Process Hacker.txt')) or fileExists(ExpandConstant('{userdocs}\Process Hacker.log')) or fileExists(ExpandConstant('{userdocs}\Process Hacker.csv')) or fileExists(ExpandConstant('{userdocs}\Process Hacker Log.txt')) - or fileExists(ExpandConstant('{userdocs}\CSR Processes.txt')) then begin + or fileExists(ExpandConstant('{userdocs}\CSR Processes.txt')) or fileExists(ExpandConstant('{app}\scratchpad.txt'))then begin if MsgBox(ExpandConstant('{cm:msg_DeleteLogSettings}'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then begin DelTree(ExpandConstant('{localappdata}\wj32\'), True, True, True); DeleteFile(ExpandConstant('{app}\Process Hacker.txt')); @@ -284,6 +284,7 @@ begin DeleteFile(ExpandConstant('{app}\CSR Processes.txt')); DeleteFile(ExpandConstant('{userdocs}\Process Hacker Log.txt')); DeleteFile(ExpandConstant('{userdocs}\CSR Processes.txt')); + DeleteFile(ExpandConstant('{app}\scratchpad.txt')); end; end; end;