473,395 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Adding Add-In to larger Install .msi

Hi,

Framework v1.1
VS 2003
Installer 2.0
Tablet XP

Need help with doing this by hand or if anybody knows a doc link with
steps it would be greatly appreciated:

I have a WinForms application with an Installer project. Part of my
application is an Outlook 2003 add-in project. I am ready to deploy.
I would like to make the add-in install part of my application's
installer; aka I would like user to run only 1 installer.

Is there an easy way to convert the add-in's installer .msi project
into a merge module so that I can add it to the application installer
..msi??

I have been looking for instructions on how to deploy an office add-in
as part of another installer project but have not found too much.
Assuming that I have to merge the add-in install into my application's
install "by hand", from what I have been reading I gather these steps
are needed in my installer:

- add myaddin project output to my application installer project
- regsvr32 myaddin
- add office add-in registry entries for myaddin
- adjust registry codebase entries for myaddin to my install location

Does that sound correct?

Nov 17 '05 #1
1 2038
For the add-in part, yes, you have:

1) To copy the files
2) To register your dll as ActiveX
3) To register your dll as Outlook add-in

However, using

regsvr32.exe myaddin.dll

is not correct. Regsvr32.exe is used for ActiveX components, and .NET
assemblies are not ActiveX components, they can pretend that they are, but
they are not. To register .NET assemblies for COM Interop you need to use:

regasm.exe /codebase MyAddinNETAssembly.dll

where regasm.exe is an utility of the .NET Framework (see the docs).

About installers, I would recommend the free InnoSetup installer
(http://www.jrsoftware.org/isinfo.php) with the IsTool
(http://www.istool.org/default.aspx/). It is much simpler that MSI
installations, merge modules, MSI database/tables, MSI orca.exe utility,
etc.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"Crash" <so*********@san.rr.com> escribió en el mensaje
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi,

Framework v1.1
VS 2003
Installer 2.0
Tablet XP

Need help with doing this by hand or if anybody knows a doc link with
steps it would be greatly appreciated:

I have a WinForms application with an Installer project. Part of my
application is an Outlook 2003 add-in project. I am ready to deploy.
I would like to make the add-in install part of my application's
installer; aka I would like user to run only 1 installer.

Is there an easy way to convert the add-in's installer .msi project
into a merge module so that I can add it to the application installer
.msi??

I have been looking for instructions on how to deploy an office add-in
as part of another installer project but have not found too much.
Assuming that I have to merge the add-in install into my application's
install "by hand", from what I have been reading I gather these steps
are needed in my installer:

- add myaddin project output to my application installer project
- regsvr32 myaddin
- add office add-in registry entries for myaddin
- adjust registry codebase entries for myaddin to my install location

Does that sound correct?

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gabriele *darkbard* Farina | last post by:
Hi, there is a way to add methods to an object dynamically? I need to do something like this. I remember python allowed this ... class A(object): def do(s, m): print m @staticmethod def...
2
by: Aaron Ackerman | last post by:
I cannot a row to this bound DataGrid to SAVE MY LIFE! I have tried everything and I am at a loss. The using goes into add mode with the add button adds his data then updates with the update...
0
by: Luis Esteban Valencia | last post by:
Please help me if possible Its only adding a row. When I click again it steps into the function but doesnt add it to the page. Private Sub LinkButton2_Click(ByVal sender As System.Object,...
20
by: Ash Phillips | last post by:
Hi Everyone, I have this program I wrote in VB6 for family use. It's a DVD Database just for me to keep track of them cause I have so many lol. In VB6, I could add items to the ListView in...
5
by: Daz | last post by:
Hi Everyone. Please could someone explain how I can go about adding separate member functions to stock.add? For example, stock.add.count(int) and stock.add.value(int)? This way I can hopefully...
1
by: Rich | last post by:
Hello, I can update a dataset from my client app using a dataAdapter.Updatecommand when I add parameter values outside of the param declaration. But If I add the param values inline with the...
0
by: AboutJAV | last post by:
I created a crystal report with the report.rpt reportdata.xsd I created the a new dataset with the reportdata myreportdata = new reportdata(); That automatically created a new dataset...
9
by: Kadett | last post by:
Hi all, I have following problem: I'm creating a ListView (Details) control at run-time and filling it with some records (let's say 10 000). This operation seems to be quite fast, but when I call...
2
by: ganesh22 | last post by:
Hi, the below code is for dynamically adding textbox, but it will adding for same textbox only my requirement is how many times i click add button such times textbox will add for ex: if i click...
2
by: Peter Webb | last post by:
I want to use the arbitrary precision integer arithmetic package "IntX", from http://codeplex.com/IntX/ This adds a multiprecision class for integers. I cannot see how to add an external class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.