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
SYMPTOMSWhen 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." CAUSEThis problem occurs if the Ole32.dll file that is located in the
%Windir%\System32 folder is not registered correctly in the Microsoft Windows registry.RESOLUTIONTo resolve this problem, register the Ole32.dll file. To do this, follow these
steps:
- Click Start, and then click
Run. The Run dialog box appears.
- 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. - In the RegSvr32 dialog box, click
OK.
- Start Visual Studio .NET, and then rebuild your Setup
project.
REFERENCESFor more information about deployment error messages, visit the following Microsoft Developer Network (MSDN)
Web site:
Modification Type: | Minor | Last Reviewed: | 5/23/2005 |
---|
Keywords: | kberrmsg kbDeployment kbprb KB835457 kbAudDeveloper |
---|
|