all groups > dotnet interop > march 2005 >
You're in the

dotnet interop

group:

Office 2003 PIA installation



Office 2003 PIA installation Peter Wilford
3/29/2005 10:00:47 AM
dotnet interop: Hi All,

I guess I am more than slightly confused and frustrated, for the passed=20
two days I have been trying to install the Office 2003 =91primary interop=
=20
assemblies=92 (pia) to the GAC. If I browse to the %systemroot%\assembly=
=20
directory, they do appear in the GAC, for example the Microsoft Office11 =

Word pia is installed as: (displayed using Gacutil /l)

(Windows 2000)
%systemroot%\assembly\Microsoft.Office.Interop.Word,=20
Version=3D11.0.0.0, Culture=3Dneutral,
PublicKey Token=3D71e9bce111e9429c, Custom=3Dnull

This done, I would have expected to see, in the VisualStudio 2003 IDE, a =

new project type labeled =91Microsoft Office 2003 Projects=92, with an=20
additional sub-selection of =91Visual C# Projects=92, where you could/wou=
ld=20
select either a startup wizard for a Word Document or a Word Template,=20
as illustrated in the following link:

http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/odc_vs=
to2003_ta/html/WordObject.asp

I had followed all of the procedures for installing the Microsoft Office =

2003 pia=92s, which were installed after the Visual Studio .NET 2003=20
Enterprise Developer product was installed

http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;827476

How do I get these to show up ? Any suggestions would be appreciated=85

Thanks,

Re: Office 2003 PIA installation James Hancock
3/30/2005 12:02:01 AM
Run the batch file included with the PIAs and it will automatically put them
in the gac for you. If that's what you want... but I wouldn't I would just
copy local and keep it at that.

[quoted text, click to view]
Hi All,

I guess I am more than slightly confused and frustrated, for the passed
two days I have been trying to install the Office 2003 ‘primary interop
assemblies’ (pia) to the GAC. If I browse to the %systemroot%\assembly
directory, they do appear in the GAC, for example the Microsoft Office11
Word pia is installed as: (displayed using Gacutil /l)

(Windows 2000)
%systemroot%\assembly\Microsoft.Office.Interop.Word,
Version=11.0.0.0, Culture=neutral,
PublicKey Token=71e9bce111e9429c, Custom=null

This done, I would have expected to see, in the VisualStudio 2003 IDE, a
new project type labeled ‘Microsoft Office 2003 Projects’, with an
additional sub-selection of ‘Visual C# Projects’, where you could/would
select either a startup wizard for a Word Document or a Word Template,
as illustrated in the following link:

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

I had followed all of the procedures for installing the Microsoft Office
2003 pia’s, which were installed after the Visual Studio .NET 2003
Enterprise Developer product was installed

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

How do I get these to show up ? Any suggestions would be appreciated…

Thanks,

Peter Wilford

Re: Office 2003 PIA installation Peter Wilford
3/30/2005 9:17:51 AM
James,

Thank you very much for your reply...

I'm not sure which batch file you are referring... According to all the =

documentation I could find, there are no downloadable PIA's for the=20
Office 2003 product as such, but rather the user or developer is to=20
re-run the Office 2003 installation again, selecting 'custom'=20
installation. Each installed component (i.e. Word, Excel, Outlook,=20
etc.) would/should have its 'install development support' selection=20
flagged with 'Run on my computer'. According to the documentation=20
(magically) the wizards should now appear in the Visual Studio, when=20
selecting 'new projects', under the heading =91Microsoft Office 2003=20
Projects=92... Where would I find the batch file to which you refer, and =

will it help me accomplish this?

Actually, I was only looking for the VS Office wizards so that I may=20
understand the 'code plumbing' generated by them... I can include a=20
reference to the MS word PIA by selecting 'Add Reference', the COM tab,=20
and adding 'Microsoft Word 11.0 Object Library' and including the=20
following in the .cs file

using Microsoft.Office.Interop.Word

This will give me access to the MS Word component libraries, however,=20
since this is my first time attempting to interop with Office, I thought =

using the wizard to examine the 'generated code', would give me the=20
learning tool I need to understand the requirements... All of the=20
samples and 'walk through' appear to use the wizards as their stating=20
point...

Could you suggest any documentation, help files, or samples that don't=20
use the wizards as its base, which would be helpful?

Again, I appreciate your help and response...

Thanks,

Peter Wilford




[quoted text, click to view]



Re: Office 2003 PIA installation Geert
5/15/2005 6:18:02 AM
Hi Peter,

I have the same problem. I installed .NET and Office 2003. The assemblies
are available but I don't have the projcet templates. Did you allready found
a solution to solve this ?

Thanks in advance,

AddThis Social Bookmark Button