Jump to content
CCleaner Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

 

Looking over the entries closer  - the JDownloader2 install forces into %LocalAppData% so I have made the necessary modifications and have contacted support to verify if this is all the cleaning that can be done.  so far it's just:

[JDownloader2 Logs*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Classes\JDownloader2
Default=False
FileKey1=%LocalAppData%\JDownloader*2*|JDownloader.log;Updater_*-*-*.log;SessionInstallLog.json.*|RECURSE
FileKey2=%LocalAppData%\JDownloader*2*\logs|*.*|RECURSE

[JDownloader2 Temps*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Classes\JDownloader2
Default=False
FileKey1=%LocalAppData%\JDownloader*2*\tmp|*.*|RECURSE
FileKey2=%LocalAppData%\JDownloader*2*\captchas|*.*|RECURSE
;
; Be carefull to add files from the cfg folder!!! User settings!
; Please exclude subconf_*.ejs
; files
;
FileKey3=%LocalAppData%\JDownloader*2*\cfg|CaptchaDialogDimensions_*.json

Share this post


Link to post
Share on other sites

These modifications were missed in the update.

 

[AVG PC TuneUp & TuneUp Utilities Logs*] Added FileKey4 & FileKey5

 

[AVG PC TuneUp & TuneUp Utilities Reg Defrag Cleanup*]  Added FileKey11 & FileKey12

[AVG PC TuneUp & TuneUp Utilities Logs*]
LangSecRef=3024
Detect1=HKCU\Software\TuneUp
Detect2=HKCU\Software\AVG\AWL\RegistryCleaner
Default=False
FileKey1=%LocalAppData%\TuneUp Software|*.log|RECURSE
FileKey2=%CommonAppData%\TuneUp Software\TuneUp Utilities *|*.log|RECURSE
FileKey3=%LocalAppData%\Avg\Log\|*.log;zappapi.log.1|RECURSE
FileKey4=%LocalAppData%\AvgSetupLog\|*.*|REMOVESELF
FileKey5=%LocalAppData%\Avg\AWL*\Log\|*.log

[AVG PC TuneUp & TuneUp Utilities Reg Defrag Cleanup*]
LangSecRef=3024
Detect1=HKCU\Software\TuneUp\Utilities\10.0
Detect2=HKCU\Software\TuneUp\Utilities\12.0
Detect3=HKCU\Software\TuneUp\Utilities\13.0
Detect4=HKCU\Software\TuneUp\Utilities\14.0
Detect5=HKCU\Software\AVG\AWL\RegistryCleaner
Default=False
FileKey1=%LocalAppData%\Microsoft\Windows|USRCLASS.DAT_tureg_new.LOG*;USRCLASS.DAT_tureg_old
FileKey2=%SystemDrive%\Boot|BCD_tureg_new.LOG*;BCD_tureg_old
FileKey3=%SystemDrive%\Documents and Settings\LocalService|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey4=%SystemDrive%\Documents and Settings\LocalService.NT*|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey5=%SystemDrive%\Documents and Settings\NetworkService|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey6=%SystemDrive%\Documents and Settings\NetworkService.NT*|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey7=%UserProfile%|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey8=%WinDir%\ServiceProfiles\LocalService|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey9=%WinDir%\ServiceProfiles\NetworkService|NTUSER.DAT_tureg_new.LOG*;NTUSER.DAT_tureg_old
FileKey10=%WinDir%\System32\config|COMPONENTS_tureg_new.LOG*;COMPONENTS_tureg_old;DEFAULT_tureg_new.LOG*;DEFAULT_tureg_old;SAM_tureg_new.LOG*;SAM_tureg_old;SECURITY_tureg_new.LOG*;SECURITY_tureg_old;SOFTWARE_tureg_new.LOG*;SOFTWARE_tureg_old;SYSTEM_tureg_new.LOG*;SYSTEM_tureg_old;DRIVERS_tureg_new.LOG*;DRIVERS_tureg_old
FileKey11=%WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\|USRCLASS.DAT_tureg_old;USRCLASS.DAT_tureg_new.LOG*
FileKey12=%WinDir%\ServiceProfiles\LocalService\AppData\Local\Microsoft\Windows\|USRCLASS.DAT_tureg_old;USRCLASS.DAT_tureg_new.LOG*

Share this post


Link to post
Share on other sites

 

Looking over the entries closer  - the JDownloader2 install forces into %LocalAppData% so I have made the necessary modifications and have contacted support to verify if this is all the cleaning that can be done.  so far it's just:

[JDownloader2 Logs*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Classes\JDownloader2
Default=False
FileKey1=%LocalAppData%\JDownloader*2*|JDownloader.log;Updater_*-*-*.log;SessionInstallLog.json.*|RECURSE
FileKey2=%LocalAppData%\JDownloader*2*\logs|*.*|RECURSE

[JDownloader2 Temps*]
LangSecRef=3022
Detect=HKLM\SOFTWARE\Classes\JDownloader2
Default=False
FileKey1=%LocalAppData%\JDownloader*2*\tmp|*.*|RECURSE
FileKey2=%LocalAppData%\JDownloader*2*\captchas|*.*|RECURSE
;
; Be carefull to add files from the cfg folder!!! User settings!
; Please exclude subconf_*.ejs
; files
;
FileKey3=%LocalAppData%\JDownloader*2*\cfg|CaptchaDialogDimensions_*.json

 

 

Interesting, but have you a Jdownloader folder in LocalAppData ??? 

On my Pc theres no folder ......

_______________________________________________

also an answer:

board. jdownloader.org/showthread.php?p=308146#post308146

Edited by back_track

Share this post


Link to post
Share on other sites

Seems you forgot again to change this entry in [MS IE6 Installation Temps*]:

DetectFile2=%WinDir%|msdownld.tmp

to:

DetectFile2=%WinDir%\msdownld.tmp

And here is an issue with deleting log files in [Logs*] for Google Chrome:

For extensions that manage localstorage from chrome's localstorage API as you can see here: http://stackoverflow.com/questions/17774857/where-is-chrome-extensions-chrome-storage-local-data-saved, the localstoage is recorded in a .log file in "User Data\*\Local Extension Settings" so in order to delete .log files you'll have to add some exclude keys for extensions and apps paths like this:

ExcludeKey1=PATH|%LocalAppData%\Google\Chrome\User Data\*\Local Extension Settings\|*.*
ExcludeKey2=PATH|%LocalAppData%\Google\Chrome\User Data\*\Local App Settings\|*.*

Share this post


Link to post
Share on other sites

Interesting, but have you a Jdownloader folder in LocalAppData ??? 

On my Pc theres no folder ......

_______________________________________________

also an answer:

board. jdownloader.org/showthread.php?p=308146#post308146

 

It depends what version of JDownloader you have - if JDownloader1 there will bw no %LocalAppData%\JDownloader*2*\ folder but if you have JDownloader 2 you wil have %LocalAppData%\JDownloader*2*\ .....

 

I don't think OS version even matters here...  just program version....

Share this post


Link to post
Share on other sites

 

(and other missed entries) - Whoops! Bit scatter brained last night, hehe.

I assume the entries I re-posted that Neverbloom had were denied/already included in CCleaner?

 

I included some of them (or added them to existing entries where applicable) but a lot of them wanted to do RECURSE from the rootdir which is a bit of a no-no speed wise

Share this post


Link to post
Share on other sites

I contacted JDownloader support and sent the rules for comment; this is what he replied:

ProgramFiles%\JDownloader\.junique <<--- do not remove as it will destroy *instance* detection. can lead to starting jdownloader twice

 Program Files*\JDownloader\captchas <<<-- should be clean, no need to remove (only in case when jd crashes, files might be left)

 log folder does clean itself (only keeps last x items) and no logs -> hard to help in case of problems

 tmp folder -> will cause longer start times as jdownloader needs to create plugin cache again and again

Share this post


Link to post
Share on other sites

Thanks for the update.

 

You forgot to modify the one listed below. It is completely safe. Most of the privacy eraser programs use this way.

 

[Windows DRM Cache*]
LangSecRef=3025
Detect=HKLM\Software\Microsoft\DRM
Default=False
FileKey1=%CommonAppData%\Microsoft\Windows\DRM\Cache|*.*|RECURSE
FileKey2=%LocalAppData%\VirtualStore\ProgramData\Microsoft\Windows\DRM\Cache|*.*|RECURSE

Share this post


Link to post
Share on other sites

- Additions for Visual Studio 2013
[MS Visual Studio Backup*]
FileKey5=%Documents%\Visual Studio 2013\Backup Files|*.*|RECURSE

[MS Visual Studio MRU*]
RegKey11=HKCU\Software\Microsoft\VisualStudio\12.0\FileMRUList
RegKey12=HKCU\Software\Microsoft\VisualStudio\12.0\ProjectMRUList

[MS Visual Studio Search History*]
RegKey201=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find
RegKey202=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 0
RegKey203=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 1
RegKey204=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 2
RegKey205=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 3
RegKey206=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 4
RegKey207=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 5
RegKey208=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 6
RegKey209=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 7
RegKey210=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 8
RegKey211=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 9
RegKey212=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 10
RegKey213=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 11
RegKey214=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 12
RegKey215=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 13
RegKey216=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 14
RegKey217=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 15
RegKey218=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 16
RegKey219=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 17
RegKey220=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 18
RegKey221=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Find 19
RegKey222=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace
RegKey223=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 0
RegKey224=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 1
RegKey225=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 2
RegKey226=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 3
RegKey227=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 4
RegKey228=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 5
RegKey229=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 6
RegKey230=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 7
RegKey231=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 8
RegKey232=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 9
RegKey233=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 10
RegKey234=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 11
RegKey235=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 12
RegKey236=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 13
RegKey237=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 14
RegKey238=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 15
RegKey239=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 16
RegKey240=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 17
RegKey241=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 18
RegKey242=HKCU\Software\Microsoft\VisualStudio\12.0\Find|Replace 19

- Missing for Visual Studio 20*
[MS Visual Studio Search History*] // Find and Replace without an integer value is missing for all other versions. But I can't test as I don't have 7.1-11.0.
RegKey*=HKCU\Software\Microsoft\VisualStudio\*\Find|Find
RegKey*=HKCU\Software\Microsoft\VisualStudio\*\Find|Replace

Share this post


Link to post
Share on other sites

There is an issue I am facing when it comes to the Documents folder, is %documents% a valid environment variable in CCleaner? As it's not in Windows 8.1. Therefore %Documents%\Visual Studio 2012 and such like are not destroyed as one would expect.

 

Edit: Strange, now it works!
 

Share this post


Link to post
Share on other sites

%documents% a valid environment variable in CCleaner

 

 

In CCleaner it is.

Share this post


Link to post
Share on other sites

It depends what version of JDownloader you have - if JDownloader1 there will bw no %LocalAppData%\JDownloader*2*\ folder but if you have JDownloader 2 you wil have %LocalAppData%\JDownloader*2*\ .....

 

I don't think OS version even matters here...  just program version....

 

 

jd2 does not force install to %localappdata% %appdata (for xp) (advanced setting to change defaults), though it is our default and preferred install path. Installing to program files paths can have implications for users that do not have admin privileges.

 

My files in JD2 entry not on %localappdata% why ? I don't know...

 

 

 

jd2%20path.png

 

 

Share this post


Link to post
Share on other sites

This entry is bugged:

 

[inno Setup Installers Temp*]
LangSecRef=3024
DetectFile=%LocalAppData%\Programs
FileKey1=%LocalAppData%\Programs|*.*|REMOVESELF

 

Getting it on my system, even though I don't use Inno.

Share this post


Link to post
Share on other sites

My files in JD2 entry not on %localappdata% why ? I don't know...

 

 

 

jd2%20path.png

 

 

 

Mine:

 

post-3750-0-82413000-1411882656_thumb.jpg

Share this post


Link to post
Share on other sites

Modified entry:  [Amazon MP3 Downloader Log*]  Added Detect2 and FileKey2

[Amazon MP3 Downloader Log*]
LangSecRef=3023
Detect1=HKCR\Amazon.AmazonMP3DownloaderPlugin
Detect2=HKCR\Software\Amazon\MP3 Downloader
Default=False
FileKey1=%Documents%\Amazon MP3\Logs|*.*|REMOVESELF
FileKey2=%LocalAppData%\Program Files\Amazon\MP3 Downloader\|InstallerLog.txt

Share this post


Link to post
Share on other sites

This entry is bugged:

 

[inno Setup Installers Temp*]

LangSecRef=3024

DetectFile=%LocalAppData%\Programs

FileKey1=%LocalAppData%\Programs|*.*|REMOVESELF

 

Getting it on my system, even though I don't use Inno.

 

You installed something that used Inno and that's what created it, see http://forum.piriform.com/index.php?showtopic=32310&page=201&do=findComment&comment=247444

Share this post


Link to post
Share on other sites

 

This entry is bugged:

 

[inno Setup Installers Temp*]

LangSecRef=3024

DetectFile=%LocalAppData%\Programs

FileKey1=%LocalAppData%\Programs|*.*|REMOVESELF

 

Getting it on my system, even though I don't use Inno.

 

 

 

You installed something that used Inno and that's what created it, see http://forum.piriform.com/index.php?showtopic=32310&page=201&do=findComment&comment=247444

Seems to me the detect and clean of that entry looks super aggressive

Share this post


Link to post
Share on other sites

from the thread given by @SMalik http://news.jrsoftware.org/news/innosetup/msg97204.html

 

{usercf} expands to the "Common" subfolder of this path by default, so any script using this explicitly will of course use that path. But AFAIK this cannot occur automatically -- it requires the script author to explicitly choose to use it. (And being a {user*} path, it should go without saying that it should not be used unless the install is PrivilegesRequired=lowest.)

might be better to put Warning

Share this post


Link to post
Share on other sites

InnoExtractor fixes/updates for Winapp2.ini:

 

 

[InnoExtractor*]
LangSecRef=3024
DetectFile=%LocalAppData%\InnoExtractor\InnoExtractor.exe
DetectFile2=%AppData%\InnoExtractor\InnoExtractor.exe
DetectFile3=%ProgramFiles%\InnoExtractor\InnoExtractor.exe
DetectFile4=%SystemDrive%\Programs\InnoExtractor\InnoExtractor.exe
Default=False
FileKey1=%LocalAppData%\InnoExtractor|Historial.dat
FileKey2=%AppData%\InnoExtractor|Historial.dat
FileKey3=%ProgramFiles%\InnoExtractor|Historial.dat
FileKey4=%SystemDrive%\Programs\InnoExtractor|Historial.dat
FileKey5=%temp%\InnoExtractorCache|*.*|RECURSE
Best regards.

Share this post


Link to post
Share on other sites

MassTube (popular video downloader program) candidate for Winapp2.ini:


[MassTube*]
LangSecRef=3024
DetectFile=%LocalAppData%\MassTube\MassTube.exe
DetectFile2=%AppData%\MassTube\MassTube.exe
DetectFile3=%ProgramFiles%\MassTube\MassTube.exe
DetectFile4=%SystemDrive%\Programs\MassTube\MassTube.exe
Default=False
FileKey1=%LocalAppData%\MassTube|Historial.dat
FileKey2=%AppData%\MassTube|Historial.dat
FileKey3=%ProgramFiles%\MassTube|Historial.dat
FileKey4=%SystemDrive%\Programs\MassTube|Historial.dat
FileKey5=%temp%\MassTubeCache|*.*|RECURSE
FileKey6=%LocalAppData%\MassTube\Miniaturas|*.jpg
FileKey7=%AppData%\MassTube\Miniaturas|*.jpg
FileKey8=%ProgramFiles%\MassTube\Miniaturas|*.jpg
FileKey9=%SystemDrive%\Programs\MassTube\Miniaturas|*.jpg

If "Historial.dat" is deleted, the .jpg image files found in "Miniaturas" folder (video thumbnails linked for Historial.dat) is not necessary so also can be deleted.

Share this post


Link to post
Share on other sites

So result for JD2:

 

JD2 installer use the %LocalAppData%\JDownloader*2*\ as default install path... but use the <InstallFolder>\cfg for Usersettings....

 

When you change the Installpath you have to change all.... :-(

 

For me its it a big logic error to put an whole Programm in %localappdata%
JD put every time the usersettings in %installpath%..... Its Portable... OK but wrong in localappdata.

 

 

But I'm not sure that all installer versions from JD2 Install default to %LocalAppData%.... The last do it!

Share this post


Link to post
Share on other sites

Found a problem, it's a minor one, and it probably possibly affects only a tiny portion of the users, but anyway.

 

It's with ASUS ai suite 2, here's the entry:

[ASUS AI Suite*]
LangSecRef=3024
DetectFile=%ProgramFiles%\ASUS\AI Suite*
Default=False
FileKey1=%ProgramFiles%\ASUS\AI Suite*|*.log;*log*.*|RECURSE
FileKey2=%LocalAppData%\VirtualStore\Program Files*\ASUS\AI Suite*|*.log;*log*.*|RECURSE
FileKey3=%SystemDrive%|wifi.log

So it seems it's only looking for log files, yet for some reason it's deleting a lot of png files that are required for the software to run:

 

2q8u5w4.jpg

 

had to reinstall the damn thing twice already ;P before I found out it was ccleaner that was getting rid of those pngs.

Share this post


Link to post
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...