How to add your own program for CCleaner to clean
You can add any program on your system to CCleaner so that its data can be cleaned, as long as it uses one of the following methods to store its data:
Some programs store information in both files and Registry keys. CCleaner can also clean these programs.
Note: Before editing or creating an INI file for applications, decide which INI file you want. If you want to start from scratch and remove all applications from the existing list in CCleaner, create winapp1.ini. If you want to add additional applications to the existing list, create winapp2.ini.
To add your own program to the INI file:
1. Create or open the INI file in Notepad.
2. Use the following entries as a reference.
This entry refers to an application whose preferences are stored in files.
The first line is the name of the application in square brackets with an asterisk: [*Application]
The second line (LangSecRef) indicates the application's category in the list on the Applications tab:
To add a new section header instead of an application name, use Section=SectionName instead.
The third line (Detect) contains a check to make sure that the application is installed. It is in the format:
The fourth line (Default) indicates whether the check box will be selected by default (True) or cleared (False).
The fifth and any subsequent lines (FileKeyX) indicate the files to be deleted. They are in the format:
This second example is for a program which stores its preferences in Registry keys:
[Adobe ImageReady CS]
The fifth and subsequent lines (RegKeyX) indicate the Registry keys to clean. They are in the format:
Note: You must separate each entry in the INI file by at least one blank line.
To identify the location of application files
Application files are usually located in one of the following areas:
1. The application's installation folder.
2. The %APPDATA% folder, under the application name.
To identify the application's installation folder, right-click its icon on the Start menu, and then click Properties.
To identify the location of application Registry keys
Application registry keys are typically located in HKCU (HKEY_CURRENT_USER) under the Software key. Sometimes they may be located in HKLM (HKEY_LOCAL_MACHINE) under the Software key.
File mask options when choosing files
You can use the following file mask options to specify which files are to be deleted:
You can also clean certain files. Identify them with the file name and extension. Example: deletelog.txt
Registry mask options when choosing Registry keys
| - the pipe symbol is used to separate the different parts of the registry reference. It is only needed if you want to specify a particular value within a registry key. Example: "HKCU\Software\Adobe\ImageReady 8.0\Preferences|SaveDir"
These are the short forms for the different Registry hives (sections):