Jump to content
CCleaner Community Forums
Elandril

Path-Problems with localized Windows

Recommended Posts

Hi,

 

I've had a look at winapp.ini since I noticed that some entries never find anything to delete or don't even show up, although I have that application installed. I'm using a German Windows XP.

 

In winapp.ini there are many detection and removal paths defined like "%userprofile%\Application Data\..." or "%userprofile%\Local Settings\...". This however does not work for localized verisons of Windows where these paths can have different names. The German version for example uses "Anwendungsdaten" instead of "Application Data" and "Lokale Einstellungen" instead of "Local Settings".

 

Here is a small translation table for German Windows:

"%userprofile%\Application Data\..." ____________<--------> "%userprofile%\Anwendungsdaten\..."

"%userprofile%\Local Settings\..." ______________<--------> "%userprofile%\Lokale Einstellungen\..."

"%userprofile%\Local Settings\Application Data\..." <--------> "%userprofile%\Lokale Einstellungen\Anwendungsdaten\..."

(sorry for the _____, but I couldn't get a table otherwise)

 

To provide support for all localized versions of Windows, I think it would be better, if CCleaner didn't use the environment variables, but rather determine these paths by the appropriate calls to the windows api. So you can always get the correct paths, even when someone completely modified their profile paths (which some people do for security reasons) or if their (server-based) profiles are divided on different servers. You then could replace those parts of the paths from the winapp.ini file with plaeholders and fill these with the API-determined values.

 

best regards,

Elandril

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