Scripting registration of CCleaner Business Edition

The registration of CCleaner Business can be scripted by using the MSI installer available from here


Two additional parameters are require to be passed in addition to the standard installation parameters required for a MSI installation.

Parameter Explanation Example
NAME="<name>" This allows for the registration name to be applied to the installation. NAME="Piriform"
KEY="<key>" This allows for the registration key to be applied to the installation. KEY="XXXX-XXXX-XXXX-XXXX-XXXX"

Both the KEY and NAME parameters must be present for CCleaner Business Edition to be automatically registered with as part of the installation, these should be combined with the standard MSI installation parameters. For example:

msiexec.exe /I ccsetup411_x86_be.msi NAME="Piriform" KEY="XXXX-XXXX-XXXX-XXXX-XXXX" /qn

Note: The installation command requires to be executed with Administrative privileges.

Information on standard MSI parameters can be found here on the Microsoft website.