mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
Installer: Optionally removes scratchpad.txt
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1341 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user