All the script does that you didn't notice ( LOL ) is add a couple of registry entries so that:

regsvr32.exe path

is called from the right click context menu of a dll.

BTW, hope you like the indenter, I find it invaluable as I'm not a neat enough coder to do it myself! I used the same code for the indentation on the VBA tags here - I just converted it from VB to PHP. There are a couple of keywords it misses which I think are: Enum and Type but I've never been fussed enough to recompile it. If you notice any others though let me know and I'll add them in.