TwinCAT app path key

Hi,

It has come to my attention that a legitimate registry key for Beckhoff's TwinCAT industrial control software is removed by CCleaner.

If my understanding of the App Paths registry key is correct, the problem is that TwinCAT is using it improperly. It creates a "TwinCAT" key containing a path to "C:\TwinCAT", i.e. it's just a directory, not an executable file name.

Can CCleaner be "fixed" so that this key is not removed?

-- graham

You'll need to exclude the registry key as detailed here.

In case anyone wants to see it, here's what TwinCAT actually writes to the registry:

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TwinCAT]"Path"="C:\\TwinCAT"@="C:\\TwinCAT\\TwinCAT"

Note that the path "C:\TwinCAT\TwinCAT" doesn't exist. This is probably the real reason why CCleaner trashes this key.

TwinCAT is installed to "C:\TwinCAT". There are several binaries here (some in subdirectories), and there should probably be a separate App Paths key for each major application binary.