Install Primary Interop Assemblies (PIA) and Office Visual Studio Runtime manually
|Knowledge Article Number||000193384|
|Description||When the Salesforce for Outlook is being installed using the .EXE file, the installer checks your computer for prerequisites and prompts you to download and install them if they do not exist
* You can download each prerequisites by clicking on the name
Sometimes the installer is unable to complete this process hence the SFO installation fails and to be able to fix this issue you need to install these prerequisites manually before installing SFO
First make sure Salesforce For Outlook and Microsoft Outlook are both closed, next uninstall the installed version of Microsoft Primary Interop Assemblies (PIA) and Microsoft Office Visual Studio Run-time (VSTO) from the list of installed programs in the Control Panel (if they exist)
If you are a
Outlook 2007 user, you would need
Outlook 2010 user, you would need
Outlook 2013 or Office 365 user
Please follow the steps below to resolve this issue:
Only the PIA is packaged in the Salesforce for Outlook .EXE file that you download from the Salesforce for Outlook download page. I also provided the direct link to the download page for each one of the prerequisites above
First you need to download the Salesforce for Outlook Installer the .EXE format
Download the Salesforce for Outlook Installer
Next create a new folder on your Desktop or Downloads folder and save the downloaded file into this newly created folder (In my example below I have created a folder on the C: drive called "SFO" and saved the file there)
Click on Start and type in CMD to open the Command Prompt. You may also open Command prompt from C:\All Programs\Accessories\Command Prompt
Now from the Command Prompt you can navigate to the folder that you have saved the SalesforceforOutlook.exe installation file and use the /extract command to extract its content.
For example, if you have downloaded the .exe file in a folder called SFO on the C drive, simply open Command prompt and drag and drop the file from the folder in to the Command prompt window and press the SpaceBar key on your keyboard and then type in /extract and press enter.
Or if you are familiar with MS DOS commands you can navigate to the download file location and run the same command
This command will extract the content in the same folder (in this example it will be extracted in the c:\sfo folder)
C:\Folder> SalesforceforOutlook.exe /Extract
If you are extracting SFO 2.4.2 or earlier versions, your extracted files would be
If you are extracting SFO 2.5.0 or newer versions, your extracted files would be as follows.
As you notice, there are no VSTO files. VSTO will be downloaded and installed if it is missing from your machine during the installation process prior to the SFO installation. Also its best to use the .exe file instead of the .MSI files because it the MSI format won't check your machine for prerequisites. Unless its being pushed out and deployed by the IT team where they will need to push out the prerequisites first then push out SFO
If needed, you must Uninstall PIA and VSTO from the Control Panel first and then reinstall them from the C:\SFO folder:
In a few case, where your sync may malfunction such as synchronizing blank records or certain field values dont sync, you may need to install VSTO manually using the vstor40_x64 (for 64bit version of Windows) or vstor40_x86 (for 32bit version of Windows)
During the install process make sure Outlook is closed and the end user is installing the SFO application.
If you have Microsoft Office 2013 (NOT the Click-to-Run or 365, you do not need to install the PIA - The extracted files starting with O - O2007pia and O2010pia)
If user has Office 2013 Click to Run or Office 365, they must do an Online Repair - Do not do a Quick Repair
For Office 2013, the PIA is already part of Office installation. You need to make sure the .NET Programmability Support option under Microsoft Outlook is selected. you can check this setting from Control Panel | Programs | Programs and Features in the list of installed programs, locate Microsoft Office 2013 and click on Change | add Remove features and expand Microsoft Outlook and the first option is ".NET Programmability Support" make sure the Run from my computer option is selected. If not select it and click on okay and continue to install it
For Office 2007 and 2010 users, you can use the o2007pia.msi or o2010pia.msi file
Next comes Visual Studio Tools for Office. The number in the file name indicates the bitness of Microsoft Windows. You wont be able to install the wrong bitness on your machine but you can always check the bitness of your Windows before running this file.
How to check your Windows bitness
Once you find out the bitness, you can run the correct file
Now that you have installed these files you can install the plug-in by running the SalesforceForOutlook.exe file