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

Article translations Article translations
Article ID: 835457 - View products that this article applies to.
Expand all | Collapse all

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:

Properties

Article ID: 835457 - Last Review: May 17, 2007 - Revision: 1.5
APPLIES TO
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
Keywords: 
kberrmsg kbdeployment kbprb KB835457

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com