Using portable CCleaner with PortableApps issue

Hello,

I just added portable CCleaner to my PortableApps USB stick and I'd like to configure it so it will clean not just the C:\ profiles on my HD but the USB (G:\ or F:\) portable Firefox, portable Chrome and portable Thunderbird profiles as well. All the cache files, temp files, etc that you would normally clean off your HD files that would apply to the USB stick. As much as it is technically possible to do so, within the limitations of the USB profiles.

How do I set this up? Is there a special file I need to add? Or custom paths to add to Options -> Include dialog box or what?

Thanks

Firefox and thunderbird support custom locations (it works great for me)

http://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/how-to-clean-user-data-from-non-standard-mozilla-browsers

Other programs you'll need to make a winapp2 entry based to the original entry for the program (gotten by running ccleaner.exe/export ) with pointers pointing at your drive

however your drive will always need to mount on the same drive letter for these entries to work

Let's say the USB is called G:\

I have the following folder set-up shown here...

http://imgur.com/QGEaId4

Where is ccleaner.ini located at?

And would the following be seen as...?

CustomLocation1=FIREFOX|[G:\PortableApps\FirefoxPortable]

CustomLocation2=FIREFOX|[G:\PortableApps\ThunderbirdPortable]

There are a lot of subfolders under the G:\PortableApps\FirefoxPortable\Data\profile folder as well. Also in Thunderbird.

On a side note, can you embed images (instead of using a URL link) directly into the posts from Imgur here as well?

I tried using the URL options Imgur suggested on the side of that webpage and none of them worked when clicking your forum's Image button.

You can upload images using the "More Reply Options" button or "Use Full Editor" button. Then scroll down to attach files. Do note that it's probably wise to use an external/3rd party image host since you won't have a file storage limit like this forum has.

--------

With Firefox on your drive G:, you'd need to point it to the full path where the profile folder is located, like this:

CustomLocation1=FIREFOX|G:\PortableApps\FirefoxPortable\Data\profile

Edit:

Don't use these brackets in your path: [ ]

With Firefox on your drive G:, you'd need to point it to the full path where the profile folder is located, like this:

CustomLocation1=FIREFOX|G:\PortableApps\FirefoxPortable\Data\profile

Edit:

Don't use these brackets in your path: [ ]

So where would I put this path? Under Options->Include?

And what about Thunderbird?

This whole thing isn't terribly clear to me...

You paste it into the ccleaner.ini file.

As for Thunderbird I don't know because I've never used it. Perhaps someone that uses it will chime in and paste what the correct path is.

Thunderbird: replace the word Firefox with thunderbird and point it at your profile path on G drive

You paste it into the ccleaner.ini file.

Where is the ccleaner.ini file at?

Perhaps this may help you

https://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/what-do-ccleaners-ini-files-do

ccleaner.ini is in the same exact folder where the CCleaner.exe file is located. So if you also have it on your drive G:\ lets say in "G:\CCleaner Portable", then ccleaner.ini would be in there.

Ok so let me see if I understand this. I found ccleaner.ini under G:\PortableApps\CCleanerPortable and I open it as a text file? Yes?

Then I add the following paths at the top of the list?

CustomLocation1=FIREFOX|G:\PortableApps\FirefoxPortable\Data\profile

CustomLocation2=THUNDERBIRD|G:\PortableApps\ThunderbirdPortable\Data\profile

CustomLocation3=CHROME|G:\PortableApps\GoogleChromePortable\Data\profile

Then I save the txt file as an .ini file again? Yes?

Sorry for all the questions but I've never done this before...

If those are the profile locations then yes that should be correct

And this will clear out browser cookies, temp files, cache files, active sessions, etc... for the Firefox and Chrome browsers when I run CCleaner portable.

Yes?

All just by pointing to each one's profile folder?

Yes

Well it seems to work. This is the contents of my .ini file

~

[Options]

CustomLocation1=FIREFOX|G:\PortableApps\FirefoxPortable\Data\profile

CustomLocation2=THUNDERBIRD|G:\PortableApps\ThunderbirdPortable\Data\profile

CustomLocation3=CHROME|G:\PortableApps\GoogleChromePortable\Data\profile

UpdateKey=01/19/2015 03:05:55 AM

WipeFreeSpaceDrives=G:\

CookiesToSave=*.piriform.com|google.com

RunICS=0

CheckTrialOffer=0

WINDOW_MAX=1

WINDOW_LEFT=240

WINDOW_TOP=80

WINDOW_WIDTH=800

WINDOW_HEIGHT=600

WipeMFTFreeSpace=0

AnalyzerTypes=1|1|1|1|0|0|0

SystemAnalyzerDrives=G:\

FinderInclude1=PATH|C:|.|RECURSE

FinderInclude2=PATH|F:|.|RECURSE

FinderInclude3=PATH|G:|.|RECURSE

FinderIncludeStates=0|0|1

(App)Mozilla - Site Preferences=True

(App)Mozilla - Compact Databases=False

(App)DNS Cache=True

(App)Java=True

(App)ImgBurn=True

ShowCleanWarning=False

Monitoring=0

(App)Google Chrome - Compact Databases=False

(App)Thunderbird - Compact Databases=False

(App)Game Explorer=True

~

Does that look right?

The custom locations look alright.

If you want to clean even more in those browsers have a look at the community winapp2.ini file.

The custom locations look alright.

If you want to clean even more in those browsers have a look at the community winapp2.ini file.

I've heard about that. I also hear it slows down CCleaner quite a bit. Any way to speed that up?

I've heard about that. I also hear it slows down CCleaner quite a bit. Any way to speed that up?

The only part of it that slows ccleaner down is using the whole file as it is. A user should either comb through the file and pick only the applications that they use (takes a long time to do) or run the trim.bat file which you can also find on the winapp2 distribution site.

Here's a thread on this .bat file

http://forum.piriform.com/index.php?showtopic=34642

At this point in time, the only thing I would want to add to the standard ccleaner.ini would be the urlclassifier3.sqlite and the webappstore.sqlite for those supercookies that don't normally get cleaned out of the temp files. How would I add just those?

And can I clean those out of Chrome as well?