Jump to content

Winapp2.ini additions


Winapp2.ini

Recommended Posts

  • Moderators

I think you forgot to add/modify the entries listed here.

I don't know who proposed to update those Freemake cleaners I made but they shouldn't mainly detect the installed location because that can be changed. Much better to detect the registry location.

Link to comment
Share on other sites

I don't know who proposed to update those Freemake cleaners I made but they shouldn't mainly detect the installed location because that can be changed. Much better to detect the registry location.

 

I think it is better to have installed location compare to registry location as detect paths. Some times registry data don't get removed after uninstalling a program and not everyone can remove the registry data manually. I have Windows DVD Maker and Windows Media Center features off but the entries were still showing in CCleaner as both the entries had registry detect paths and Windows does not remove the registry entries after turning these features off. I have changed the detect paths and now they are ok. Please look at the post.

 

http://forum.pirifor...ndpost&p=204579

Link to comment
Share on other sites

The entry listed here needs to be corrected. I think you should remove DetectOS=|5.1. Windows 7 32-bit and 64-bit also get these .ini files. The original enrty that Andavari provided was fine.

 

http://forum.pirifor...ndpost&p=203981

 

[Audio/Video (Stats)*]

DetectOS=|5.1

LangSecRef=3025

Detect=HKCU\Software\Microsoft\Windows

Default=False

FileKey1=%LocalAppData%|DCBC2A71-70D8-4DAN-EHR8-E0D61DEA3FDF.ini

Link to comment
Share on other sites

%USERPROFILE%\AppData\Local is best changed back to %LocalAppData%

 

[TuneUp Utilities 2011/2012 Reg Defrag Cleanup*]
LangSecRef=3024
Detect=HKCU\Software\TuneUp\Utilities\10.0
Detect2=HKCU\Software\TuneUp\Utilities\12.0
Default=False
FileKey1=%WinDir%\System32\config|SECURITY_tureg_old
FileKey2=%WinDir%\System32\config|SOFTWARE_tureg_old
FileKey3=%WinDir%\System32\config|SYSTEM_tureg_old
FileKey4=%WinDir%\System32\config|DEFAULT_tureg_new.LOG1
FileKey5=%WinDir%\System32\config|DEFAULT_tureg_new.LOG2
FileKey6=%WinDir%\System32\config|SAM_tureg_new.LOG1
FileKey7=%WinDir%\System32\config|SAM_tureg_new.LOG2
FileKey8=%WinDir%\System32\config|SECURITY_tureg_new.LOG1
FileKey9=%WinDir%\System32\config|SECURITY_tureg_new.LOG2
FileKey10=%WinDir%\System32\config|SOFTWARE_tureg_new.LOG1
FileKey11=%WinDir%\System32\config|SOFTWARE_tureg_new.LOG2
FileKey12=%WinDir%\System32\config|SYSTEM_tureg_new.LOG1
FileKey13=%WinDir%\System32\config|SYSTEM_tureg_new.LOG2
FileKey14=%WinDir%\System32\config|DEFAULT_tureg_old
FileKey15=%WinDir%\System32\config|SAM_tureg_old
FileKey16=%WinDir%\ServiceProfiles\LocalService|NTUSER.DAT_tureg_old
FileKey17=%WinDir%\ServiceProfiles\LocalService|NTUSER.DAT_tureg_new.LOG1
FileKey18=%WinDir%\ServiceProfiles\LocalService|NTUSER.DAT_tureg_new.LOG2
FileKey19=%WinDir%\ServiceProfiles\NetworkService|NTUSER.DAT_tureg_old
FileKey20=%WinDir%\ServiceProfiles\NetworkService|NTUSER.DAT_tureg_new.LOG1
FileKey21=%WinDir%\ServiceProfiles\NetworkService|NTUSER.DAT_tureg_new.LOG2
Filekey22=%WinDir%\System32\config|COMPONENTS_tureg_old
Filekey23=%WinDir%\System32\config|COMPONENTS_tureg_new.LOG1
Filekey24=%WinDir%\System32\config|COMPONENTS_tureg_new.LOG2
FileKey25=%LocalAppData%\Microsoft\Windows|USRCLASS.DAT_tureg_old
FileKey26=%UserProfile%|NTUSER.DAT_tureg_new.LOG1
FileKey27=%UserProfile%|NTUSER.DAT_tureg_new.LOG2
FileKey28=%UserProfile%|NTUSER.DAT_tureg_old
FileKey29=%SystemDrive%\Boot|BCD_tureg_new.LOG1
FileKey30=%SystemDrive%\Boot|BCD_tureg_new.LOG2
FileKey31=%SystemDrive%\Boot|BCD_tureg_old

Link to comment
Share on other sites

The entry listed here needs to be corrected. I think you should remove DetectOS=|5.1. Windows 7 32-bit and 64-bit also get these .ini files. The original enrty that Andavari provided was fine.

 

http://forum.pirifor...ndpost&p=203981

 

[Audio/Video (Stats)*]

DetectOS=|5.1

LangSecRef=3025

Detect=HKCU\Software\Microsoft\Windows

Default=False

FileKey1=%LocalAppData%|DCBC2A71-70D8-4DAN-EHR8-E0D61DEA3FDF.ini

 

the detectos |5.1 makes it only show on Windows XP, where was known to work. Since I couldn't make this file appear on windows 7, I assumed it did not exist there

Link to comment
Share on other sites

  • Moderators

I think it is better to have installed location compare to registry location as detect paths.

Well it really goes against what you'd even see in the default CCleaner, but to each their own.

 

I realize the "argument" for having it detect the .EXE file installed path as it has some logic, however the problem with that is with custom installations. For instance I absolutely never install any Freemake software into the default location because they have a COM folder which would get shared, and if using all their software (all three programs) it can really get out of wack with version issues when one program is newer than another, I've seen their setups fail multiple times because of it, or installing a new version of one of their programs makes the others unusable, and the only solution is to install each into its own unique folder.

Link to comment
Share on other sites

It seems DCBC2A71-70D8-4DAN-EHR8-E0D61DEA3FDF.ini is created not by checking file properties, but by opening an avi in Windows Media Player, which is why I was unable to created it (i do not use win media player)

I will remove the DetectOS in the next iteration

Link to comment
Share on other sites

New Entry

 

[ManyCam*]

LangSecRef=3024

DetectFile=%LocalAppData%\ManyCam\

Default=False

FileKey1=%LocalAppData%\ManyCam|error.log

FileKey2=%LocalAppData%\ManyCam|instdrv.log

FileKey3=%LocalAppData%\ManyCam|VideoSrc.log

 

All of those are recreated when manycam is opened.

 

I left out "install.log" it's useful for troubleshooting an uninstall

 

but it would be FileKey4=%LocalAppData%\ManyCam|install.log

Link to comment
Share on other sites

  • Moderators

It seems DCBC2A71-70D8-4DAN-EHR8-E0D61DEA3FDF.ini is created not by checking file properties, but by opening an avi in Windows Media Player, which is why I was unable to created it (i do not use win media player)

I will remove the DetectOS in the next iteration

In XP all you have to do is single click an .AVI without even opening it and it will be created!

Link to comment
Share on other sites

New Entry

 

[GARMIN MapSource*]

LangSecRef=3021

detect=HKCU\Software\Garmin\MapSource

Default=False

FileKey1=%AppData%\GARMIN\MapSource\TileCache|*.*|REMOVESELF

 

Folder TileCache and temporary files are recreated when MapSource is opened.

Link to comment
Share on other sites

I think you should add/modify Jagex Cache entry (bolded):

DetectFile2 should be added because folder .jagex_cache_32 is not always created.

I also tried using wildcards (e.g. DetectFile2=%UserProfile%\jagexcache*) to detect folders jagexcache, jagexcache1 etc. but it didn't work.

[Jagex Cache*]

LangSecRef=3023

DetectFile=%WinDir%\.jagex_cache_32

DetectFile2=%UserProfile%\jagexcache

Default=False

FileKey1=%WinDir%\.jagex_cache_32|*.*|REMOVESELF

FileKey2=%UserProfile%\jagexcache|*.*|REMOVESELF

FileKey3=%UserProfile%\jagexcache1|*.*|REMOVESELF

FileKey4=%UserProfile%|jagex__preferences3.dat

FileKey5=%UserProfile%|jagex_cl_runescape_LIVE.dat

FileKey6=%UserProfile%|jagex_cl_runescape_LIVE1.dat

FileKey7=%UserProfile%|jagex_runescape_preferences.dat

FileKey8=%UserProfile%|jagex_runescape_preferences2.dat

 

Also, you've used wildcards to detect my Star Wars The Force Unleashed 2 Crash Logs -entry. I tried it, but it didn't work (doesn't appear to CCleaner so it's not detecting the path).

 

[star Wars The Force Unleashed Crash Logs*]
LangSecRef=3023
DetectFile=%LocalAppData%\LucasArts\Star Wars The Force Unleashed *
Default=False
FileKey1=%LocalAppData%\LucasArts\Star Wars The Force Unleashed *|*.*

 

NEW ENTRIES

One of my entries wasn't added to the current winapp2.ini: [Windows Log*].

I changed the name because the logs come from Asus' software.

 

[Asus Logs*]
LangSecRef=3024
DetectFile1=%WinDir%\log
Default=False
FileKey1=%WinDir%\log|*.log|*.txt

 

[Revenge of The Titans Logs*]
LangSecRef=3023
DetectFile=%UserProfile%\.revenge_of_the_titans_1.80
Default=False
FileKey1=%UserProfile%\.revenge_of_the_titans_1.80|*.log

[HUAWEI 3G Mobile Connect Logs*]
LangSecRef=3024
DetectFile=%WinDir%\ModemLogs
Default=False
FileKey1=%WinDir%\ModemLogs|*.txt

[Mumble Console Log*]
LangSecRef=3025
DetectFile=%AppData%\Mumble
Default=False
FileKey1=%AppData%\Mumble|console.txt

[Age of Conan Logs & Temps*]
LangSecRef=3023
DetectFile=%ProgramFiles%\Funcom\Age of Conan
Default=False
FileKey1=%ProgramFiles%\Funcom\Age of Conan|patcher.log|ConanPatcher.exe.0.tmp|CrashLog.txt|AgeOfConan.log|MiniDump.dmp
FileKey2=%ProgramFiles%\Funcom\Age of Conan\OldLogs|*.*

[CyberLink Logs*]
LangSecRef=3024
DetectFile=%CommonAppData%
Default=False
FileKey1=%CommonAppData%|*.log

Edit. A few corrections.

Edited by nodles
Link to comment
Share on other sites

I think you should add/modify Jagex Cache entry (bolded):

DetectFile2 should be added because folder .jagex_cache_32 is not always created.

It doesn't matter whether it's not always created. If it's not there it won't be cleaned, if it is it will, doesn't mean you need a detect file for it. At the risk of repeating myself, the detect file is solely to tell CCleaner the program is installed - if it's installed CCleaner will clean everything in the entry, you don't need a detect file for every part of the entry.

Link to comment
Share on other sites

It doesn't matter whether it's not always created. If it's not there it won't be cleaned, if it is it will, doesn't mean you need a detect file for it. At the risk of repeating myself, the detect file is solely to tell CCleaner the program is installed - if it's installed CCleaner will clean everything in the entry, you don't need a detect file for every part of the entry.

But it's not a program, comes with browser (like Firefox) if you play Jagex games (Java-based). I tested it and it doesn't find or clean the files/folders in %UserProfile% if the DetectFile=%WinDir%\.jagex_cache_32 is not detected. So it needs something, like DetectFile2=%UserProfile%\jagexcache, or the entry doesn't work/clean completely.
Link to comment
Share on other sites

NEW ENTRIES

[Comodo Installer Temps*]
LangSecRef=3025
DetectFile1=%CommonAppData%\Comodo\Installer
Default=False
FileKey1=%CommonAppData%\Comodo\Installer|*.tmp

[Windows Local AppData .tmp*]
LangSecRef=3025
DetectFile1=%LocalAppData%\Temp
Default=False
FileKey1=%LocalAppData%\Temp|*.tmp

[Windows Installer Temps*]
LangSecRef=3025
DetectFile1=%WinDir%\Installer
Default=False
FileKey1=%WinDir%\Installer|.tmp

MODIFIED ENTRY

[Crayon Physics Deluxe Temps & Cache*]

LangSecRef=3023

DetectFile1=%ProgramFiles%\Steam\steamapps\common\crayon physics deluxe

Default=False

FileKey1=%ProgramFiles%\Steam\steamapps\common\crayon physics deluxe\data\recordings\temp|*.tmp

FileKey2=%ProgramFiles%\Steam\steamapps\common\crayon physics deluxe\cache|*.*

FileKey3=%AppData%\Crayon Physics Deluxe|log.txt

Edited by nodles
Link to comment
Share on other sites

I also tried using wildcards (e.g. DetectFile2=%UserProfile%\jagexcache*) to detect folders jagexcache, jagexcache1 etc. but it didn't work.

[Jagex Cache*]

LangSecRef=3023

DetectFile=%WinDir%\.jagex_cache_32

DetectFile2=%UserProfile%\jagexcache

Default=False

FileKey1=%WinDir%\.jagex_cache_32|*.*|REMOVESELF

FileKey2=%UserProfile%\jagexcache|*.*|REMOVESELF

FileKey3=%UserProfile%\jagexcache1|*.*|REMOVESELF

FileKey4=%UserProfile%|jagex__preferences3.dat

FileKey5=%UserProfile%|jagex_cl_runescape_LIVE.dat

FileKey6=%UserProfile%|jagex_cl_runescape_LIVE1.dat

FileKey7=%UserProfile%|jagex_runescape_preferences.dat

FileKey8=%UserProfile%|jagex_runescape_preferences2.dat

 

I am not sure , but when you clean

FileKey2=%UserProfile%\jagexcache|*.*|REMOVESELF

Does not this remove the folder

%UserProfile%\jagexcache

and after that CCleaner will fail to detect

DetectFile2=%UserProfile%\jagexcache

and after that CCleaner will fail to detect

with the result that the following junk would no longer get removed

FileKey3=%UserProfile%\jagexcache1|*.*|REMOVESELF

FileKey4=%UserProfile%|jagex__preferences3.dat

FileKey5=%UserProfile%|jagex_cl_runescape_LIVE.dat

FileKey6=%UserProfile%|jagex_cl_runescape_LIVE1.dat

FileKey7=%UserProfile%|jagex_runescape_preferences.dat

FileKey8=%UserProfile%|jagex_runescape_preferences2.dat

 

Would it not be better to remove the contents but refrain from REMOVESELF

on any folder that is used any DetectFile

Link to comment
Share on other sites

True, might work better that way.

MODIFIED ENTRY

[uTorrent More*]

LangSecRef=3022

DetectFile=%ProgramFiles%\uTorrent\uTorrent.exe

Default=False

FileKey1=%AppData%\utorrent|*.log

FileKey2=%ProgramFiles%\uTorrent|*.tmp

FileKey3=%AppData%\uTorrent\ie|*.tmp

 

 

Btw. (why) there's two "same" DetectFile paths:

%HomeDrive% = C:\

%SystemDrive% =C:\

Edited by nodles
Link to comment
Share on other sites

Hmm, this entry doesn't find anything even I have .log files in %AppData%\mIRC\Logs. Also I'd add warning-message for this entry because the logs contains mIRC chat history & mIRC must be closed before cleaning.

[mIRC Logs*]
LangSecRef=3022
Detect=HKCU\Software\mIRC
Default=False
FileKey1=%ProgramFiles%\mIRC\logs|*.*
FileKey2=%AppData%\mIRC\Logs|*.*

Edit. Nevermind, mIRC had to be closed to clean/detect those files. But still I suggest adding that warning there.

Edited by nodles
Link to comment
Share on other sites

New Entry: CA Internet Security Suite

 

[CA Security Center (logs)*]

LangSecRef=3021

DetectFile=%ProgramFiles%\CA\CA Internet Security Suite\casc.exe

Default=False

FileKey1=%CommonAppData%\CA|*.log|RECURSE

FileKey2=%CommonAppData%\CA|*.txt|RECURSE

FileKey3=%LocalLowAppData%\CA\Consumer\APH|*.log

Link to comment
Share on other sites

I realize the "argument" for having it detect the .EXE file installed path as it has some logic, however the problem with that is with custom installations. For instance I absolutely never install any Freemake software into the default location because they have a COM folder which would get shared, and if using all their software (all three programs) it can really get out of wack with version issues when one program is newer than another, I've seen their setups fail multiple times because of it, or installing a new version of one of their programs makes the others unusable, and the only solution is to install each into its own unique folder.

 

I install(&re-install) freemake video converter, and freemake audio converter in the default locations, and never had any issues. Though, i do a clean un-install of both programs when i install new version.

 

 

[Freemake Audio Converter (Logs)*]

LangSecRef=3023

DetectFile=C:\Program Files\Freemake\Freemake Audio Converter\FreemakeAudioConverter.exe

Default=False

FileKey1=%CommonAppData%\Freemake\FreemakeAudioConverter|*.txt

 

[Freemake Video Converter (Logs)*]

LangSecRef=3023

DetectFile=%ProgramFiles%\Freemake\Freemake Video Converter\FreemakeVideoConverter.exe

Default=False

FileKey1=%CommonAppData%\Freemake\FreemakeVideoConverter|*.txt

 

 

Shouldn't Freemake Audio Converter have the % in the DetectFile line like Freemake Video Converter does? Shouldn't it be DetectFile=%ProgramFiles%, not DetectFile=C:\Program Files?

Link to comment
Share on other sites

  • Moderators

I'd say use systemdrive as homedrive might be different especially for domain users

Drive letter on the local computer that is connected to the user's home directory. The drive letter to use is defined in the user's account properties within the domain. This variable is based on the value of the home directory. If the home directory is UNC, this variable will be populated with the drive letter that should be mapped to the UNC. If the home directory is a local path, this variable wil lbe populated with the drive letter of the local path.

http://environmentva...title=HomeDrive

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

I'd say use systemdrive as homedrive might be different especially for domain users

 

http://environmentva...title=HomeDrive

Thanks.

NEW ENTRIES

[Apple Installation Temps*]
LangSecRef=3023
DetectFile=%CommonAppData%\Apple Computer
Default=False
FileKey1=%AppData%\Apple Computer\Logs|*.*
FileKey2=%CommonAppData%\Apple Computer\Installer Cache|*.*|RECURSE
FileKey3=%CommonAppData%\Apple\Installer Cache|*.*|RECURSE

[MS IE6 Installation Temps*]
LangSecRef=3025
DetectFile=%SystemDrive%
Default=False
FileKey1=%SystemDrive%|msdownld.tmp

[C:\ Logs*]
LangSecRef=3024
DetectFile1=%SystemDrive%
Default=False
FileKey1=%SystemDrive%|*.log|*.txt

[Adobe Acrobat 9.0 Updater Logs*]
LangSecRef=3021
DetectFile1=%LocalAppData%\Adobe\Acrobat\9.0\Updater
Default=False
FileKey1=%LocalAppData%\Adobe\Acrobat\9.0\Updater|updater.log

[skype MSI Temp*]
LangSecRef=3023
DetectFile1=%CommonAppData%\Skype
Default=False
FileKey1=%CommonAppData%\Skype|Skype.msi|RECURSE

[Avira AntiVir Logs*]
LangSecRef=3024
DetectFile1=%CommonAppData%\Avira
Default=False
FileKey1=%CommonAppData%\Avira\AntiVir Desktop\LOGFILES|*.*

[Windows ServiceProfiles\NetworkService Temps*]
LangSecRef=3025
DetectFile1=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Temp
Default=False
FileKey1=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Temp|*.txt

[Windows WinSAT Logs*]
LangSecRef=3025
DetectFile1=%WinDir%\Performance\WinSAT
Default=False
FileKey1=%WinDir%\Performance\WinSAT|winsat.log

[Windows Panther Logs*]
LangSecRef=3025
DetectFile1=%WinDir%\Panther
Default=False
FileKey1=%WinDir%\Panther|*.log

[ATI Technologies Log*]
LangSecRef=3024
DetectFile1=%ProgramFiles%\ATI Technologies
Default=False
FileKey1=%ProgramFiles%\ATI Technologies|cccutil64.txt

[ATI Installation Logs*]
LangSecRef=3024
DetectFile1=%SystemDrive%\ATI
Default=False
FileKey1=%SystemDrive%\ATI|*.*|REMOVESELF

[intel Installation Logs*]
LangSecRef=3024
DetectFile1=%SystemDrive%\Intel
Default=False
FileKey1=%SystemDrive%\Intel|*.*|REMOVESELF

[Apple Installation Temps*]
LangSecRef=3023
DetectFile=%CommonAppData%\Apple Computer
Default=False
FileKey1=%AppData%\Apple Computer\Logs|*.*
FileKey2=%CommonAppData%\Apple Computer\Installer Cache|*.*|RECURSE
FileKey3=%CommonAppData%\Apple\Installer Cache|*.*|RECURSE

[MS IE6 Installation Temps*]
LangSecRef=3025
DetectFile=%SystemDrive%
Default=False
FileKey1=%SystemDrive%|msdownld.tmp

I could explain [C:\ Logs*] entry a bit more. I found some .log & .txt files on my Asus laptop, which indicated mainly to Asus' software logs, Adobe Reader log & MBAM error-log.

Edit: Hmm somehow that entry doesn't work in winapp2.ini, but if I add it in CCleaner's include-list it works?

NEW ENTRY

[Windows Local AppData Temps*]
LangSecRef=3025
DetectFile1=%LocalAppData%\Temp
Default=False
FileKey1=%LocalAppData%\Temp|*.*|RECURSE
Warning=Removes everything in Temp-folder

You could use this to clean entire content on the Temp-folder, not just .tmp-files like in entry [Windows Local AppData .tmp*].

 

Edit: Just noticed that CCleaner itself cleans whole Temp-folder already.

Edited by nodles
Link to comment
Share on other sites

I think deleting the Apple Installer cache makes iTunes and the like very angry. At least, that's how it used to be. Can anyone confirm?

What's the symptoms there? Though you could add warning-message to that entry. On this PC I have just Quicktime installed. But it's good if you can test and report posted entries, if I've/someone else have missed something.
Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.