Outlook Add-in is not appearing in Outlook 2007

S

Sudhaker Reddy

Hello,

We have developed a Custom Outlook Addin by C# (Platform: Win XP, .Net
Framework 2.0, Visual Studio 2005 and MS Office 2007). When we build and
deploy this add-in (tried by running setup.exe and msi on different
occassions) into any of the PCs (Dev or Test), it is appearing in Outlook -->
Tools --> Options tab for the User who installed the Add-in ( (installing as
Adminstrator always) ) i.e. it is not appearing for all other users whoever
logged into the same PC. This is not appearing in Outlook --> Tools -->Trust
Center --> COM Add-Ins list as well. The Installation has been successful and
no errors found as such in Event Viewer or Load Error in COM Add-In list.
FYI...while the setup is running on the PCs, I am ensuring to select "Every
One" (not JUST ME) to reflect the Add-In for all the windows users of that
particular PC.

COM Shim DLL:
As per the guide lines to develop the Add-Ins for the MS Office Outlook 2007
by using MS Visual Studio 2005, I observed few useful points. Due to the way
managed code handles COM Interop, the Outlook only sees the Microsoft .Net
Framework's shim "MSCOREE.DLL" when it looks for which DLL will be loaded for
the Add-In. If the Adminstrator has added the managed code assembly to the
trusted list, Outlook will be unable to macth the file loaded to the add-in
that was authorized and the Add-In will run untrusted. To resolve the above
issue, it needs to develop the COM Shim for the Add-in project. Find the more
info regarding the COM Shim at
http://msdn.microsoft.com/en-us/library/bb508939.aspx.

I have created the COM Shim for this Outlook Add-In, build it and installed
our PC, but still the Add-in tab is not showing up for all the users. I have
created the COM Shim in two diffrent ways but still not working as expected.

1. Created and Build separately and registered it later on.
2. Integrated into existing OutLook Add-In project and build and registered
it later on.

We need some urgent help and guidence to resolve the issues.

Thank you,
Sudhaker Reddy
 
S

Sudhaker Reddy

I have follwed the below mentioend steps and resolved the issue.

1). Install the Outlook Add-in setup on the test PC by logged in as local
Admin.
2). The Registry Key of Add-in can be found under the HKCR
([HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\Addins\]) only i.e. not
found any entry under HKLM
([HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\]).
3). Imported this Add-In registry key from HKCM to HKLM to reflect for all
the users who are get into this particular PC. It will need to have
administrative privileges to Import or change the Registry Key in this
fashion.
4). Useful links for the similar issues:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=357677&SiteID=1

Cheers,
Sudhaker Reddy

======================================================
 

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