Word XP PIA

A

Alex

Hello,

I have several questions regarding Word XP PIAs:

1) How do I use Word XP PIA on a machine that has both Office XP and Office 2003 installed?

2) Do I need to distribute the Office XP PIA with my application?
If so, how do I integrate it into the install that VS2003 generates?

Thanks,
Alex.
 
A

Alex

Addition:

2) Do I need to distribute the Office XP PIA with my application?
If so, how do I integrate it into the install that VS2003 generates?

Specifically, how do I install it to the user's GAC?

Thanks,
Alex.
 
W

Wei-Dong XU [MSFT]

Hi Alex,

For detailed information about the Office XP PIA, this msdn article will be
very helpful for you:
Working with the Office XP Primary Interop Assemblies
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/htm
l/odc_oxppias.asp

For your questions, I reply each below:
1. Office XP and Office 2003 PIA can be installed at the GAC of the same
box without any problem. The PIA assemblies for differenct Office versions
serve your application targeting different Office version; for example when
you are developing one Office XP add-in in C#, please reference the Office
XP PIA; for Office 2003, use Office 2003 PIA.

2. For the deployment, you will need to install the Office XP PIA at the
customer box. You can download the Microsoft Office XP PIA from this link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C41BD61E-3060-4F71-
A6B4-01FEBA508E52&displaylang=en

After uncompressing the package, you will find the PIA assemblies with the
corresponding reg file. Among them, there is one bat file called
"register.bat".You can include these file in your VS.net setup project and
call the register.bat file at the installation time.

Please feel free to let me know if you have any question. My pleasure to be
of assistance.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Alex

Hello Wei-Dong,

Thank you for your help.

Wei-Dong XU said:
2. For the deployment, you will need to install the Office XP PIA at the
customer box. You can download the Microsoft Office XP PIA from this link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C41BD61E-3060-4F71-
A6B4-01FEBA508E52&displaylang=en

Just curious, is it possible to post links such that they will not break up?
After uncompressing the package, you will find the PIA assemblies with the
corresponding reg file. Among them, there is one bat file called
"register.bat".You can include these file in your VS.net setup project and
call the register.bat file at the installation time.

Please feel free to let me know if you have any question. My pleasure to be
of assistance.

I would like the installer for my add-in to install the following on the customer's machine:
- .NET Framework 1.1 (if not already installed)
- .NET Framework 1.1 SP1 (if not already installed)
- Office XP PIAs (if not already installed, and in the "correct" location)
- The add-in itself.

How do I add all the above to the installation script created by VS2003 for the add-in?

Thanks in advance,
Alex.
 
W

Wei-Dong XU [MSFT]

You are very welcome! Have a nice day!

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

Boris

Alex said:
Um, what about the rest of my questions in that post?
Could you please address them?

LOL! To answer your question about how to add components of your project to
the installation script: If you click on a component in your setup project
set Exclude (in the properties) to False or True to decide whether it should
be part of the setup.

Boris
 
W

Wei-Dong XU [MSFT]

Hi Alex,

Excuse me! I read your post very quickly to miss the questions at the
bottom.

Generally speaking, there are two methods for us to deploy the .Net
framework into the client box:
1. use the bootstrapper to install the .net Framework
2. manually install
The MSDN article introduces the detailed information for you:
Using Visual Studio .NET 2003 to Redistribute the .NET Framework
http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp

However for performing the version checking at the deployment, VS.net setup
project will be of no assistance. We will need to write one bootstrapper
application for validateing the client environment. Based on my experience,
one excellent sample from Codeproject.com will make this development very
simple:
dotNetInstaller - Setup Bootstrapper for .NET Application
http://www.codeproject.com/dotnet/dotNetInstaller.asp

Please feel free to let me know if any question. My pleasure to be of any
assistance.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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