Error installing PIA

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 
R

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.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm




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?

Ronnie- Hide quoted text -

- 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
 
K

Ken Slovak - [MVP - Outlook]

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.
 
R

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.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm


<snip>


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

Ronnie- Hide quoted text -

- 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
 
K

Ken Slovak - [MVP - Outlook]

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.
 
R

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 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.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm


<snip>


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?

Ronnie- Hide quoted text -

- 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
 
K

Ken Slovak - [MVP - Outlook]

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.
 
R

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 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.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm


<snip>


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 ?

Ronnie- Hide quoted text -

- Show quoted text -

Thanks a lot Ken.

Ronnie
 

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