Jump to content
CCleaner Community Forums

Browser CustomLocation doesn't work with VMware ThinApp!


leecherman

Recommended Posts

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

"%AppData%" is an environmental variable in CCleaner, so it's possible that your include is being rewritten internally.

Link to post
Share on other sites

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

Link to post
Share on other sites

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.

Link to post
Share on other sites
  • Moderators

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...