Deployment problems, add-in only works with VS installed?

A

Arnar Thor

Hope someone can help me with this. Already browsed this newsgroup but didn't find anything that applied to my problem.

I created a simple add-in for Word 2003, which works fine on computers with VS.net but not on computers with only .net framework installed.

I'm using only the default References/Dependencies that VS.net sets up when I created the add-in project (Shared Add-in).
 
S

S.Vidyaraman

I think its a problem with the Office 2003 PIAs. I had similiar problems
too.
Please check out:
http://support.microsoft.com/?id=840585
The relevant Section :

You may redistribute Office XP PIAs. When you redistribute an Office XP PIA,
you must install the Office XP PIA in the GAC. However, you must not deploy
an Office 2003 PIA. When you build an add-in that targets Office 2003, you
must exclude the Office 2003 PIAs from the Setup project. When the add-in
loads in the target Office 2003 application, the add-in will correctly use
the PIAs in the GAC at runtime. The add-in will correctly fail if the PIAs
are not found in the GAC. The add-in will not fall back to load any other
version of the PIA.

There is one more KB Article on how the Offiice 2003 PIAs should be
installed. It has to be installed only thro the installation media on the
target machine.

Please look at
http://support.microsoft.com/default.aspx?scid=kb;en-us;827476

Hope this helps.
S.Vidyaraman
 
S

S.Vidyaraman

It's ok to distribute the Office PIA but the project fails if I
distribute the Word PIA or if I exclude both.

Intresting ! Its the other way round for me :) I'll retest my stuff on a
fresh machine again and let you know.
S.Vidyaraman
 

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