View Full Version: Ccleaner Winapp2.ini

abelhadigital > HostsMan > Ccleaner Winapp2.ini



Title: Ccleaner Winapp2.ini


YoKenny - September 9, 2007 01:18 PM (GMT)
To have CCleaner clean up HostsServer log file the following winapp2.ini file has to be added to CCleaner's program Folder that is typically in C:\Program Files\CCleaner
CODE
; Application Cleaning file
;
; Notes
; ---------------------------------------
; LangSecRef
;  3021 = Applications
;  3022 = Internet
;  3023 = Multimedia
;  3024 = Utilities
;  3025 = Windows

[*HostsMan]
LangSecRef=3024
DetectFile=%ProgramFiles%\abelhadigital.com\HostsMan\hm.exe
Default=True
FileKey1=%appdata%\abelhadigital.com\HostsServer|block2.log

siliconman01 - September 10, 2007 08:20 AM (GMT)
Thanks YoKenny.

Is there a reason that you did not include block1.log for cleaning as well?

YoKenny - September 10, 2007 11:35 AM (GMT)
QUOTE
Is there a reason that you did not include block1.log for cleaning as well?
I don't have a block1.log on my WinXP Home SP2 system :unsure:

rloureiro - September 10, 2007 01:25 PM (GMT)
When the size of block2.log is around 256kb, it's renamed to block1.log and a new block2.log is created. It seems you clear the log before the block2.log reaches 256kb of size. :)

YoKenny - September 10, 2007 07:45 PM (GMT)
To clean out both logs then the code should be
CODE
; Application Cleaning file
;
; Notes
; ---------------------------------------
; LangSecRef
;  3021 = Applications
;  3022 = Internet
;  3023 = Multimedia
;  3024 = Utilities
;  3025 = Windows

[*HostsMan]
LangSecRef=3024
DetectFile=%ProgramFiles%\abelhadigital.com\HostsMan\hm.exe
Default=True
FileKey1=%appdata%\abelhadigital.com\HostsServer|block2.log
FileKey2=%appdata%\abelhadigital.com\HostsServer|block1.log
but as I have never seen a block1.log file on my system then this should work but let me know if it does not.

siliconman01 - September 10, 2007 09:27 PM (GMT)
Thanks, it works. :)

I'll probably never again see a Block1.log because I run CC frequently.

BTW, CCleaner V2.00.500 has been publicly released.

YoKenny - September 10, 2007 11:22 PM (GMT)
QUOTE
BTW, CCleaner V2.00.500 has been publicly released.
Thanks.

I saw it announced on Calendar of Updates as well.

Hardhead - September 11, 2007 04:42 AM (GMT)
Hey guys,

Doesn't Clear log work too in HostSever Control Panel?

I see block1 in Vista at: C:\Users\Hardhead\AppData\Roaming\abelhadigital.com\HostsServer

YoKenny - September 11, 2007 06:51 AM (GMT)
QUOTE
Doesn't Clear log work too in HostSever Control Panel?
It sure does but I thought that as CCleaner cleans a bunch of stuff then why couldn't it also clean out HostsServer logs as well.

JonesDK - November 7, 2007 11:22 PM (GMT)
Cool, thanks - send a request to have it added to the 'official-non-official' winapp2 file on the CCleaner forum ;)

YoKenny - November 8, 2007 02:41 AM (GMT)
QUOTE
send a request to have it added to the 'official-non-official' winapp2 file on the CCleaner forum
I think I did but another request for it to be added would help and you should include the Code snipit B)

JonesDK - November 8, 2007 12:50 PM (GMT)
Okay, I just didn't find it added to the list on the CCleaner forum - don't know why if you already send it to them. But let's see what happens...

YoKenny - December 27, 2007 03:41 PM (GMT)
I thought I would resurect this topic as I needed to install it on my newly FORTMATed WinXP Home system and the topic was way down the list.

Hopefully it will be within the soon to be announced CCleaner update.

siliconman01 - May 25, 2008 06:48 AM (GMT)
For Version 3.2.61 Beta1, winapp2.ini needs to changed to:

QUOTE
; Application Cleaning file
;
; Notes
; ---------------------------------------
; LangSecRef
;  3021 = Applications
;  3022 = Internet
;  3023 = Multimedia
;  3024 = Utilities
;  3025 = Windows

[*HostsMan]
LangSecRef=3024
DetectFile=%ProgramFiles%\HostsMan\hm.exe
Default=True
FileKey1=%appdata%\abelhadigital.com\HostsServer|block2.log
FileKey2=%appdata%\abelhadigital.com\HostsServer|block1.log

YoKenny - May 25, 2008 07:31 AM (GMT)
The latest update for winapp2.ini now includes the needed modifications:
http://forum.piriform.com/index.php?showtopic=1110

BTW, CCleaner V2.07.575 has been publicly released.

rloureiro - May 25, 2008 09:05 AM (GMT)
Actually, since 3.2.61, the most effective way of detecting HostsMan is by checking the presence of the following registry key:
CODE
HKLM\Software\abelhadigital.com\HostsMan

This way, even if users install to a different location, it's still possible to detect HostsMan.




Hosted for free by InvisionFree