Error installing PIA

  • Thread starter Thread starter Ronnie
  • Start date Start date
R

Ronnie

Hi,

We developed an Outlook 2007 plug-in using VSTO 2005 that generally
installs and works fine. However, On one customer machine the "2007
Microsoft Office Primary Interop Assemblies" (PIA) installation fails
with a message:

"Error 1316. Setup cannot read from file C:\Temp\piaredist.msi. Check
your connection to the network, or CD-ROM drive. For other potential
solutions to this problem, see SETUP.CHM."

We've searched Office CD and MSDN for this file but couldn't find it.
I found that others reported this issue in the past but I don't see
resolution anywhere.

Does anyone know what this error means and how to resolve it?

Thanks,

Ronnie
 
Is this on Vista? Maybe the user needs to right-click on the installer and
run with admin rights. In addition, to install any PIA or a Framework
version or the VSTO runtimes you need admin rights anyway.
 
Is this on Vista? Maybe the user needs to right-click on the installer and
run with admin rights. In addition, to install any PIA or a Framework
version or the VSTO runtimes you need admin rights anyway.












- Show quoted text -

Ken,

This is XP SP2. The user is logged in to a domain but has admin
privileges on his machine.

Thanks,

Ronnie
 
I googled on that error message and all the information seems to indicate
that error usually occurs when a previous installation of the same package
was previously performed. I'd look up the various suggestions on that error
and also see if the PIA is already installed there.
 
I googled on that error message and all the information seems to indicate
that error usually occurs when a previous installation of the same package
was previously performed. I'd look up the various suggestions on that error
and also see if the PIA is already installed there.




<snip>





- Show quoted text -

Ken,

You're right. There is a previous installation of PIA. It seemd to
have been installed as part of Office 2007 Small Business (at least on
the same date). For some reason, the installer does not detect the
previous installation and tries to install on top of it (they have the
same verison number). The install.log file says that PIA is not
installed. Should we just skip PIA installation and just install VSTO
2005 SE runtime?

Thanks,

Ronnie
 
In this case you can skip installing the PIA or ignore the installer error
but that leaves you open in other cases to not having the PIA installed at
all in which case your code would roll over dead.

For Outlook 2007 the rule is that if the Framework is already installed when
Office is installed the PIAs are automatically installed, otherwise it's an
option in the installation. So Vista installations which have Framework 3.0
installed by default automatically install the PIAs, WinXP less so.

Have you reviewed the installation and deployment instructions for VSTO 2005
SE starting at http://msdn2.microsoft.com/en-us/library/bb332051.aspx ? You
really need prerequisite checks and bootstrapper checks for previous
installation of not only the PIAs but also the Framework, the VSTO runtime
and the VSTO language pack if you want error messages in languages other
than English. The same applies to any other requirements or prerequisites
you might have for your project.
 
In this case you can skip installing the PIA or ignore the installer error
but that leaves you open in other cases to not having the PIA installed at
all in which case your code would roll over dead.

For Outlook 2007 the rule is that if the Framework is already installed when
Office is installed the PIAs are automatically installed, otherwise it's an
option in the installation. So Vista installations which have Framework 3.0
installed by default automatically install the PIAs, WinXP less so.

Have you reviewed the installation and deployment instructions for VSTO 2005
SE starting athttp://msdn2.microsoft.com/en-us/library/bb332051.aspx? You
really need prerequisite checks and bootstrapper checks for previous
installation of not only the PIAs but also the Framework, the VSTO runtime
and the VSTO language pack if you want error messages in languages other
than English. The same applies to any other requirements or prerequisites
you might have for your project.




<snip>





- Show quoted text -

Thanks Ken. I'll review the documentation.

I've tried to manually run VSTO SE runtime installation, but it
complained about not being able to find installed version of Office.
Is Office Small business not enough as a prerequisite ?

Thanks,

Ronnie
 
Any SKU of Outlook 2007 should be OK, for Outlook 2003 you need Office 2003
Professional or higher.

Read the deployment articles, there's a lot there so make sure you follow
each step very carefully. The first custom action is entered all on one line
with a space separating each line in the article, not a newline.

Also look at the deployment information at
http://www.outlookcode.com/article.aspx?ID=42 for information about the
latest VSTO runtime and deployment on Vista and for all users.

For Outlook 2003 you also need to deploy KB908002
(http://support.microsoft.com/kb/908002), for Outlook 2007 you only need to
deploy that when Framework 2.0 is deployed after Office is installed.
 
Any SKU of Outlook 2007 should be OK, for Outlook 2003 you need Office 2003
Professional or higher.

Read the deployment articles, there's a lot there so make sure you follow
each step very carefully. The first custom action is entered all on one line
with a space separating each line in the article, not a newline.

Also look at the deployment information athttp://www.outlookcode.com/article.aspx?ID=42for information about the
latest VSTO runtime and deployment on Vista and for all users.

For Outlook 2003 you also need to deploy KB908002
(http://support.microsoft.com/kb/908002), for Outlook 2007 you only need to
deploy that when Framework 2.0 is deployed after Office is installed.




<snip>





- Show quoted text -

Thanks a lot Ken.

Ronnie
 
Back
Top