There's a better way to get the path of regasm, without scanning the registry:
string regasmPath=System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()+@"\regasm.exe";
Of course it only works if you write the installer with .NET, like me
Regards