You receive the following error when you install Microsoft Dynamics CRM for Microsoft Office Outlook: “Installation cannot proceed”


Symptoms


You receive the following error when you install Microsoft Dynamics CRM for Microsoft Office Outlook:

Installation cannot proceed: Setup cannot continue because a pending restart is required.  Restart the computer and then try running Setup again.

Cause


The RunOnce registry key exists.

Resolution


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

KB322756 How to back up and restore the registry in Windows

Check the the crm40setup.log to identify the registry key that causes the issue.  The crm40setup.log is located in %appdata%\Microsoft\MSCRM\Logs.  Once you have found the registry key, you can delete the registry key with the following steps:

  1. Click Start, click Run and type regedit, and then click OK.
  2. Locate the Registry Key listed in the Setup Log.  For example, the Registry Key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce.
  3. Right click RunOnce, and then click Delete.

More Information


Other common registry keys that cause this error:
  • HKEY_CURRENT_USER\Software\Microsoft\Windwos\CurrentVersion\RunOnce
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce