Hi, when i tried to add a custom path to my portable firefox in ccleaner.ini like this:
CustomLocation2=FIREFOX|D:\Program Files\FireFox\Firefox\%AppData%\Mozilla\Firefox\Profiles\jepi9yqn.default
it doesn't work! ( I'm using ThinApp for firefox )
I think because the path string contains %AppData%
thanks
nodles
July 13, 2012, 12:57pm
2
Windows & CCleaner versions?
Do you have more than one CustomLocations (do they work)?
You could try to remove the last folder in the end of the path (jepi9yqn.default) and see if it works.
I have 2 CustomLocations:
CustomLocation1=OPERA|D:\Program Files\Opera\profile
CustomLocation2=FIREFOX|D:\Program Files\FireFox\Firefox\%AppData%\Mozilla\Firefox\Profiles\jepi9yqn.default
And yes also tried to remove "\jepi9yqn.default" from the path and still not detect Firefox.
It was detected before i changed firefox portable package from PortableApps to ThinApp that have %AppData% in it's path.
Windows 7 Ultimate x64 SP1 - CCLeaner v3.20.1750 (x64)
EDIT: BTW it's shows in CCLeaner but it cannot detect files ( cookies, cache, etc... ) when analyzing...
"%AppData%" is an environmental variable in CCleaner, so it's possible that your include is being rewritten internally.
Yes, that's why it doesn't work with VMware ThinApp! until the the environmental path being ignored when reading CustomLocation if exists in INI file.
Alan_B
July 13, 2012, 2:10pm
6
There was a similar problem last month with Thinstall
http://forum.pirifor...showtopic=35968
Your problem is that, for example on my specific computer
C:\Users\Alan>set ap
APPDATA=C:\Users\Alan\AppData\Roaming
and CCleaner therefore expands your path
CustomLocation2=FIREFOX|D:\Program Files\FireFox\Firefox\%AppData% \Mozilla\Firefox\Profiles\jepi9yqn.default as being
CustomLocation2=FIREFOX|D:\Program Files\FireFox\Firefox\C:\Users\Alan\AppData\Roaming \Mozilla\Firefox\Profiles\jepi9yqn.default
Yes exactly, it expand the path.
There is a simple way to resolve this problem by making CCleaner determine if there is a string (path) before %AppData% or not like this:
CustomLocation2=FIREFOX|D:\Program Files\FireFox\Firefox\%AppData%\Mozilla\Firefox\Profiles\jepi9yqn.default
it contains "D:\Program Files\FireFox\Firefox\" before %AppData% So CCleaner will ignore this environment path ( or any environment variable )
Otherwise if:
CustomLocation2=FIREFOX|%AppData%\Mozilla\Firefox\Profiles\jepi9yqn.default
CCleaner will use this environment path.
So i hope this problem to be fixed soon.
Nergal
July 13, 2012, 4:38pm
8
this isn't going to happen, as was discussed in thread Alan pointed too. what you are asking is a COMPLETE rewrite of how this program, ccleaner, processes its logic.
Thinstall apps are made to be portable, they really don't fall under ccleaner's purview. especially because this is a browser, you should use the program's inbuilt cleaner or an add-on within the browser
That's will be a problem for me ( because it's related to all ThinApp portable package, not firefox only )
but anyway thanks all.
You could try creating a junction point to redirect around the %AppData% directory. It would work; but would be super messy. Nergal's suggestion is the best one.