COM Interop and Regasm

I have a VB.NET program setup for COM Interop that works on my PC. When I install it on another PC using regasm with the /codebase option it works on some PCs and not others. I could not determine why it was not working on certain PCs, so I installed it using the gacutil. Now it works on all PCs.

Anyone know why regasm does not seem to work on all PCs? (Note all PCs tested are using XP Pro)

Thank you

[416 byte] By [MisterT] at [2007-12-16]
# 1
Hi,

RegAsm makes the registry entries which requires registry access privileges. Did you run Regasm as a user who has registry access privileges on all machines? This could be the issue.

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
Hi Vikram,

Yes I did run it as a user who has regitry access.

I think I have resolved the issue by using the VS Deployment project to create an installer rather than using the Inno Setup installer. The VS installer does something to make it work properly. Not sure what.

Thanks
Mister T

MisterT at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified