Microsoft Installer Problem: 'failed to register MSHTML.TLB'
Posted on 2003-03-05
Using the Visual Studio Installer (MS VS 6.0 with Service Pack 5.0 installed, including the SP5 updated merge module files) I am having this consistent error when I run the installer file (project1.msi):
Error 1904: Module C:\WINNT\SYSTEM32\MSHTML.TLB failed to register. HRESULT -2147024769
This error happens toward the end of the install process. The web-related code of the installed program then has runtime errors.
The project includes a WebBrowser object, and also uses the Inet object to do some parsing of web documents. It builds and runs successfully from within Visual Studio, and the .exe works fine if you just run it within the project directory.
Question: What is wrong with my installer or project!? Please give detailed instructions on how to correct this problem.
Thanks in advance!