Zip Microsoft.Office.Interop.Excel.dll with my application?

S

Sin Jeong-hun

Hello.

I created an application that automates Excel. It looked like that if
the dll "Microsoft.Office.Interop.Excel.dll" was not with my exe, the
application crashes on other PC's. Since my application doesn't
provide a set-up program (X-copy application), I would like to zip
that file with my application. Is that permitted? I tried to research
on my own but I couldn't find the answer. I even consult the lawyer in
our company but he was not able to give me a clear answer.

By the way, that dll came with Visual Studio 2010 (located at C:
\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools
for Office\PIA\Office14).
 
A

Arne Vajhøj

I created an application that automates Excel. It looked like that if
the dll "Microsoft.Office.Interop.Excel.dll" was not with my exe, the
application crashes on other PC's. Since my application doesn't
provide a set-up program (X-copy application), I would like to zip
that file with my application. Is that permitted? I tried to research
on my own but I couldn't find the answer. I even consult the lawyer in
our company but he was not able to give me a clear answer.

By the way, that dll came with Visual Studio 2010 (located at C:
\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools
for Office\PIA\Office14).

They are also downloadable separately.

Office 2007 version:

http://www.microsoft.com/downloads/...aa-bed4-4282-a28c-b864d8bfa513&displaylang=en

And since the title is "Redistributable Primary Interop Assemblies"
then I will assume that it is intended for redistribution. There
are probably a file somewhere in the kit that explains the exact
rules.

Unfortunately the Office 2010 version does not seem to
be available yet.

But I would expect it to become available soon.

Arne
 
S

Sin Jeong-hun

There is no one here who can provide legal advice to you.  However, I
would say that in general, if a DLL does not include a license that
clearly states you _may_ redistribute it, then you probably may not.  I
doubt that the Office interop DLL is redistributable.

But, I also believe it should come with Office (or at least any version
of Office it supports).  So if you don't have the interop DLL installed,
it's either because you also don't have a support version of Office
installed, or for some reason you failed to install the interop DLL with
Office.

I'm not even sure the latter is possible; I don't recall an option in
the Office install that allows you to exclude the interop DLL.  But
either way, it seems to me that the correct solution is simply to ensure
that the correct version of Office has been installed and that the
interop DLL has been installed along with it.

Pete

We use the installer that came with Visual Studio. When I added the
"Primary output of (my project)", all related office DLL's were
automatically included in the setup file and cannot be removed
separately. When the user installs it, office DLL's are copied to the
application's folder. I tried to include my application's exe file
only but the result was the same. The office DLL's were automatically
included and were not be able to removed.

If Microsoft has created their installer project this way, then maybe
the DLL's are meant to be redistributed (copied to the application's
folder).
 
Joined
Aug 12, 2011
Messages
3
Reaction score
0
Hello.

I created an application that automates Excel. It looked like that if
the dll "Microsoft.Office.Interop.Excel.dll" was not with my exe, the
application crashes on other PC's. Since my application doesn't
provide a set-up program (X-copy application), I would like to zip
that file with my application. Is that permitted? I tried to research
on my own but I couldn't find the answer. I even consult the lawyer in
our company but he was not able to give me a clear answer.

By the way, that dll came with Visual Studio 2010 (located at C:
\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools
for Office\PIA\Office14).

Hi Sin Jeong-hun,

Since many people are facing the problem of "Microsoft.Office.Interop.Excel.dll Not Found" after logging into XMO. Here are one of the solution i found on other website may help you.

because C:\Windows\System32 doesnt have the "Microsoft.Office.Interop.Excel.dll"
so you may browse to this webpage- http://dllcentral.com/microsoft.office.interop.excel.dll/12.0.6425.1000/,
then "Click here to go to the download of Microsoft.Office.Interop.Excel.dll" to download it.
it will automatically direct to download page, and click "Download Microsoft.Office.Interop.Excel.dll", it will download the "Microsoft.Office.Interop.Excel.zip" ,unzip it and paste into C:\Windows\System32
you're done!
 

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