Deploying a .NET Word add-in

A

Alex

Hello,

We are creating an InstallShield setup for a Word add-in written in C#. The target is Word XP & up.

My question is, do we have to put anything in the user's GAC?


Best wishes,
Alex.
 
P

Peter Huang [MSFT]

Hi

I think we need to put Office XP PIA into GAC if that is not installed
before.
But the COmAddin dll did not need to put into GAC, it can be in the
installation dir.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Alex

Hello Peter,

"Peter Huang" said:
I think we need to put Office XP PIA into GAC if that is not installed before.

And if they were installed there?
Can I just overwrite them?
But the COmAddin dll did not need to put into GAC, it can be in the
installation dir.

What about other DLLs and assemblies, such as:
* extensibility.dll
* Microsoft's "Application Blocks"

Thanks,
Alex.
 
P

Peter Huang [MSFT]

Hi

For such dll, I still suggest you install them into GAC, because they are
strongnamed assemblies.
For winform applcation they can lie in the application directory, but for
Web application we need to install them into the GAC.

Commonly we only install private assembly(not strong named) into our
application directory.

Thanks!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Alex

Hello Peter,

"Peter Huang" said:
For such dll, I still suggest you install them into GAC, because they are
strongnamed assemblies.

Unfortunately, gacutil complains that the following DLLs are not strongnamed:
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.dll

Where can we get the signed versions?


Best wishes,
Alex.
 
P

Peter Huang [MSFT]

Hi

Thanks for your quickly reply!


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
V

Victor Heijke

Does this mean that you only have to copy the files to the installation dir
and add the Addin in Word/Addins in the registry? Don't you need to trust it
in the .Net framework configuration pane? And what about all the
HKEY_Classes_Root that are created in the registry?
 

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