Setup project for Office Addin

N

Neetu

Hello All,

We have created a shared addin using .NET for outlook. We have another setup
project for office word created by other party using same shared addin and
..NET Framework.
We need a common setup project which gives choice to select for word and
outlook with check boxes. we have to installed both or any one depending on
user selection. We are using window installer 3.0 to achieve this.

can any one give more information on this , to how to get our requirement?

Any url or some common problems solution is highly appriciated.

Neetu
 
K

Ken Slovak - [MVP - Outlook]

As a word of advice, Outlook addins don't like being shared addins with
other Office applications. I often combine Word, Excel and PPT addins into
one shared addin project but I always make Outlook addins as completely
separate projects.

How you'd do that would depend on what installer package you're using and
what methods of deployment. ClickOnce would be different than a setup
project, for example, if you are using the VS installer. InstallShield or
Wise or Wix would also be different.

The best places to ask this sort of question is whatever forum is relevant
to your installer choice. You might find that there's no way to do what you
want unless you use a starter program to get the choices and then call one
or both separate installation packages. That could possible be on a Web
page, depending on your installation and deployment methods and software.
 
N

Neetu

Hello Ken
Thanks for reply and Information.

As i Mentioned we have a Shared addin for outlook and we have dlls of shared
addin for Word from third party.

we are trying to create a single setup for our outlook shared addin and
third party word shared dlls using visual studio setup project.
I am using a insataller class to make registry entries for outlook and
addin.
I added third party dlls in setup project as file while output of outlook
addin as project outlook.

after installation outlook addin is working however word addin is not.
We have GUID of third party word addin.

I am making registry entry for word addin at
HKEY_CURRENT_USER\Software\Microsoft\word\Addins

Do I need to do more registry entries for Word addin ?
 
K

Ken Slovak - [MVP - Outlook]

The Word addin dll has to be registered of course, not only in \Addins, but
the CLSID's for he addin also need to be registered (usually somewhere in
HKCR).
 
N

Neetu

Thanks for Reply Ken,

I am registering my third party addin dll of word as COM Object.
and added a key In HKEY_LOCAL_MACHINE\Software\Microsoft\office\word\addin

for that connect class

My LoadBehavior is 3

As soon as I open word application this number get changes to 2


Plz suggest me where all I have to make registry entry for third party word
dll ?

Neetu
 
K

Ken Slovak - [MVP - Outlook]

What I mentioned is usually all you have to do. If more is required I'd ask
the people who wrote your Word addin how to get it running. They'd know that
more than anyone else would.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top