You receive an "interface not registered" error message when you try to build a Setup project in Visual Studio .NET (835457)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

When you build a Setup project in Microsoft Visual Studio .NET, you may receive the following error message:
"Could not find file. <c:\program files\microsoft visual studio .net\common7\tools\deployment\.\msiredist\instmsia.exe> Interface not registered."

CAUSE

This problem occurs if the Ole32.dll file that is located in the %Windir%\System32 folder is not registered correctly in the Microsoft Windows registry.

RESOLUTION

To resolve this problem, register the Ole32.dll file. To do this, follow these steps:
  1. Click Start, and then click Run. The Run dialog box appears.
  2. In the Open box, type the following command, and then click OK:

    Regsvr32.exe %Windir%\System32\Ole32.dll

    You receive the following message in the RegSvr32 dialog box: DllRegisterServer in C:\WINDOWS\System32\ole32.dll succeeded.
  3. In the RegSvr32 dialog box, click OK.
  4. Start Visual Studio .NET, and then rebuild your Setup project.

REFERENCES

For more information about deployment error messages, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MinorLast Reviewed:5/23/2005
Keywords:kberrmsg kbDeployment kbprb KB835457 kbAudDeveloper