Jump to content

Adding a new 'Section' to Winapp2.ini


Quisquose

Recommended Posts

I've created a Winapp2.ini file from scratch in order to include some additions to the CCleaner Applications list.

I have created a new Section, but there are a couple of issue:

1. Is it possible to specify the location of the new section? (it currently always appears at the very bottom of the list, regardless of what the name of the new section is).

2. Is it possible to assign an icon to the section (seeing as all the other sections have icons). To clarify, I am not talking about adding an icon beside an individual application name entry, I'm talking about the new Section header.

 

Link to comment
Share on other sites

  • Moderators

Correct, neither of those features are available as far as I know.  Best place to ask (as this is a community of users) is the winapp2 thread as some of the contributors have been working with the file going longer than a decade, and watch for posters in the thread.

 

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

  • Moderators

I moved it to the CCleaner Suggestions area because if it were to be implemented it would likely have to be coded into CCleaner by Piriform. I'd imagine they'd have to code in something for us to use official icons from installed programs we create custom cleaning entries.

Section= doesn't use a LangSecRef=, so it's not too surprising CCleaner wouldn't bother ordering it by alphabetization. I assume those of us using Section= is sort of a hack that we're luckily allowed to use but in doing so it gets regulated to end of list, I don't like it either but it is what it is.

Link to comment
Share on other sites

I have now managed to get it exactly how I wanted.

I've got each browser in its own section, each with its own set of independent controls. Doing an 'Analysis' shows the results separately for each browser (even if the same category has been selected for all of them).

ICmmSKS.png

I really didn't like the fact that by default multiple (Mozilla) browsers get controlled by only one set of checkboxes for Firefox. For ages I thought that I'd made a mistake in my winapp2.ini because even after I had added Waterfox it did not show up anywhere in the main window or in the results.

It was only after ages of trying to figure out the problem that I realised the cache size results were incorrect for my Firefox install; it was way too big. I then realised that the "Firefox" result being reported was for both Firefox and Waterfox combined. It was only then that I noticed you can double click on the analysis results to see a breakdown of the individual files and, sure enough, there were items from both browser folder locations listed in the results.

Having multiple browsers all listed under a 'Firefox' entry is confusing (and inaccurate). That's why I wanted to use sections to separate them.

I therefore scrapped the idea of using winapp2.ini and instead switched to winapp1.ini so that I could make my list from scratch. I didn't want to do this at first because I thought that it would mean me having to manually recreate all of the other sections settings in addition to my own custom browser settings that I was adding. But once I found the ready-made default set of ini entries, it allowed me to still have access to all the built-in defaults, but in a customizable format that I could edit however I wanted.
 

Link to comment
Share on other sites

  • Moderators
4 hours ago, Quisquose said:

Having multiple browsers all listed under a 'Firefox' entry is confusing (and inaccurate). That's why I wanted to use sections to separate them.

That's why for SRWare Iron Portable I've used my own winapp2.ini cleaners for years, so it has it's own unique area not labeled under Google Chrome. Plus I can see the difference between the default built-in cleaners vs mine which clean more.

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.