Zip the Microsoft.Office.Interop.Outlook.dll with my application.


C

Cat

To use Outlook 2010 within my C# application I need to be sure that
the proper Microsoft.Office.Interop.Outlook.dll (version 14) exists in
the accessible path. This dll comes with Visual Studio 2010, and of
course I cannot tell the users to install VS 2010 on their system. I
tested my application on a system that does not have VS 2010, and it
worked fine as long as the Microsoft.Office.Interop.Outlook.dll is
located at the same directory where the application resides.

Now, do I have any license violation if I zip
Microsoft.Office.Interop.Outlook.dll with my application? There is PIA
but only for Office 2007 (that is, even if the user installs PIA for
2007, it won't work with my application because it will throw a
FileLoadException), and I don't need other dll's like the ones for
PowerPoint or Word. Plus I don't want to cause users any
inconveniences like installing another package just to use my
application.

I once saw a person who claimed to be one of the developers of Outlook
at "microsoft.public.outlook.general". However, since my question
seems more appropriate for microsoft.public.outlook.interop, I post it
here. I would like to have an answer from someone who is part of the
Outlook team or who have had the same question and got the answer from
a reliable source. I've already searched the Internet for the answers,
so I'm afraid that answers like "probably...", "I'm not sure but..."
wouldn't help me.

Thank you.

PS: I already read pages like
http://social.msdn.microsoft.com/forums/en-US/vsto/thread/101c03cd-5e3b-44db-b147-189d48a113a9/
 
Ad

Advertisements

K

Ken Slovak

If you deploy the Outlook PIA you should only do so with the official
redistributable packages that install into the GAC. Since there isn't an
Outlook 2010 package yet you'd have to wait or embed the PIA interfaces into
your addin using Framework 4.

No matter how that is set up, if you don't have Outlook 2010 installed your
addin won't work.
 

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

Similar Threads


Top