1. You don't mention admin rights.

2. You pass the wrong path.

shell "%COMSPEC% /c %WINDIR%\System32\Regsvr32 /s %WINDIR%\SYSTEM\KiXFORMS.dll"

should be:

shell "%COMSPEC% /c %WINDIR%\System32\Regsvr32 /s %WINDIR%\SYSTEM32\KiXFORMS.dll"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.