Jump to content
Piriform Community Forums
Winapp2.ini

Winapp2.ini additions

Recommended Posts

The seccond part of Lunascape:

 

[Lunascape Temp*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
Default=False
FileKey1=%AppData%\Lunascape\Lunascape6\plugins|*.*|RECURSE

 

I could also delete the history, but when I start Luna it comes an alert, that it doesn't find the history database. This is irritating :/

Share this post


Link to post
Share on other sites

I've seen that winapp2.ini adds a "Visual Studio Backup" entry.

 

Could you add an entry to clean the Visual Studio Search History?

 

You have to look at

 

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<Visual Studio version>\Find

 

Where <Visual Studio version> can be 10.0, 9.0 etc.

 

Inside this key there are values called

  • Find
  • Find0
  • Find1
  • Find2
  • Find3
  • etc.

You should delete them.

 

Here is a sample entry. Please test this and see what you get. Which Search button are you using that creates these? Using the Quick Find I don't create these entries.

 

[MS Visual Stuido Serch History *]

LangSecRef=3021

Detect=HKCU\Software\Microsoft\VisualStudio\7.1

Detect2=HKCU\Software\Microsoft\VisualStudio\8.0

Detect3=HKCU\Software\Microsoft\VisualStudio\9.0

Detect4=HKCU\Software\Microsoft\VisualStudio\10.0

Default=False

Regkey1=HKCU\Software\Microsoft\VisualStudio\7.1\Find

Regkey2=HKCU\Software\Microsoft\VisualStudio\8.0\Find

Regkey3=HKCU\Software\Microsoft\VisualStudio\9.0\Find

Regkey4=HKCU\Software\Microsoft\VisualStudio\10.0\Find

Share this post


Link to post
Share on other sites

Here is a sample entry. Please test this and see what you get.

 

[MS Visual Stuido Serch History *]

 

First things first the name of it seriously needs spelling corrections. :P

Share this post


Link to post
Share on other sites

What does deleting the plugins folder do?

 

This delete Cache, Cookies, (maybe) saved passwords and search results. Everything is saved in this folder.

The browser history is saved in an other file, but when I delete it, Lunascape show me a warning at next start up that it doesn't find the history file. =/

 

 

Edit:

Full list of Lunascape enrtys (I modified them):

Delete Backups, Cache, Cookies, extensions (I'll try to fix this), temp files, favicon cache, startup cache & history (but Lunascape will show you a warning next start up, I can't fix this).

 

[Lunascape6 Backups*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
Default=False
FileKey1=%AppData%\Lunascape\Lunascape6\backup|*.*|RECURSE

[Lunascape6 data*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
warning=This will also remove your extensions
Default=False
FileKey1=%AppData%\Lunascape\Lunascape6\plugins|*.*|RECURSE

[Lunascape6 Temp files*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
Default=False
FileKey1=%AppData%\lunascape\Lunascape6\ApplicationData\Temp|*.*|RECURSE

[Lunascape6 icon cache*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
Default=False
FileKey1=%AppData%\lunascape\Lunascape6\ApplicationData\icons|*.*|RECURSE

[Lunascape6 startup cache*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
Default=False
FileKey1=%AppData%\lunascape\Lunascape6\ApplicationData|rebar.bmp
FileKey2=%ProgramFiles%\Lunascape\Lunascape6\applicationdata|rebar.bmp

[Lunascape6 history*]
LangSecRef=3022
Detect=HKLM\Software\Lunascape Corporation
warning=Note: Lunascape will show you a warning next start up.
Default=False
FileKey1=%AppData%\lunascape\Lunascape6\ApplicationData|history.ld2
FileKey2=%ProgramFiles%\Lunascape\Lunascape6\applicationdata|history.ld2

Edited by update

Share this post


Link to post
Share on other sites

Here is a sample entry. Please test this and see what you get. Which Search button are you using that creates these? Using the Quick Find I don't create these entries.

Quick Find :lol:

 

Visual Studio 2010 Ultimate

 

[MS Visual Stuido Serch History *]

LangSecRef=3021

Detect=HKCU\Software\Microsoft\VisualStudio\7.1

Detect2=HKCU\Software\Microsoft\VisualStudio\8.0

Detect3=HKCU\Software\Microsoft\VisualStudio\9.0

Detect4=HKCU\Software\Microsoft\VisualStudio\10.0

Default=False

Regkey1=HKCU\Software\Microsoft\VisualStudio\7.1\Find

Regkey2=HKCU\Software\Microsoft\VisualStudio\8.0\Find

Regkey3=HKCU\Software\Microsoft\VisualStudio\9.0\Find

Regkey4=HKCU\Software\Microsoft\VisualStudio\10.0\Find

This is not ok.

 

HKCU\Software\Microsoft\VisualStudio\10.0\Find is the "folder" (I would ban myself for calling it "folder" :mellow: ).

 

Inside the Find "folder" there are values like

 

Find -> search string value

Find 0 -> search string value

Find 1 -> search string value

Find 2 -> search string value

Find 3 -> search string value

etc.

 

and - I've just seen -

 

Replace

Replace 0

Replace 1

Replace 2

etc.

 

Please note the space before the number... I erroneously wrote "Find0" instead of "Find 0" in my first message.

 

The rule you posted deletes the whole Find "folder" (which also contains other values), while we should only delete the values inside the Find "folder" with the "Find<space>" and "Replace<space>" prefixes (please note the <space> as there's also a FindTextFromEditor value).

Share this post


Link to post
Share on other sites

Unless I am wrong there is no way to use the wildcard character in the registry ( a good safety design I am sure).So you couldn't look for Find *. Have you actually removed these entries (manually) to see what happens? I don't think there would be an easy way to remove these without knowing the exact keys you wanted and if there could be potentially be a lot of them its seems kind of inefficient to write a hundred Regkey statements and potentially cause more issues without getting them at all once. If you need to save things under the Find key like other values then I don't think there is a way to easily remove those without getting them all.

Share this post


Link to post
Share on other sites

Is there a maximum number that the find and replace keys will reach before pruning the old ones?

Share this post


Link to post
Share on other sites

I understand the general desire to keep the number of entries to a minimum for multiple reasons, but would someone mind sharing the reasoning behind removing separations of entirely different types of data, like cache and logs? I pick those because they exemplify replaceable and irreplaceable data, which, depending on a user's reason for using CCleaner, they may well want to treat differently on an app-by-app basis.

Share this post


Link to post
Share on other sites

Much like the built in entries, certain caches and logs are combined. You'll find, for example, that things like Pidgin stay separate, so that cache files and chat logs aren't removed with one entry.

Share this post


Link to post
Share on other sites

MODIFIED ENTRIES

 

[MS Office Help Cache*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\12.0

Detect2=HKCU\Software\Microsoft\Office\14.0

Default=False

FileKey1=%LocalAppData%\Microsoft Help|*.*

 

[MS Office Saved CEIP Data*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\12.0

Detect2=HKCU\Software\Microsoft\Office\14.0

Default=False

FileKey1=%AppData%\Microsoft\UProof|*.bin

FileKey2=%AppData%\Microsoft\UProof|*.XML

 

[MS Office Temp Files*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\12.0

Detect2=HKCU\Software\Microsoft\Office\14.0

Default=False

RegKey1=HKCU\Software\Microsoft\Office\Common|FontBmpCache

FileKey1=%AppData%\Microsoft\Office|*.tmp|RECURSE

 

[MS Office UnsavedFiles*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\12.0

Detect2=HKCU\Software\Microsoft\Office\14.0

Default=False

FileKey1=%LocalAppData%\Microsoft\Office\UnsavedFiles|*.*

 

[MS Office Word More*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\12.0

Detect2=HKCU\Software\Microsoft\Office\14.0

Default=False

FileKey1=%AppData%\Microsoft\Word|*.*|RECURSE

FileKey2=%Documents%|~*.doc|RECURSE

ExcludeKey1=FILE|%AppData%\Microsoft\Word\STARTUP|*.*

ExcludeKey2=FILE|%AppData%\Microsoft\Word|listgal.dat

 

Changed the detect paths.

 

The entries above are for Office 2007 and 2010. These entries are checked in CCleaner even on the system that never had office on it because the registry path [HKEY_CURRENT_USER\Software\Microsoft\Office] is present on that system as outlook creates it.

 

I am listing the registry data here from a system that never had office on it.

 

Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USER\Software\Microsoft\Office]

 

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook]

 

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins]

 

 

[OpenOffice.org*]

LangSecRef=3021

Detect1=HKLM\SOFTWARE\OpenOffice.org

Detect2=HKLM\SOFTWARE\Wow6432Node\OpenOffice.org

Default=False

FileKey1=%AppData%\OpenOffice.org\*\user\config\imagecache|*.*

FileKey2=%AppData%\OpenOffice.org\*\user\registry\cache|*.*

FileKey3=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\Office|Common.xcu

FileKey4=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\Office|Views.xcu

FileKey5=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\Office|Writer.xcu

FileKey6=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\ucb|Hierarchy.xcu

FileKey7=%AppData%\OpenOffice.org\*\user\registry\data\org\openoffice\ucb|Store.xcu

FileKey8=%AppData%\OpenOffice.org2\user\registry\data\org\openoffice\Office|Common.xcu

 

Changed the detect paths as the current detect path does not work on Windows with more than one User account. OpenOffice.org doesn't create reg path in HKEY_CURRENT_USER for each user account.

 

 

[snagit 11 More*]

LangSecRef=3024

Detect=HKCU\Software\TechSmith\SnagIt\11

Default=False

Warning=This will delete the backups of the captures that you have performed with SnagIt 11.

FileKey1=%LocalAppData%\TechSmith\Snagit|*.bin

FileKey2=%LocalAppData%\TechSmith\Snagit\DataStore|*.sdf

FileKey3=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAG

FileKey4=%LocalAppData%\TechSmith\Snagit\DataStore|*.SNAGundo

RegKey1=HKCU\Software\TechSmith\Snagit\11|CaptureCount

 

Changed the entry name from [snagit 11*] to [snagit 11 More*]

Share this post


Link to post
Share on other sites

This entry could be removed from winapp2.ini because CC includes it already.

 

[MS Office Temp Files*]

LangSecRef=3021

Detect1=HKCU\Software\Microsoft\Office\12.0

Detect2=HKCU\Software\Microsoft\Office\14.0

Default=False

RegKey1=HKCU\Software\Microsoft\Office\Common|FontBmpCache

FileKey1=%AppData%\Microsoft\Office|*.tmp|RECURSE

Share this post


Link to post
Share on other sites

Is there a maximum number that the find and replace keys will reach before pruning the old ones?

 

Find

Find 0

Find 1

Find 2

Find 3

...

Find 19

 

Find (without number) is the "current value". "Find 0" is the first and "Find 19" is the last (so 20 values).

 

I didn't test "Replace" but I believe it's the same.

Share this post


Link to post
Share on other sites

How come you can't download the winapp.ini file anymore? All you get is a text file. What am I supposed to do with that?

 

the link in the text file to download it leads nowhere, btw.

Share this post


Link to post
Share on other sites

How come you can't download the winapp.ini file anymore? All you get is a text file. What am I supposed to do with that?

 

the link in the text file to download it leads nowhere, btw.

Right click and save the download link, don't just click it

Share this post


Link to post
Share on other sites

Right click and save the download link, don't just click it

 

Go figger. Thanks. I did actually try that the first time but it only offered a html link. Weird. Anyhow, thanks for what you all do here.

Share this post


Link to post
Share on other sites

Weird, my Bit.ly link seems to have died. it lead me to a weird site that was not in english.

 

For the future, you can get the file from Winapp2.com

Share this post


Link to post
Share on other sites

Here's a new entry for JavaRa

 

[JavaRa (Log)*]
LangSecRef=3022
DetectFile1=%ProgramFiles%\JavaRa\JavaRa.exe
DetectFile2=%ProgramFiles%\JavaRa 2.0\JavaRa.exe
Default=False
Filekey1=%SystemDrive%\|JavaRa.log
Filekey2=%ProgramFiles%\JavaRa 2.0\|version-output.log

 

Add

Filekey3=%ProgramFiles%\JavaRa 2.0\|*.log|RECURSE

 

In version 2.0; the program logs are named based on date, so wildcard scanning is needed.

Share this post


Link to post
Share on other sites

Java produces junk that has to be removed by JavaRa

JavaRa produces junk that has to be removed by CCleaner

 

Is CCleaner safe at one end of the food chain or will something come along to purge CCleaner :rolleyes:

http://en.wikipedia....ki/Ad_infinitum

"Great fleas have little fleas upon their backs to bite 'em,

And little fleas have lesser fleas, and so ad infinitum.

And the great fleas themselves, in turn, have greater fleas to go on,

While these again have greater still, and greater still, and so on."

Share this post


Link to post
Share on other sites

Add

Filekey3=%ProgramFiles%\JavaRa 2.0\|*.log|RECURSE

 

In version 2.0; the program logs are named based on date, so wildcard scanning is needed.

 

I'm not sure you have enough experience with JavaRA to safely make this call. :lol:

Share this post


Link to post
Share on other sites

Universal Extractor (the updated one)

 

[universal Extractor*]
LangSecRef=3024
Detect=HKCU\Software\UniExtract
Default=False
RegKey1=HKCU\Software\UniExtract\Directory
RegKey2=HKCU\Software\UniExtract\File

 

BTW you may wan to double check your ini for Wow6432Node RegKeys

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

×