Groups | Blog | Home
all groups > dotnet setup > august 2003 >

dotnet setup : Office Libary


Frank Seyfried
8/13/2003 3:07:51 PM
Hello,

i am using for a programm written in C# the Microsoft Office interop dlls
http://support.microsoft.com/default.aspx?scid=kb;EN-US;328912

i would like to know, how to deploy these assemblies with my application.
Which assemblies should i copy, and is there a deployment licence for these
assemblies.

Are there any problems, if the program path of Office XP is different from
maschine to maschine, because if i reference the original typelibary of Word
(Microsoft Word Object Libary 11.0) via Add References, there is a filepath,
in which directory the libary is installed with the office.

I am using VS.NET 2002 and Office XP, but i dont like to use

Thanks for your answer and sorry for the bad english ;)

Yours sincerly

Frank


Robert Jacobson
8/15/2003 5:25:21 PM
Sorry, but Microsoft does not allow the Microsoft Office dll's to be
redistributed:

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q249/8/43.asp&NoWebContent=1

Are you writing an add-in for a Microsoft Office application? If so, create
your project using the Shared Add-In template. (In the New Projects dialog
box, under "Other Projects/Extensibility Projects.") It will create the
installer package for you. You don't need to redistribute the Office dll's,
since the user will already have them installed on his PC. There are many
articles on MSDN on how to create an Office add-in -- start here:

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

Also, if your program is for Office XP, you should use the Office XP Primary
Interop Assemblies:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office10032002.asp

Hope this helps,
Robert Jacobson



[quoted text, click to view]

AddThis Social Bookmark Button