Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts



[Yahoo Messenger Cache*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Yahoo!\Messenger\
Default=False
FileKey1=%ProgramFiles%\Yahoo!\Messenger\Cache|*.*|RECURSE
FileKey2=%ProgramFiles%\Yahoo!\Messenger\IMVCache|*.*|RECURSE

[Yahoo Messenger Logs*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Yahoo!\Messenger\
Default=False
FileKey1=%ProgramFiles%\Yahoo!\Messenger|ypager.log
FileKey2=%ProgramFiles%\Yahoo!\Messenger\Logs|*.*

[Yahoo Messenger Profiles*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Yahoo!\Messenger\
Warning=This will also delete your saved chat histories.
Default=False
FileKey1=%ProgramFiles%\Yahoo!\Messenger\Profiles|*.*|RECURSE

[Yahoo Messenger Profiles Registry Key*]
;uses its cleaning path as a detect path as well.
LangSecRef=3022
Detect=HKCU\Software\Yahoo\Profiles
Default=False
RegKey1=HKCU\Software\Yahoo\Profiles

 

better? :)

Share this post


Link to post
Share on other sites

[MediaphorAG Intaller*]
LangSecRef=3024
DetectFile=C:\MediaphorAG
Default=False
FileKey1=C:\MediaphorAG|*.*|REMOVESELF

 

It s create from some Inatallers from loadblog

Share this post


Link to post
Share on other sites

[MediaphorAG Intaller*]
LangSecRef=3024
DetectFile=C:\MediaphorAG
Default=False
FileKey1=C:\MediaphorAG|*.*|REMOVESELF

 

It s create from some Inatallers from loadblog

 

Is it always at the root of your system drive? Would

 

[MediaphorAG Intaller*]
LangSecRef=3024
DetectFile=%SystemDrive%\MediaphorAG
Default=False
FileKey1=%SystemDrive%\MediaphorAG|*.*|REMOVESELF

 

work as well?

Share this post


Link to post
Share on other sites

Looks good but the "also" can be removed from the warning= for

[Yahoo Messenger Profiles*]

 

-----------------------------

 



[Yahoo Messenger Cache*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Yahoo!\Messenger\
Default=False
FileKey1=%ProgramFiles%\Yahoo!\Messenger\Cache|*.*|RECURSE
FileKey2=%ProgramFiles%\Yahoo!\Messenger\IMVCache|*.*|RECURSE

[Yahoo Messenger Logs*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Yahoo!\Messenger\
Default=False
FileKey1=%ProgramFiles%\Yahoo!\Messenger|ypager.log
FileKey2=%ProgramFiles%\Yahoo!\Messenger\Logs|*.*

[Yahoo Messenger Profiles*]
LangSecRef=3022
DetectFile=%ProgramFiles%\Yahoo!\Messenger\
Warning=This will also delete your saved chat histories.
Default=False
FileKey1=%ProgramFiles%\Yahoo!\Messenger\Profiles|*.*|RECURSE

[Yahoo Messenger Profiles Registry Key*]
;uses its cleaning path as a detect path as well.
LangSecRef=3022
Detect=HKCU\Software\Yahoo\Profiles
Default=False
RegKey1=HKCU\Software\Yahoo\Profiles

 

better? :)

Share this post


Link to post
Share on other sites

Is it always at the root of your system drive? Would

 

[MediaphorAG Intaller*]
LangSecRef=3024
DetectFile=%SystemDrive%\MediaphorAG
Default=False
FileKey1=%SystemDrive%\MediaphorAG|*.*|REMOVESELF

 

work as well?

 

yes but I d change that:

 

LangSecRef=3021

Share this post


Link to post
Share on other sites

Could someone make some entry's for Opera, which include Website Icons(the built-in one doesn't work), VPS, and thumbnails. The files are located here:

 

Opera.png

 

I have them listed in my include list in the options section, but it would be nice to delete them when i want, not everytime i run ccleaner.

Share this post


Link to post
Share on other sites

Something like this?

[More Opera*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Opera Software
Default=False
FileKey1=%appdata%\Opera\Opera\icons|*.*|
FileKey2=%appdata%\Opera\Opera\thumbnails|*.*|
FileKey3=%appdata%\Opera\Opera\vps|*.*|

 

I haven't got Opera installed, so I can't confirm if it works.

Share this post


Link to post
Share on other sites

Something like this?

[More Opera*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Opera Software
Default=False
FileKey1=%appdata%\Opera\Opera\icons|*.*|
FileKey2=%appdata%\Opera\Opera\thumbnails|*.*|
FileKey3=%appdata%\Opera\Opera\vps|*.*|

 

I haven't got Opera installed, so I can't confirm if it works.

Tested it and it didn't work. Shouldn't the words local setting be in there for it to work?

Share this post


Link to post
Share on other sites

Tested it and it didn't work. Shouldn't the words local setting be in there for it to work?

 

Probably, as I said - it was just me quickly typing something up while checking my email/

Share this post


Link to post
Share on other sites

If you want it to delete everything in the folder, and all the subfolders, use |*.*|REMOVESELF

 

If you just want it to remove the contents of the subdirs, use |*.*|RECURSE

Share this post


Link to post
Share on other sites

If you want it to delete everything in the folder, and all the subfolders, use |*.*|REMOVESELF

 

If you just want it to remove the contents of the subdirs, use |*.*|RECURSE

Thanks a million, they both work perfectly!! :)

 

 

Here they are to be added to the next winapp2.ini version. I added one for temporary_downloads.

 

 

[More Opera*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Opera Software
Default=False
FileKey1=%localappdata%\Opera\Opera\icons|*.*|RECURSE
FileKey2=%localappdata%\Opera\Opera\thumbnails|*.*|RECURSE
FileKey3=%localappdata%\Opera\Opera\vps|*.*|RECURSE
FileKey4=%localappdata%\Opera\Opera\temporary_downloads|*.*|RECURSE




[More Opera*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Opera Software
Default=False
FileKey1=%localappdata%\Opera\Opera\icons|*.*|REMOVESELF
FileKey2=%localappdata%\Opera\Opera\thumbnails|*.*|REMOVESELF
FileKey3=%localappdata%\Opera\Opera\vps|*.*|REMOVESELF
FileKey4=%localappdata%\Opera\Opera\temporary_downloads|*.*|REMOVESELF

Share this post


Link to post
Share on other sites

Hi.

 

The following files can be safely removed for users of AVG10. I have also let MrG know...

 

C:\Documents and Settings\All Users\Application Data\AVG10\IDS\config\internalList.zip.bak

C:\Documents and Settings\All Users\Application Data\AVG10\IDS\config\quarantinedList.zip.bak

C:\Documents and Settings\All Users\Application Data\AVG10\IDS\config\userList.zip.bak

C:\Documents and Settings\All Users\Application Data\AVG10\IDS\profile\globalLoadable.bak

C:\Documents and Settings\All Users\Application Data\AVG10\Temp\file9514.tmp

 

Thanks.

Share this post


Link to post
Share on other sites

Winapp2.ini - Didn't CCleaner used to recognise if a user has Microsoft Silverlight installed? (well, I say if, more like who hasn't the way MS force feed it via windows update)

 

Just tried the current version of CCleaner with your most up to date ini and nothing seems to come up on any lists.

 

Anyway, if not, I believe the following could be added

 

[silverlight]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Microsoft\Silverlight
Default=True
FileKey1=%userprofile%\AppData\LocalLow\Microsoft\Silverlight|*.*|RECURSE

 

For cleaning out MS LSOs (Local Shared Objects), similar to Adobe's

Share this post


Link to post
Share on other sites

Borland Delphi 7 and CodeGear RAD Studio 2009

 


[borland Delphi 7*]
LangSecRef=3024
Detect=HKCU\Software\Borland\Delphi\7.0
Default=False
RegKey1=HKCU\Software\Borland\Delphi\7.0\Closed Files
RegKey2=HKCU\Software\Borland\Delphi\7.0\Closed Projects
KegKey3=HKCU\Software\Borland\Delphi\7.0\Session

[CodeGear RAD Studio 2009*]
LangSecRef=3024
Detect=HKCU\Software\CodeGear\BDS\6.0
Default=False
RegKey1=HKCU\Software\CodeGear\BDS\6.0\Closed Files
RegKey2=HKCU\Software\CodeGear\BDS\6.0\Closed Projects
KegKey3=HKCU\Software\CodeGear\BDS\6.0\Session

Share this post


Link to post
Share on other sites

Winapp2.ini - Didn't CCleaner used to recognise if a user has Microsoft Silverlight installed? (well, I say if, more like who hasn't the way MS force feed it via windows update)

 

Just tried the current version of CCleaner with your most up to date ini and nothing seems to come up on any lists.

 

Anyway, if not, I believe the following could be added

 

[silverlight]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Microsoft\Silverlight
Default=True
FileKey1=%userprofile%\AppData\LocalLow\Microsoft\Silverlight|*.*|RECURSE

 

For cleaning out MS LSOs (Local Shared Objects), similar to Adobe's

Silverlight is now detected by CCleaner without Winapp2 (as of the latest version)

[Microsoft Silverlight]
ID=2169
LangSecRef=3023
DetectFile=%LocalAppData%\Microsoft\Silverlight\is
DetectFile2=%LocalLowAppData%\Microsoft\Silverlight\is
Default=True
FileKey1=%LocalAppData%\Microsoft\Silverlight\is|*.*|RECURSE 
FileKey2=%LocalLowAppData%\Microsoft\Silverlight\is|*.*|RECURSE
ExcludeKey1=FILE|%LocalAppData%\Microsoft\Silverlight\is\*\|disabled.dat
ExcludeKey2=FILE|%LocalLowAppData%\Microsoft\Silverlight\is\*\|disabled.dat

the issue I see here with what you posted was you didn't have the excludekey thus deleted the entire is directory thus when you updated winapp2 and ccleaner it no longer saw anything

Share this post


Link to post
Share on other sites

the issue I see here with what you posted was you didn't have the excludekey thus deleted the entire is directory thus when you updated winapp2 and ccleaner it no longer saw anything

 

Aah, I see my bad, thank you.

 

Edit: Erm, just checked, Version 3.02.1343 CCleaner, downloaded a fresh version of the latest winapp2.ini linked in the OP (without any meddling by myself) - CCleaner is not listing Microsoft Silverlight for cleanout anywhere :unsure:

 

OS = Win 7 x 32

Share this post


Link to post
Share on other sites

ExcludeKey1=FILE|%LocalAppData%\Microsoft\Silverlight\is\*\|disabled.dat

ExcludeKey2=FILE|%LocalLowAppData%\Microsoft\Silverlight\is\*\|disabled.dat[/code]

 

Is that some wildcard folder support?

 

Alas, seems tis not so.

Share this post


Link to post
Share on other sites

I see that uTorrent is added. Is there a way to clean old .torrent files in the "..\AppData\Roaming\uTorrent" as well? I don't know if there is a way to check if uTorrent is using or not, that's the only issue.

Share this post


Link to post
Share on other sites

I see that uTorrent is added. Is there a way to clean old .torrent files in the "..\AppData\Roaming\uTorrent" as well? I don't know if there is a way to check if uTorrent is using or not, that's the only issue.

 

Hahahah! I lost about 15 torrents trying to do this. I really don't recommend anyone follow in my failed footsteps. The only way I can think to do this is with some sort of VBScript, then call it from CCleaner. See psuedo code*:

 

Imports DotNetUtils
Dim u As New VBUtils

If u.ProcessRunning(uTorrent.exe) = True Then  '//Check if uTorrent is running. This is so it prevents deletion of torrents in use.
For Each torrent As String In System.Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & \Roaming\uTorrent, *.*
If System.IO.Path.GetExtension(torrent) = ".torrent" Then '//Make sure the file extension is .torrent
If u.FileInUse(torrent) = False Then  '//Check whether uTorrent is using the file.
Try
My.Computer.FileSystem.DeleteFile(torrent)
Catch ex As Exception
MessageBox.Show("Could not delete file.)
End If
Next
End If

 

 

*Well, .NET code actually - I've never actually had the need to write VBScript before. Anyone wanting to try the above code will need the DotNetUtils DLL.

Share this post


Link to post
Share on other sites

Adobe Acrobat 9.0 (should work with Acrobat 9 Standard, Acrobat 9 Pro and Acrobat 9 Pro Extended).

 

[Adobe Acrobat 9.0 Most Recent Files*] 
LangSecRef=3021 
Detect=HKCU\Software\Adobe\Adobe Acrobat\9.0 
Default=False 
RegKey1=HKCU\Software\Adobe\Adobe Acrobat\9.0\AVGeneral\cRecentFiles

Share this post


Link to post
Share on other sites

Hahahah! I lost about 15 torrents trying to do this. I really don't recommend anyone follow in my failed footsteps. The only way I can think to do this is with some sort of VBScript, then call it from CCleaner. See psuedo code*:

 

Imports DotNetUtils
Dim u As New VBUtils

If u.ProcessRunning(uTorrent.exe) = True Then  '//Check if uTorrent is running. This is so it prevents deletion of torrents in use.
For Each torrent As String In System.Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & \Roaming\uTorrent, *.*
If System.IO.Path.GetExtension(torrent) = ".torrent" Then '//Make sure the file extension is .torrent
If u.FileInUse(torrent) = False Then  '//Check whether uTorrent is using the file.
Try
My.Computer.FileSystem.DeleteFile(torrent)
Catch ex As Exception
MessageBox.Show("Could not delete file.)
End If
Next
End If

 

 

*Well, .NET code actually - I've never actually had the need to write VBScript before. Anyone wanting to try the above code will need the DotNetUtils DLL.

 

I also tried this a while ago, while running ?Torrent, however I only use analyze when testing new entries, and that was enough for me to see it doesn't work. I wonder why ?Torrent doesn't lock its "in use" torrent files.

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