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
Solved

.NET Assemblies and InstallShield 2009

Posted on 2009-07-13
2
863 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
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 500 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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

789 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