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
- :
- COM Interop
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
05:48 AM
Registering dot NET DLL's
Is there a feature in IS 2010 that allows us to register .NET DLLs rather than coding it in installscript to pass it through command prompt?
Regards
Sniperkid
Regards
Sniperkid
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
10:30 AM
Due to the nature of .NET, .dll files created with .NET do not need to be registered in the same way as legacy dlls. Some do however need to be registered with .NET. On the properties of your component, set the '.NET Scan at build' to 'Properties Only' or 'Dependancies only'. This will populate your MsiAssembly table and MsiAssemblyName tables for you at build time so you don't need to worry about it
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2009
04:20 AM
If your .NET assembly has got some COM Interop code, and if you would normally register it regasm, then just set the .NET COM Interop setting to Yes in the Component Settings-->.NET Settings of the component that contains the assembly.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2009
04:49 AM
At the moment i use Gacutil [file] and regasm [file] currently to register the files in installscript. Just wondering if there was an easier way to register them.
Regards,
Sniperkid
Regards,
Sniperkid
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2009
05:14 AM
If i set the properties of the component to self-register it registers it with regasm ok, but if i put the properties of the .NET assembly to be installed as Local Assembly (assuming this will add it to the assembly locally like the gacutil) it doesn't.
Regards,
Sniperkid
Regards,
Sniperkid