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;