This post will talk about setting up PowerPivot for Excel on the Windows XP operating system. Before I talk about setup itself I want to mention the prerequisites. On the XP platform, these requirements match those of Office 2010. They are:
PowerPivot setup is quite simple once all the prerequisites are there. Here are the steps including the prerequisites (do them in this order):
The litmus test for whether setup succeeded is if you start up Excel and see a tab called "PowerPivot" in the Excel ribbon. If you see that, setup succeeded.
FAQ (feel free to add questions in the comments to this post and I will update with answers):
Q: What Happens if I don't install .NET 3.5 SP1 before I install Office?
A: Excel will work fine but you won't be able to install PowerPivot for Excel. Further, after you do install .NET 3.5 SP1 some repair work will be needed in order to get to the point of being able to install and use PowerPivot.
Here's a detailed look at what happens:
First, some background. By itself, Excel 2010 is an unmanaged application (not implemented using the .NET framework). Office provides a .NET framework interface to its object model called PIAs (primary interop assemblies). Visual Studio Tools for Office provides a managed programming model for Office applications (including Excel) and talks to Excel through its PIAs. PowerPivot for Excel is implemented as a VSTO-based Excel add-in.
When you install Excel and the .NET framework is present on the machine it will install its PIAs by default. In Office Setup, this is the item under the Excel node labeled ".NET Programmability Support." If you don't want the PIAs installed, you can turn that item off. This will prevent any Excel add-in implemented using the .NET framework (including VSTO add-ins) from working. If the .NET framework is not installed on the machine, this item will be disabled and you will not be able to enable it.
Office also has the capability of installing the VSTO runtime. This will be done if you elect to include the "Office Shared Features" item in setup. Note that there is nothing in this node or its subnodes that mentions VSTO but installing with this item enabled will cause Office setup to install the VSTO runtime. It will do this even if all "Office Shared Features" subnodes are turned off. If the .NET framework is not installed before Office setup is run, Office Shared features can be installed and there will be no indication that anything is wrong but VSTO will not work correctly because the PIAs have not been installed.
Given this background, we can now talk about the scenario for this FAQ. Here's what will happen:
At this point, PowerPivot install will fail with the message:
"The Microsoft .NET Framework 3.5 SP1 must be installed on your computer before you can install PowerPivot for Excel. Microsoft .NET Framework 3.5 SP1 is available at http://go.microsoft.com/fwlink/?LinkID=179240 . After installing .NET Framework 3.51 SP1, restart the computer if required, and then install PowerPivot for Excel."
"The Microsoft .NET Framework 3.5 SP1 must be installed on your computer before you can install PowerPivot for Excel.
Microsoft .NET Framework 3.5 SP1 is available at
http://go.microsoft.com/fwlink/?LinkID=179240 .
After installing .NET Framework 3.51 SP1, restart the computer if required, and then install PowerPivot for Excel."
(At the time of this writing, the URL in the error message goes to a web page titled "SQL Server Future Resources" so do a Bing search on ".NET Framework 3.5 SP1" to find the download site.)
At this point, the .NET framework is installed but the Excel PIAs are not.
The Excel PIAs are now installed. At this point you should be able to install PowerPivot.
Excel will start up and attempt to load the PowerPivot add-in. At this point VSTO isn't configured correctly so a dialog will appear that indicates some sort of Office configuration is happening. It may take a while for this configuration process to complete.
Once the configuration dialog disappears, the normal dialog prompting for permission to install the add-in will appear. If you click on the button allowing the add-in to be loaded, PowerPivot will be installed and configured correctly.