Loading

Salesforce for Outlook install fails with .NET Framework 4

Publiseringsdato: Oct 13, 2022
Beskrivelse

Issue:

The Salesforce for Outlook installation fails when the installer tries to install .NET Framework 4.0

An error message pops up during the install. Now pay attention to the error message since it may be slightly different

Example of these errors:

Error 1

Installation Did Not Succeed
.NET Framework 4.0 has not been installed because: 
Generic trust failure
Link to image

 

Error 2

Installation Did Not Succeed
NET Framework 4 has not been installed because
HRESULT 0xc8000222
Link to image



****    NOTE    ****
This is NOT a Salesforce issue.

 

Possible Cause for Error 1

This could be related to a corrupted or a change in the list of root certificates on your computer to the list that is accepted by Microsoft as part of the Microsoft Root Certificate Program.

Microsoft has a utility that may fix this issue.



Possible Cause for Error 2

This behavior may occur if the temporary folder of Windows Update has been corrupted.

 

Løsning

Solution for Error 1


1- Make sure Windows 7/8/10 UAC (User Account Control) is set to NEVER Notify (See Knowledge Article for more information



2-
Open "Programs and Features" or "Add/Remove Programs" In Windows XP:

In Windows XP: Click on Start | Run and type in appwiz.cpl
In Windows Vista/7/8/10: Click on Start and type in appwiz.cpl


3- On the list locate the follow applications and Uninstall them
 

- Salesforce for Outlook
- Microsoft office 20xx* Primary Interop Assemblies 

*Either 2007 or 2010 - For instance it could be Microsoft office 2010 Primary Interop Assemblies  

- Visual Studio 2010 Tools for Office Runtime


4- Next we need to launch the command prompt to register some DLLs. 

    

    In Windows 7: Start | All Programs | Accessories and right click on the Command Prompt and run it as administrator

    In Windows 8/10: Click on Start, type in command, right-click on Command Prompt and choose Run as administrator



5- To register the DLLs, type the commands below one line at a time in the Command prompt and press Enter. 

  •  Regsvr32 Softpub.dll
  •  Regsvr32 Wintrust.dll
  •  Regsvr32 Mssip32.dll
  •  Regsvr32 Initpki.dll

** Make sure you get a success message after registering each one.

 

6- Now you would need to reinstall Salesforce for Outlook plug in. (This is with the assumption of the correct version of the .NET 4 is installed on the machine). 

 
To download .NET Framework 4.0 for 32 or 64bit operating systems

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718



Solution for Error 2


1- Close Microsoft Office product and all your browsers

2- Next you need to open the 'Services' applet. To do this, follow the steps below:

In Windows 7, click on Start and type in Services.msc in the Search field
 

3- In the Services windows, scroll down and locate the following service and right click on WindowsUpdate and click on STOP.
** Dont close this yet, since you have to restart this service on STEP 7
Link to Windows Services image

4- Next press and hold down the Windows key on your keyboard and press R on your keyboard. This will open the RUN Command

5- Inside the RUN command box, type in %windir% 
This command will take you to your Windows system folder

6- In that folder, find the "SoftwareDistribution" folder and rename it to "SDold" - Right click on it and click on Rename

7- Go back to Services and Start the service you stopped on STEP 3

8- Now, try to install .NET Framework again

You can download a fresh copy from the link below

http://www.microsoft.com/download/en/details.aspx?id=17718

 

After you are done installing it, try to reinstall Salesforce for Outlook
 

 

Knowledge-artikkelnummer

000384385

 
Laster
Salesforce Help | Article