473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2050
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 MyAddinNETAssem bly.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*********@sa n.rr.com> escribió en el mensaje
news:11******** *************@z 14g2000cwz.goog legroups.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
1921
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 init(obj): obj.do = A.do
2
2705
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 button, seems simple. I am using ALL visual controls (supposedly to simplify things. If I was not using the visual controls and calling an ExecuteNonQuery no prob. Please look at my code and tell me what I am doing wrong. Also, what are the advatages...
0
1406
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, ByVal e As System.EventArgs) Handles LinkButton2.Click Dim tcells As TableCellCollection
20
6650
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 'frmMain' from 'frmAdd' with the following code: Private Function AddEntry(Title As String, Rating As String, Genre As String, OnLoan As Boolean, ToWho As String)
5
1712
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 add to both 'cnt' and 'val'. This class doesn't serve much of a purpose other than to help me learn about classes (as this is my first). Would I need to create another class, and add it as a friend to my exisiting class? If so, what about the...
1
4259
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 param delcaration, then I have to invoke the update operation twice - by leaving the updated row - returning to the row and re-invoking the update procedure. Is there something else I need to do to add param values inline with the param...
0
1447
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 with all the fields I
9
4480
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 Controls.Add(list), where list is my ListView control, then program hangs for minute. It seems like this time depends on number of records added to control. So probably when adding control to my form, those records are actualy added at this time...
2
1368
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 10 times add button 10 textboxs will add Session = "3"; for (int a = 0; a < int.Parse(Session.ToString()); a++) { TableRow tr = new TableRow(); TableCell tc = new TableCell();
2
1171
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 in to my project. If I just compile the IntX code as a project, I get a million errors (missing namespace). I can't find the library in the list in "Add Resource ..." under Project in
0
8397
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.