?
Solved

.NET Assemblies and InstallShield 2009

Posted on 2009-07-13
2
Medium Priority
?
868 Views
Last Modified: 2013-11-14
I have several assemblies in .NET 2.0 that are set up for COM interop. We are trying to create an installer using InstallShield 2009, but we can't figure out how to get the assemblies registered properly. Does anyone have any ideas?
0
Comment
Question by:ericamick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 2000 total points
ID: 24849081
If it is a self registering DLL, you can right click on the file in the installation designer and make sure the checkbox for 'self register' is checked.  For .Net assemblies, you can set the ".Net Com Interop" property of the component to 'Yes' ('No' is the default).  When this is on registry entries for the COM objects of your .Net assembly will be made at install time.

If your COM interface changes a lot, you might also want to look into the 'COM extract at build' property on the component, which makes Installshield extract updated COM information each time you build.  If you end up self registering the dll's, this property must be set to NO.

Hope this helps.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question