Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

Hi,

This is for Win7 seeing that XP does not have ProgramData.

 

[Nero Start Smart LightScribe Log*]
LangSecRef=3021
DetectFile=%HomeDrive%\ProgramData\LightScribe\log
Default=False
FileKey1=%HomeDrive%\ProgramData\LightScribe\log|*.xml

Share this post


Link to post
Share on other sites

You can use %CommonAppData% instead of \ProgramData.

[Nero Start Smart LightScribe Log*]
LangSecRef=3021
DetectFile=%CommonAppData%\LightScribe\log
Default=False
FileKey1=%CommonAppData%\LightScribe\log|*.xml

Share this post


Link to post
Share on other sites

@ nodles, Thanks man :) must have missed that path :(

 

 

[Ahead Nero History Logs*]
LangSecRef=3021
DetectFile=%AppData%\Ahead\Nero Burning ROM
Default=False
FileKey1=%AppData%\Ahead\Nero Burning ROM|NeroHistory.log

Share this post


Link to post
Share on other sites

You can use %CommonAppData% instead of \ProgramData.

[Nero Start Smart LightScribe Log*]
LangSecRef=3021
DetectFile=%CommonAppData%\LightScribe\log
Default=False
FileKey1=%CommonAppData%\LightScribe\log|*.xml

 

There is already a Lightscribe entry in the current code. Maybe it can be modified to work with Nero Start Smart as well.

 

[LightScribe*]
LangSecRef=3023
Detect=HKCU\Software\LightScribe
Default=False
FileKey1=%CommonAppData%\LightScribe\log|*.xml

Share this post


Link to post
Share on other sites

%ProgramData% is equal to Documents and Settings\All Users\Application Data (%CommonAppData%)

 

%CommonAppData% will point to %ProgramData%, but I don't think it works the other way around.

Share this post


Link to post
Share on other sites

Changed all my entries from DetectFile to Detect. Here are the new Detect lines:

[3ware 3DM2*]

Detect=HKU\.DEFAULT\Software\3ware\3DM2

 

[Adobe Reader 10.0 Setup Files*]

Detect=HKCU\Software\Adobe\Acrobat Reader\10.0

 

[Apple Installer Cache*]

Detect=HKCU\Software\Apple Computer, Inc.

 

[brother Printer Debug Logs*]

Detect=HKLM\SOFTWARE\Brother\BrUtilities

 

[Citrix Online Plug-in Web Setup Files*]

Detect=HKLM\SOFTWARE\Citrix\ICA Client

 

[DVBViewer*]

Detect=HKLM\SOFTWARE\CM&V\DVBViewer

 

[DVBViewer Setup Files*]

Detect=HKLM\SOFTWARE\CM&V\DVBViewer

 

[Dyn Updater*]

Detect=HKCU\Software\Dyn Updater

 

[ElsterFormular*]

Detect=HKLM\SOFTWARE\Landesfinanzdirektion Thüringen\ElsterFormular

 

[Malwarebytes Anti Malware Setup File*]

Detect=HKCU\Software\Malwarebytes' Anti-Malware

 

[MS Office Help Cache*]

Detect=HKCU\Software\Microsoft\Office\14.0\Common\HelpViewer

 

[sun Java Setup Files*]

Detect=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment

Share this post


Link to post
Share on other sites

Changed from HKCU to HKLM for libreoffice 3.5.0

needs testing to see if 3.4.0 will still be detected

 

[LibreOffice 3*]
LangSecRef=3021
Detect=HKLM\Software\LibreOffice
Default=False
FileKey1=%AppData%\LibreOffice\3\User\temp|*.*
FileKey2=%AppData%\LibreOffice\3\User\backup|*.*
FileKey3=%AppData%\LibreOffice\3\User\uno_packages\cache|log.*
FileKey4=%AppData%\LibreOffice\3\user\extensions\shared|log.*

Share this post


Link to post
Share on other sites

Thanks again, Joe! :)

 

Sidenote: I did some actual testing today and although the difference is extremely small, there is a small difference in running a blank clean with Registry detections.

 

(Using Alan_B's script to time a CCleaner.exe /AUTO run, which counts running time as well, there was about a 30ms difference on my machine. Slower machines may see better/worse speeds.)

Share this post


Link to post
Share on other sites

NEW ENTRY

 

[EasyGPS*]
LangSecRef=3024
Detect=HKCU\Software\TopoGrafix\EasyGPS
Default=False
FileKey1=%LocalAppData%\TopoGrafix\Error Logs|*.txt
RegKey1=HKCU\Software\TopoGrafix\EasyGPS\Error Log
RegKey2=HKCU\Software\TopoGrafix\EasyGPS\Recent File List

Share this post


Link to post
Share on other sites

**BAD ENTRY**

I stumbled across this big issue it deletes all Visual Studio Files Including Projects. I am currently changing many of the DetectFile to Detects to help improve everyone's speed :-) This Entry needs either removed immediately or use my suggestions below. I can not verify the 2005 or 2008 entries but I am pretty sure they should be the same . I will post or attach a text file with all my updated Detects when I am done. I will verify they are all still detected.

 

**BAD ENTRY**

[Visual Studio Backup*]

LangSecRef=3021

DetectFile1=%Documents%\Visual Studio 2005

DetectFile2=%Documents%\Visual Studio 2008

Default=False

FileKey1=%Documents%\Visual Studio 2005|*.*

FileKey2=%Documents%\Visual Studio 2008|*.*

 

 

Suggested CHanges

 

[Visual Studio Backup*]

LangSecRef=3021

DetectFile1=%Documents%\Visual Studio 2005

Detect=HKCU\Software\Microsoft\VisualStudio\8.0

Detect=HKCU\Software\Microsoft\VisualStudio\10.0

Default=false

FileKey1=%Documents%\Visual Studio 2005\Backup Files|*.*|RECURSE

FileKey2=%Documents%\Visual Studio 2008\Backup Files|*.*|RECURSE

FileKey3=%Documents%\Visual Studio 2010\Backup Files|*.*|RECURSE

Share this post


Link to post
Share on other sites

nice, will fix.

 

Try to post those new Detects before the next version of CCleaner comes out (or the day of, if you want) so I can put them in the next release :)

Share this post


Link to post
Share on other sites

Thanks, a couple dupes of ones I've done myself (adobe, ATI, Ms stuff) but defintely a few I hadn't done. Big help B)

Share this post


Link to post
Share on other sites

I'm not sure, but I think if you have more than one Detect line you have to use Detect1 and Detect2.

[Visual Studio Backup*]

LangSecRef=3021

DetectFile=%Documents%\Visual Studio 2005

Detect1=HKCU\Software\Microsoft\VisualStudio\8.0

Detect2=HKCU\Software\Microsoft\VisualStudio\10.0

Default=false

FileKey1=%Documents%\Visual Studio 2005\Backup Files|*.*|RECURSE

FileKey2=%Documents%\Visual Studio 2008\Backup Files|*.*|RECURSE

FileKey3=%Documents%\Visual Studio 2010\Backup Files|*.*|RECURSE

Share this post


Link to post
Share on other sites

Thanks. Here you go I changed 20 of them from the DetectFile to Detect. In My testing they all appeared to detect without issue.Two entries appears to be dupes of APMichael above ignore those :-)

 

I would prefer for the entry [MS Office Help Cache*] this Detect line: Detect=HKCU\Software\Microsoft\Office\14.0\Common\HelpViewer

This one is 100% safe.

 

Or maybe this: Detect=HKCU\Software\Microsoft\Office\14.0

Because older versions of MS Office doesn't have the new HelpViewer.

Share this post


Link to post
Share on other sites

This DetectFile code is changed so that it will work for HostsMan V3.2.73 and earlier. A new HostsMan V4.0 is in beta testing and HostsServer is a completely separate program in this new version instead of being within HostsMan V3.2.73. HostsServer 2.0.50 Beta comes in 32-bit and 64-bit code. You can see the developer's description of these new changes at the User Forum links below.

 

http://forum.abelhad...c.php?f=7&t=140

http://forum.abelhad...c.php?f=7&t=141

 

[HostsMan's HostsServer (Log)*]
LangSecRef=3024
DetectFile=%ProgramFiles%\HostsMan\hostssrv.exe
Default=False
FileKey1=%AppData%\abelhadigital.com\HostsServer|*.log

 

Below is the code to clear the log for HostsServer 2.0. I recommend that you add this new code because this freebie software typically stays in "beta" for months and months with no changes.

 

[HostsMan's HostsServer 2.0 (Log)*]
LangSecRef=3024
Detect=HKLM\Software\abelhadigital.com\HostsServer
Default=False
FileKey1=%LocalLowAppData%\abelhadigital.com\HostsServer\Logs|*.log

Share this post


Link to post
Share on other sites

I checked and actually the Microsoft Office Help Cache is also used in the 2007 version of office as well Updated detects to detect either version

 

[MS Office Help Cache*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\14.0

Detect2=HKCU\Software\Microsoft\Office\12.0

Default=False

FileKey1=%LocalAppData%\Microsoft Help|*.*

Share this post


Link to post
Share on other sites

Thanks, a couple dupes of ones I've done myself (adobe, ATI, Ms stuff) but defintely a few I hadn't done. Big help B)

Would you find useful an option in Trim.bat to identify every duplicated deletion of a registry or file/folder deletion ?

This would indicate any entries that are either :-

Duplicates aiming to clean the same application - even if the header [{product name }*] differs, or

Poachers - where the cleanup of one application could have unexpected consequences to some other application.

 

Alan

Share this post


Link to post
Share on other sites

I checked and actually the Microsoft Office Help Cache is also used in the 2007 version of office as well Updated detects to detect either version

Thank you very much for checking this. Now the entry is perfect. :)

Share this post


Link to post
Share on other sites

Modified

added REMOVESELF to filekey1

[skype Installers*]
LangSecRef=3022
Detect=HKCU\Software\Skype
Default=False
FileKey1=%CommonAppData%\Skype\*|Skype.msi|REMOVESELF
FileKey2=%CommonAppData%\Skype|SkypeToolbars.msi|RECURSE

Share this post


Link to post
Share on other sites

I'll give people some time to wake up and submit any last-minute stuff before updating. Otherwise, pretty much ready to go. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×