Solved

.NET Assemblies and InstallShield 2009

Posted on 2009-07-13
2
866 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 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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 two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

696 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