Jump to content

Using portable CCleaner with PortableApps issue


wigga whambo

Recommended Posts

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 

Link to comment
Share on other sites

  • Moderators

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

 

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

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Moderators

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: [ ]

Edited by Andavari
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

  • Moderators

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.

Edited by Andavari
Link to comment
Share on other sites

  • Moderators

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

 

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

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

  • Moderators

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

 

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

Yes

 

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

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?

Link to comment
Share on other sites

  • Moderators

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

 

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

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?

Link to comment
Share on other sites

 

Again, that doesn't add only the urlclassifier3.sqlite and the webappstore.sqlite to the list.  I have to add hundreds of other entries to the list that I don't want to.  It either adds all or nothing to it. 

 

I don't want to clean all those system files using a portable version of CCleaner.  I only want to clean those two sqlite browser files that are located on my USB drive.

Link to comment
Share on other sites

Again, that doesn't add only the urlclassifier3.sqlite and the webappstore.sqlite to the list.  I have to add hundreds of other entries to the list that I don't want to.  It either adds all or nothing to it. 

 

I don't want to clean all those system files using a portable version of CCleaner.  I only want to clean those two sqlite browser files that are located on my USB drive.

are you sure you read the instruction correctly?

 

ySAyOjP.jpg

 

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.