Jump to content
CCleaner Community Forums

Winapp2.ini additions


Recommended Posts

  • Moderators

learned a new trick for DetectOS

 

if you place a pipe (|) infront of the OS number it'll only cover that OS version (and I believe lower)

 

e.g.

 

[Windows XP Error Reporting*]

LangSecRef=3003

LangRef=3149

Default=False

DetectOS=|5.2

FileKey1=%windir%\pchealth\ERRORREP\|*.*|RECURSE

 

only shows on windows XP and lower

 

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.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to post
Share on other sites

Hi,

 

There are:

 

: occurances of "RECURSE|REMOVESELF" which can just have "RECURSE"

 

: some lines end in "|" which is not necessary

 

: Entry [AOL 9.1*] does not work.

I have WinXP and I have AOL 9.1 but it does not show up.

Narrowed down to the Detectfile entry -

 

C:\Documents and Settings\Charles\Application Data\AOL\C_AOL 9.1

 

so the problem is the "_" between L and 9 should be a space.

 

"C:\Documents and Settings\All Users\Application Data\AOL\C_AOL 9.1\bart"

should be "*.*|RECURSE" ....

 

: Some entries have "*" before product name like "[*BreezeBrowser Pro]" where

most are after product name.

 

: [Free Download Manager*]

The RegKey lines have some stuff at EndOfLine that doesn't make sense

 

: Some FileKeys have "\|" while most have "|"; Be nice to just have one

or the other...

 

: Please add:

[AOL AIM Messenger*]

Default=False

DetectFile=%appdata%\acccore\caches\bart

FileKey1=%appdata%\acccore\caches\bart|*.*|RECURSE

FileKey2=%LocalAppData%\AIM\Settings\aolbartcache|*.*|RECURSE

LangSecRef=3022

 

 

 

Link to post
Share on other sites

I also tried this a while ago, while running ?Torrent, however I only use analyze when testing new entries, and that was enough for me to see it doesn't work. I wonder why ?Torrent doesn't lock its "in use" torrent files.

 

That is odd. I also wonder why, they wouldn't.

I put in a request on the uTorrent forums: http://forum.utorrent.com/viewtopic.php?id=91974

Link to post
Share on other sites

Internet Download Accelerator (IDA)

 

 

[internet Download Accelerator*]
LangSecRef=3022
Detect=HKCU\Software\2VG\Internet Download Accelerator
Default=True
FileKey1=%AppData%\Internet Download Accelerator|history.xml
FileKey2=%AppData%\Internet Download Accelerator|nodelist.xmlc
FileKey3=%AppData%\Internet Download Accelerator\temp|*.hnt
FileKey4=%AppData%\Internet Download Accelerator\temp|lastnews.*
FileKey5=%AppData%\Internet Download Accelerator\temp|playflv.html

 

Beyond Compare 3

 

[beyond Compare 3*]
LangSecRef=3021
Detect=HKLM\Software\Scooter Software\Beyond Compare 3
Default=True
FileKey1=%AppData%\Scooter Software\Beyond Compare 3|*.bak
FileKey2=%AppData%\Scooter Software\Beyond Compare 3|BCCommands.xml
FileKey3=%AppData%\Scooter Software\Beyond Compare 3|BCSessions.xml

Link to post
Share on other sites

Good idea !

but K-meleon has already this option ( automatic cleaning ) :)

 

This functionality in K-Meleon is provided by a "Privacy plugin" that, unfortunately, doesn't always work as expected. In version 1.6beta 2 for example, it is bugged and the history cleaning on it doesn't work at all (you have to go to the preferences window to clean history).

 

Please, help add K-Meleon to the Winapp2.ini File!

Link to post
Share on other sites

This functionality in K-Meleon is provided by a "Privacy plugin" that, unfortunately, doesn't always work as expected. In version 1.6beta 2 for example, it is bugged and the history cleaning on it doesn't work at all (you have to go to the preferences window to clean history).

 

Please, help add K-Meleon to the Winapp2.ini File!

 

It works fine (even with the beta) on my K-Meleon :)

Link to post
Share on other sites

Restorator 2007

 

[Restorator 2007*]
LangSecRef=3021
Detect=HKCU\Software\Bomers\Restorator
Default=False
RegKey1=HKCU\Software\Bomers\Restorator\Restorator\Current|LastSearchString
RegKey2=HKCU\Software\Bomers\Restorator\Restorator\FindDialog
RegKey3=HKCU\Software\Bomers\Restorator\Restorator\GrabDialog
RegKey4=HKCU\Software\Bomers\Restorator\Restorator\LastFoundFiles
RegKey5=HKCU\Software\Bomers\Restorator\Restorator\MRUList

 

BTW is there a way to edit .INI file sections?

Link to post
Share on other sites
  • Moderators

BTW is there a way to edit .INI file sections?

I don't understand the question. can you expand what you mean?

 

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.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to post
Share on other sites

I don't understand the question. can you expand what you mean?

Anyway of NOT deleting the .INI file to preserve settings, only editing it to remove MRU stuff example

 

UniExtract.ini

[uniExtract Preferences]
globalprefs=1
history=1
appendext=1
removetemp=1
removedupe=1
warnexecute=1
debugdir=%temp%
[File History]
0=C:\Users\Ricardo\Desktop\wpi.msi
3=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.1.1014_PV.exe
5=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1008_PV.exe
6=C:\Users\Ricardo\Downloads\wintv7setup.exe
7=C:\Users\Ricardo\Documents\Projects\dotNETMaker\dotNETfx\DNF11\netfx.msi
8=C:\Users\Ricardo\Desktop\Seven Remix XP 2.41.exe
9=C:\Users\Ricardo\Downloads\EP0000156866.exe
2=F:\Microsoft\Drivers\Se7en\INF_allOS_9.2.0.1021_PV.exe
1=F:\wpi\Install\SkypeSetup.msi
4=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1007_PV.exe
[Directory History]
0=C:\Users\Ricardo\Desktop\wpi
3=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.1.1014_PV
5=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1008_PV
6=C:\Users\Ricardo\Downloads\wintv7setup
7=C:\Users\Ricardo\Documents\Projects\dotNETMaker\dotNETfx\DNF11\netfx
8=C:\Users\Ricardo\Desktop\Seven Remix XP 2.41
9=C:\Users\Ricardo\Downloads\EP0000156866
2=F:\Microsoft\Drivers\Se7en\INF_allOS_9.2.0.1021_PV
1=F:\wpi\Install\SkypeSetup
4=F:\Microsoft\Drivers\Se7en\INF_allOS_9.1.2.1007_PV

 

Code could go something like

 

[universal Extractor*]
LangSecRef=3021
DetectFile=%ProgramFiles%\Universal Extractor\UniExtract.exe
Default=False
; This will delete all that is present under a ini section
FileKey1=%ProgramFiles%\Universal Extractor|UniExtract.ini|File History,*
; This will delete only a specified value (8=*)
FileKey2=%ProgramFiles%\Universal Extractor|UniExtract.ini|Directory History,8

 

Its just a rough example to show you what I mean, you guys may know better how to code winapp2.ini

Link to post
Share on other sites
  • Bug Fixers

We are working on adding support to clean various types of document/content. INI files will be one of them! Coming soon! :)

Link to post
Share on other sites
  • Moderators

We are working on adding support to clean various types of document/content. INI files will be one of them! Coming soon! :)

That's awesome news. :)

 

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.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to post
Share on other sites

We are working on adding support to clean various types of document/content. INI files will be one of them! Coming soon! :)

Happy to hear, cant wait :)

 

OH and please dont forget to add the 3 new program cleaning entries of mine (Restorator 2007, IDA and Beyond Compare 3) to Winapp2.ini, I use and have tested them and they all work gr8

Link to post
Share on other sites

Wildcard support would be nice too! (For folders!)

Yea, I saw that in the Web Platform Installer thread and thought it would be cool...this program that I did would benefit from it, making it work for all versions of the app and not just the one

 

[beyond Compare 3*]
LangSecRef=3021
Detect=HKLM\Software\Scooter Software\Beyond Compare 3
Default=True
FileKey1=%AppData%\Scooter Software\Beyond Compare 3|*.bak
FileKey2=%AppData%\Scooter Software\Beyond Compare 3|BCCommands.xml
FileKey3=%AppData%\Scooter Software\Beyond Compare 3|BCSessions.xml

 

To make compatible with all versions it would go like this (would also be nice to add wildcard support for reg)

 

[beyond Compare*]
LangSecRef=3021
Detect=HKLM\Software\Scooter Software\Beyond Compare*
Default=True
FileKey1=%AppData%\Scooter Software\Beyond Compare*|*.bak
FileKey2=%AppData%\Scooter Software\Beyond Compare*|BCCommands.xml
FileKey3=%AppData%\Scooter Software\Beyond Compare*|BCSessions.xml

Link to post
Share on other sites

Well that wasn't quite how I was using it there, but you seem to have gotten the point! Another advantage of this would be

 

%AppData%\Scooter Software\*|*.bak

which is admittedly the same as \Scooter Software|*.bak|Recurse but the idea is essentially what you said, where it could be affixed to the end of a folder name to make it cross version compatible.

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
×
×
  • Create New...