Outlook Addin Install

C

Craig

Hi

I feel like I've tried everything to get my add-in deployed to a target
machine with no success. Here my environment in order of installation:

Target Machine
- XP SP2
- .NET Framework 1.1 (with SP1)
- Outlook 2003 (with PIA)

My Add-in project has the following references:
- Extensibility
C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\PublicAssemblies\Extensibility.dll

- Microsoft.Office.Core
C:\WINDOWS\assembly\GAC\Office\11.0.0.0__71e9bce111e9429c\Office.dll

- Outlook
C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Outlook\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Outlook.dll

- stole
C:\Program Files\Microsoft.NET\Primary Interop Assemblies\stdole.dll

In the add-in project I have an Installer class to which performs custom
install and uninstall action for creating a FullTrust permission set at the
machine level for the application install directory
(ApplicationDirectoryMembershipCondition)

The Setup Project
I have EXCLUDED the following dependencies:
- Micorosft.Office.Interop.Outlook.dll
- Microsoft.Office.Interop.Owc11.dll
- mscomctl.dll
- MSDATASRC.dll
- office.dll
- stole.dll

Included dependencies are the primary outputs from my add-in project and
Extensibility.dll

In the setup project are registry entries to create the add-in connect class
under
HKLM\Software\Microsoft\Office\Outlook\AddIns\<connect>

The LoadBehavior=3, I have a Description and FriendlyName.

Now to the target machine, I run the setup.msi and step through the wizard,
installs without problem. I check the .NET snap-in to make sure the code
permissions are correct - all good there, full trust to the installed
location under machine.

Start Outlook, no add-in loaded, I go to the Help->About->Disable Items. My
add-in does not appear in the list. I check the registry entries, all ok,
LoadBehavior=3

This is a clean target machine, I'm at a lost...

Any thoughts are greatly appreciated.

Craig
 

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