.NET Addin Doesn't Load (Unless I install the entire SDK)

H

Harry Whitehouse

I have a C# Outlook 2002 add-in which was developed on my PC and works just
fine. I had .NET create an automatic setup file and distributed that to
three testers with the appropriate XP environment. The install went fine,
but the users could never see my button.

One of the test user's machines is in my office. So today I installed the
..NET Visual Studio on that machine. I just installed the 1.0 development
environment. I tried Outlook after this install and lo and behold, there
was my button!!

So clearly the .NET automatic setup project is missing something-- either
forgetting a key DLL or registry entry. I compared the registry on my
machine with the test machines before this latest experiment, and they
seemed to match pretty well. I was using this as a basis:

http://support.microsoft.com/?kbid=302901

So, can anyone help me discover what resource is being omitted by the .NET
setup program for this addin project?

TIA

Harry
 
R

Randy Byrne [MVP - Outlook]

These KB articles pertain to Outlook Object Model security with regard to
blocked object model properties and methods. They do not pertain to loading
of the Add-in. Digital Signatures control the loading of Add-ins in OL 2000
and OL2003 when the reg key DontTrustInstalledFiles = True and Macro
Security Setting = High. This key has no effect in OL2002.

--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout
 
H

Harry Whitehouse

Randy -- I'm curious why, in OL2002, simply installing the .NET Visual
Studio on a machine will subsequently permit any addin's to run.

Is some sort of test certificate installed along with .NET Visual Studio?
Or are a series of registry settings involved.

In my limited testing, the only way I've been able to get my C# Framework
1.1 addin to load is by having the entire .NET Visual Studio installed. I'm
perplexed!

TIA

Harry
 

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