When installing the WorkflowFileUpload control, I get a 'Failure to install...' error

Issue

When installing the /WorkflowFileUpload/ component, I get the following error:

Failure to install Toolbox controls via ContentInstaller or Tools.InstallCommunityControls

Background

If you are experiencing this issue, it is likely because you have either SQL Server Management Studio Express CTP or SQL Server 2005 installed. These applications have at one point overwritten some of the registry key values used by Visual Studio, resulting in the complications you are now experiencing.

Solution

To install the WorkflowFileUpload control (as a workaround), do the following:

  1. Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194-F4A3FA9F0ED7}, change the CodeBase value to use the Visual Studio 8.0 location, for example file:///D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Microsoft.VisualStudio.ToolBoxControlInstaller.dll.

  2. Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{36839529-3AF3-47fa-8194- F4A3FA9F0ED7}\SatelliteDll, change the Path value to point to the Common7\IDE folder, for example D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\.

  3. Open the Visual Studio command prompt and run devenv /setup (Do not forget this step.)

  4. Reinstall the WorkflowFileUpload control.

Note: If you continue to have problems installing this control or any other, you may be required to reinstall Visual Studio.