Winapp2.ini additions

mardi 28 avril 2015

Welcome! :)
***
Please Read
***

Spoiler

A large ini such as this one can cause a slower startup for ccleaner (far more noticeable on older/slower machines) and users may wish to manually remove entries they do not need from the file if they feel this lag time is too great.

Please bear in mind that these entries are NOT endorsed or supported in any way by the developers of CCleaner, and should be considered "beta."

That being said, they can (though we do our best to prevent this) cause issues with various programs or your system as a whole.

Piriform is not responsible for any damages done to your computer, and I also ask that if you encounter an error/problem with an entry here, you post it in this thread to keep winapp2.ini related issues centralized.

***
Thank you
***


Link to download Winapp2.ini Version: v5.04.150325

Direct Download

md5: a5871260d68f17ed4d819de746d5b528

("Winapp2.ini")

Latest Update:

April 23rd, 2015
# Entries in this version: 2,464

General changes:
07 New Entries
06 Modified Entries
00 Removed Entries



Full list of changes (plain text) (historical)


Enjoy! smile.gif

Facebook

Twitter


ADVANCED USAGE AND TRIMMING

Spoiler

To create a custom winapp2.ini file that only holds entries relevant to your computer, Alan_B has kindly created a batch file that will do this for you.

It requires that you save your ccleaner settings to an ini file (this option is found in settings - advanced)

Simply download this file and place it in your CCleaner directory, then double click it and let it do its job. It will backup the old winapp2.ini and create a new one. This file will load much more quickly than the full file, and yield the same results!

Click here for Alan's original help file for Trim.bat

Click here for LaunchCC.bat




How to make your own Winapp2.ini entry! (And if you do, feel free to post it here smile.gif )
Spoiler


Preferred Format:

[Name*]
LangSecRef/Section=
Detect/DetectFile=
Default=False
FileKey/RegKey


*Warning=
*See bottom for information on Warning (it is optional)

[Name*]

This is the name of your entry, usually followed by a * for formatting purposes. This is what will appear in the Applications list within CCleaner.

LangSecRef=

This indicates where on the list of applications within CCleaner your entry will appear. Appropriate LangSecRef numbers are below.
 

LangSecRef
3021 = Applications
3022 = Internet
3023 = Multimedia
3024 = Utilities
3025 = Windows
3026 = Firefox/Mozilla
3027 = Opera
3028 = Safari



Section is the same idea, however it is user-defined. We currently use Section=Games for example in the main download, however it can be set to anything and a new category with that name will appear in the applications tab.

Detect/DetectFile

These values are what CCleaner looks for to check if it should return true on an entry. Eg. DetectFile=%WinDir%\ will return true because this points to your windows directory.
Environment Variables (below) are vastly preferred over direct paths (such as C:\*)

Detect= points to a registry key
DetectFile= points to a file or folder.
Detect Paths:
 

HKLM = HKEY_LOCAL_MACHINE
HKU = HKEY_USERS
HKCU = HKEY_CURRENT_USER



DetectFile paths
 

( C:\ substituted for system drive)

%AppData%
Windows XP: C:\Documents and Settings\{username}\Application Data
Windows Vista/7: C:\Users\{username}\AppData\Roaming

%CommonAppData%
Windows XP: C:\Documents and Settings\All Users\Application Data
Windows Vista/7: C:\ProgramData

%CommonProgramFiles%
C:\Program Files\Common Files
C:\Program Files(x86)\Common Files
This will work for both 32 and 64 bit directories as CCleaner will detect it on its own.

%HomeDrive%
C:\

%LocalAppData%
Windows XP: C:\Documents and Settings\{username}\Local Settings\Application Data
Windows Vista/7: C:\Users\{username}\AppData\Local\

%ProgramFiles%
C:\Program Files\
C:\Program Files(x86)
This will work for both 32bit and 64bit because CCleaner detects these paths on its own.

%SystemDrive%
C:\

%UserProfile%
Windows XP: %SystemDrive%\Documents and Settings\{username}
Windows Vista/7: %SystemDrive%\Users\{username}

%WinDir%
C:\Windows

%Pictures%
Windows XP: %UserProfile%\My Documents\My Pictures
Windows Vista/7: %UserProfile%\My Pictures

%Documents%
Windows XP: %UserProfile%\My Documents
Windows Vista/7: %UserProfile%\Documents

%Video%
Windows XP: %UserProfile%\My Documents\My Videos
Windows Vista/7: %UserProfile%\My Videos

%Music%
Windows XP: %UserProfile%\My Documents\My Music
Windows Vista/7: %UserProfile%\My Music



Default=False

It is preferred that Default be set to false because Default is the default setting of the tickbox (False=Unticked)
This is to ensure no one has any boxes ticked that they didn't want ticked.

FileKey1/RegKey1=

The FileKeys and RegKeys are paths of items you'd like to delete. When pointing to these, you must list the path (using the environment variables above) then use the pipe symbol | and have the filenames/registry keys after
 

FileKey1=%AppData%\CCleaner|*.* - This deletes all files in a folder
FileKey2=%LocalAppData%\CCleaner|*.log - This deletes all log files in a folder
FileKey3=%AppData%\CCleaner|CCleaner.Log|RECURSE - This deletes all files with this name and extension in all subfolders as well
FileKey4=%LocalAppData%\CCleaner\temp|*.*|REMOVESELF - This deletes all files in a folder and deletes the folder as well.
FileKey5=%AppData%\CCleaner|*.log;*.tmp;*.txt|RECURSE - This will delete all files with these extensions from the parent folder and all subfolders.


 

| - the pipe symbol is used to separate file mask options.
*.* - deletes every file in that folder.
RECURSE - deletes subfolders and their contents
REMOVESELF - is the same as RECURSE but it deletes the folder as well.
* Deletes all files with the same extension (*.example) or all files with the same name (example.*)
; separates different files / filetypes in a filekey.



Warning=

If there is something the end user should know about an entry, such as it resetting play counts in a media player, high scores on a game, add a warning= followed by the message.
Eg: Warning=This will delete all of your high scores.
This is considered a courtesy to the end user in helping making them aware of what they're deleting.


Remember, when posting, please test your entries before you post them, so you can be sure they don't harm the workings of the programs. Also try to post which operation system(s) you tested it with! smile.gif


Entries that will never be added:
[spoiler]
Here are some entries that are often suggested, but are deemed too unsafe for the general public to play with.

SoftwareDistribution\Downloads|*.*|
- We decided not to add this because it will confuse people that don't understand the implications of clearing the folder. While it has little capacity to do harm to the system, if a problem does arise, a novice wont be able to fix it easily.

More to come soon, I'm sure! :lol:



Winapp2.ini additions

0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor