This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to perform regasm on .NET assembly?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jun 17, 2010
11:20 AM
How to perform regasm on .NET assembly?
I use InstallShield 2009, IS-MSI project. I read that in order to register your .NET assembly to be available for the COM clients you need to follow those steps:
1. Create a component and add your assembly to it.
2. Set the Key file on the assembly.
3. Change the ".NET COM Interop" setting for the component to "Yes".
Apparently that should call regasm.exe on the assembly but it does NOT work in my case. When I call regasm from a command line it's fine. What do I miss?
Thanks for your help!
blaza76
1. Create a component and add your assembly to it.
2. Set the Key file on the assembly.
3. Change the ".NET COM Interop" setting for the component to "Yes".
Apparently that should call regasm.exe on the assembly but it does NOT work in my case. When I call regasm from a command line it's fine. What do I miss?
Thanks for your help!
blaza76
(1) Reply
Jun 17, 2010
01:20 PM
InstallShield uses the /regfile parameter for regasm. From http://msdn.microsoft.com/en-us/library/tzat5yw6(VS.71).aspx "Note that the .reg file does not contain any registry updates that can be made by user-defined register functions." Perhaps your registration needs one of these?