However, let’s offer a solution to those interested
-
Open a Terminal window with administrator privileges.
-
Change the directory to the one where CCleaner is installed (e.g. C:\Program Files\CCleaner).
-
Run the command Ccleaner64.exe /export. Three ini files are created in the directory.
-
Run the command notepad.exe winapp.ini. This is the content of the file in my case
; CCleaner - Application Cleaning file
;
; WARNING - DO NOT EDIT THIS FILE
; If you would like to create custom entries then create a new file
; called winapp2.ini which follows the same format as this one.
; CCleaner will automatically pick up the new file.
;
; Copyright ©2004-2022 Piriform Ltd, All Rights Reserved.
; This file and its contents may not be copied or distributed
; without the express permission of the author.
;
; Notes
; ---------------------------------------
; LangSecRef
; 3021 = Applications
; 3022 = Internet
; 3023 = Multimedia
; 3024 = Utilities
; 3025 = Windows
; 3026 = Firefox/Mozilla
; 3027 = Opera
; 3028 = Safari
; 3029 = Google Chrome
; 3030 = Thunderbird
; 3031 = Windows Store
; 3032 = CCleaner Browser
; 3033 = Vivaldi
; 3034 = Brave
; 3035 = Opera GX
; 3036 = Spotify
; 3037 = Avast Secure Browser
; 3038 = AVG Secure Browser
; 3039 = Arc Browser
; 3040 = iTunes
; 3042 = WhatsApp
; 3043 = Norton Private Browser
; 3044 = Avira Secure Browser
#Commenting out this rule due to missing a licence to test it
[Office 2016]
ID=2412
LangSecRef=3021
Detect=HKCU\Software\Microsoft\Office\16.0\Common
Default=False
FileKey1=%AppData%\Microsoft\Office\Recent|*.*
FileKey2=%LocalAppData%\Microsoft\MSOIdentityCRL\production\temp|._sync
FileKey3=%AppData%\Microsoft\PowerPoint\Sync\Temp|*.*
FileKey4=%LocalAppData%\Microsoft\Office\16.0\WebServiceCache|*.*|RECURSE
FileKey5=%LocalAppData%\Microsoft\Office\16.0\OfficeFileCache|*.*
RegKey1=HKCU\Software\Microsoft\Office\16.0\OneNote\RecentNotebooks
SpecialKey1=N_OFFICE_MRU
ExcludeKey1=FILE|%AppData%\Microsoft\Office\Recent|Welcome to Word.LNK
ExcludeKey2=FILE|%AppData%\Microsoft\Office\Recent|Welcome to Publisher.LNK
ExcludeKey3=FILE|%AppData%\Microsoft\Office\Recent|Welcome to OneNote.LNK
ExcludeKey4=FILE|%AppData%\Microsoft\Office\Recent|Welcome to MS Project.LNK
ExcludeKey5=FILE|%AppData%\Microsoft\Office\Recent|Welcome to Visio.LNK
- Save the file then rename it to winapp2.ini. Run Ccleaner and you will notice that in Custom Clean > Applications > Applications Office 2016 is now displayed.