Wise Disk Cleaner 8.0 & 9.0 Custom Configuration Guide
.Foreword:
The configuration file "UserCustom.ini" must be saved in the installation directory, then Wise Disk Cleaner can automatically adopts the configuration file.
I. About the configuration file:
[Root7]
Name=
Type=
TranName=
DefaultName=
Image=
II. Details of Parameter The section below from 1 to 6 are mandatory.
1, [Root7] The user must start from the 7th node and go on with 8, 9, etc. The first 6 are already in use.
2, Name= Name of the node. This is used to define following cleaning rules. It will not be displayed on WDC interface.
3, Type= Type of the node Type can be defined as Trash or Trace. Trash: Trash accumulates the size of the files cleaned. If you define as Trash, this cleaning rules will be displayed in "Useless Files In Computer". Trace: Trace counts the quantity of items cleaned. If you define as Trace, this cleaning rules will be displayed in "Traces In Computer".
4, TranName= Translator name of the node
5, DefaultName= Default name of the node A show name of the node. It will be displayed on WDC interface.
6, Image=-1 The icon of this cleaning rule. 0 1 2 3 4 5 6
The section below from 7 to 11 are to customize the cleaning rules. Notice: the content in "()" is optional, while the content in "" is required and mandatory.
7, [Name0] The name of one cleaning rule, serial number starts from 0 and has no upper limit.
8, (TranName= ) Translator name of the cleaning rule
9, Default name of the cleaning rule A show name of this cleaning rule. It will be displayed on WDC interface.
10, (Exists=) Location of the file, or the value of the registry key It is used to determine whether the program needs cleaning is installed or not. If this item exists, then it will first determine whether the program needs cleaning is installed. If it’s not installed, then the rules will not be listed. If no need to determine this, this item is not needed to exist. Please notice that by “not exist” it means the whole item including the content left of the “=”.
E.g. %programfiles%\Internet Explorer\iexplore.exe //To determine of files HKEY_CURRENT_USER\Software\Opera Software(reg) //To determine the value of the registry key. The mark (reg) needs to be placed at the end if the determine of registry key is used.
11, 1 : Checked by default 0 : Not checked by default
The section below is to customize the items needed cleaning.
12, Item0=|| It is to customize the items needed cleaning. Please notice that the serial number must also start from 0 and marked as item0, item1… 1) Types File = files RegKey = registry key RegValue = registry value SQL = sqlite database Lnk = shortcut
2) Scanning List This section varies in accordance with the Types section. A. File Write in the paths needed scanning. e.g. %Appdata%\Microsoft\Windows\Cookies Use semicolons ( to separate different paths, within which the environment variables supported can be included.
B. RegKey Write in the registry path needed scanning. Semicolons are used to separate the paths. e.g. HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing\NewTabPage
C. RegValue Write in the registry path needed scanning. Semicolons are used to separate the paths.
D. SQL Write in the complete path of the database file. e.g. %LOCALAPPDATA%\Google\Chrome\User Data\Default\Cookies //Cookies here is a file without suffixes, not a directory.
E. Lnk Write in the paths needed scanning.
3) Filters and Options This section also varies in accordance with the Types section. A. File Filter= Filter criteria, Wildcard is supported here. (e.g. *.dat). Semicolon is used to separate multiple criteria here. (e.g. Filter=*.txt;*.dat) This criterion is mandatory. FindInSubFolder=1 or 0 // 1: to search in subdirectory; 0: not to search in subdirectory. RemoveSubFolder=1 or 0 //1: to delete subdirectory; 0: not to delete subdirectory. Exclude=Exclusion criteria, to define the exclusion type. (e.g. *.dat) The exclusion file name can also be written in directly. Semicolon is used to separate multiple criteria here. Pathmatch= regular expression, use regular expressions to describe similar path. If is valid, then it will combine (Pathmatch) value to as full scanning path.
E.g. Item0=File|%Internet_Cache%|(Filter=*.*)(FindInSubFolder=1)(RemoveSubFolder=1)(Exclude=index.dat;desktop.ini;suggestedsites.dat) Item6=File|%LocalAppData%\Yandex\YandexBrowser\UserData|(Filter=*.*)(FindInSubFolder=1)(RemoveSubFolder=1)(Exclude=*.db)(PathMatch=User Data\\Profile \d\\databases)
B. RegKey RegExpr= regular expression, Use regular expressions to filter qualified keys. FindInSubKey= 1 or 0 //1: search sub key; 0: not to search sub key. ShowValues= 1 or 0 // 1: display the value under the key specified; 0: not to display the value under the key specified. RemoveSelf=1 or 0 //1: delete itself; 0: not to delete itself. E.g. Item0=RegKey|HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU|(FindInSubKey=1)
C. RegValue RegExpr= regular expression, Use regular expressions to filter qualified keys. FindInSubKey=1 or 0 //1: search sub key; 0: not to search sub key. E.g. Item0=RegValue|HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify|(ValueList=IconStreams;PastIconsStream)
D. SQL TableName= the table needed query (This item is must be required.) Condition= SQL sentence (It is optional.) E.g. Item0=SQL|%LOCAL_APPDATA%\Google\Chrome\User Data\Default\Cookies|(TableName=cookies)
E. Lnk The same like File above.
III. A complete example following the custom rules: [OtherApps4] TranName=AcrobatReader DefaultName=Acrobat Reader Exists=HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader(reg) Recommended=1 Item0=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\1.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item1=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\2.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item2=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\3.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item3=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\4.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item4=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\5.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item5=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\6.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item6=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item7=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item8=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item9=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item10=RegKey|HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\AVGeneral\cRecentFiles|(FindInSubKey=1) Item11=RegKey|HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\11.0\CompoundDocs\cStoredBinder|(FindInSubKey=1) Item12=File|%local_appdata%\Adobe\Acrobat\7.0\Cache\Search70;%local_appdata%\Adobe\Acrobat\8.0\Cache\Search80;%Local_AppData%\Adobe\Acrobat\9.0\Cache\Search;%LOCAL_APPDATA_LOW%\Adobe\Acrobat\9.0\Search;%Local_AppData%\Adobe\Acrobat\10.0\Cache\Search;%LOCAL_APPDATA_LOW%\Adobe\Acrobat\10.0\Search;%Local_AppData%\Adobe\Acrobat\11.0\Cache\Search;%LOCAL_APPDATA_LOW%\Adobe\Acrobat\11.0\Search|(Filter=*.*)(FindInSubFolder=0)(RemoveSubFolder=0) Item13=File|%ProgramFiles%\Adobe\Acrobat 7.0\Reader;%ProgramFiles%\Adobe\Acrobat 7.0\Reader\Updater;%ProgramFiles%\Adobe\Acrobat 7.0\Reader\plug_ins;%PROGRAM_FILESX86\Adobe\Acrobat 7.0\Reader;%PROGRAM_FILESX86\Adobe\Acrobat 7.0\Reader\Updater;%PROGRAM_FILESX86\Adobe\Acrobat 7.0\Reader\plug_ins|(Filter=*.bak)(FindInSubFolder=0)(RemoveSubFolder=0)
IV. Environment Variables supported: 1. All the regular system environment variables. e.g. %appdate%, %windir%, %systemroot%, %programfiles%, %userprofile% etc..
2. Extensional environment variables, which are customized by Wise Disk Cleaner. %local_appdata% : %userprofile%\Appdata\Local %startmenu%: %programdata%\Microsoft\Windows\Start Menu %common_startmenu%: %appdata%\Roaming\Microsoft\Windows\Start Menu\ %common_appdata%: %programdata% %COMMON_DESKTOPDIRECTORY%: C:\Users\Public\Desktop %DESKTOPDIRECTORY%: C:\Users\\Desktop %INTERNET_CACHE%: Directory to save IEcaches. % DESKTOP%: C:\Users\\Desktop %PROGRAMS%: %appdata%\Roaming\Microsoft\Windows\Start Menu\programs\ %PERSONAL%: C:\Users\\Documents %FAVORITES%: Where IE Favourites are saved. %STARTUP%: %appdata%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup %RECENT%: %appdata%\Roaming\Microsoft\Windows\Recent %SENDTO%: %appdata%\Roaming\Microsoft\Windows\SendTo %SYSTEMX86%: %Windir%\SysWOW64 (only valid for 64 bit OS) %PROGRAM_FILESX86%: C:\Program Files (x86) (only valid for 64 bit OS) %PROGRAM_FILES_COMMON%: %programfiles%\Common Files %PROGRAM_FILES_COMMONX86%: %PROGRAM_FILESX86%\Common Files (only valid for 64 bit OS) %COMMON_DOCUMENTS%: C:\Users\Public\Documents