The keys in the Windows Registry (= HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\7.0\Tomcat7) are not removed after an uninstall of Tomcat 7.0.22.
This works for me. I suggest you follow this up on the Tomcat users list. Please do not re-open this issue unless you can provide full details of how to reproduce this issue with a clean 7.0.22 install / uninstall.
Reproduced with 7.0.22 on WinXP 32-bit. It is a typo in 32-bit branch of code. Fixed by r1186763 and will be in 7.0.23 I'll propose backport for 6.0 and 5.5.
Ah. I was testing on 64-bit which is why I didn't see it.
Moving to 6 since fixed in 7.
Fixed in 6.0.x and will be included in 6.0.34 onwards. Moving to 5.5.x
Fixed in 5.5.x and will be included in 5.5.35 onwards.