Jump to content
CCleaner Community Forums
Quisquose

Adding a new 'Section' to Winapp2.ini

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.

 

Share this post


Link to post
Share on other sites

Seeing as my post was not answered and just moved to "Feature Request" (even though I was not making a feature request) I'll take that as a "No" to both of my questions then.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.
 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...