473,473 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Deploying Microsoft.mshtml

I need to ensure client machine has Microsoft.mshtml installed in the GAC.
And if not, deploy it. My app is a Browser Helper Object and depends on
mshtml.

Initially, I thought I could take care of deploying mshtml within my install
..msi (VS.NET
setup/deploy project). But if I simply add mshtml to the GAC from my
install, the install
fails near the end with the error:

"Unable to get installer types in the <mydll>.dll assembly. One or
more of the types
in the assembly unable to load."
((Yes, I'm using fusioninstall.cs in my project but it
is unrelated to mshtml and works perfectly as long as mshtml is
excluded))

It is just mshtml. Add it to the GAC, get the error. Change mshtml to go
in app folder. No error.
Even started over on a new, minimal test project. Got the same error there.

To workaround, I have two separate installs. First one deploys Mshtml.
Second one installs
my app. But, I know there's a way to get this into a single installl. How?

So, is this behavior by design and you aren't supposed to deploy
Microsoft.mshtml this way?
Is there a preferred way to deploy Microsoft's PIAs?

Thanks for your help!
Nov 16 '05 #1
1 7740
I haven't tried to deploy mshtml so I'm not sure about the deployment issue.

However, Microsoft.mshtml is little more than an TLib import from
mshtml.dll, so you could just import MSHTML yourself and install it locally
in your project. This way you can get around GAC install requirements.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
http://www.west-wind.com/wwThreads/
----------------------------------
Making waves on the Web
"Dean Hallman" <de***@sc.rr.com> wrote in message
news:QI*******************@twister.southeast.rr.co m...
I need to ensure client machine has Microsoft.mshtml installed in the GAC.
And if not, deploy it. My app is a Browser Helper Object and depends on
mshtml.

Initially, I thought I could take care of deploying mshtml within my install .msi (VS.NET
setup/deploy project). But if I simply add mshtml to the GAC from my
install, the install
fails near the end with the error:

"Unable to get installer types in the <mydll>.dll assembly. One or
more of the types
in the assembly unable to load."
((Yes, I'm using fusioninstall.cs in my project but it
is unrelated to mshtml and works perfectly as long as mshtml is
excluded))

It is just mshtml. Add it to the GAC, get the error. Change mshtml to go
in app folder. No error.
Even started over on a new, minimal test project. Got the same error there.
To workaround, I have two separate installs. First one deploys Mshtml.
Second one installs
my app. But, I know there's a way to get this into a single installl. How?
So, is this behavior by design and you aren't supposed to deploy
Microsoft.mshtml this way?
Is there a preferred way to deploy Microsoft's PIAs?

Thanks for your help!

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pooja Renukdas | last post by:
Hello, i am using the Microsoft.mshtml.dll to access the DOM in the HTML page when i use the Collection object it gives me the ExecutionEngineException execption The code is given below ...
0
by: Erich Hofacker | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
3
by: Zürcher See | last post by:
I've wrote an application that use internet explorer to download some html page, to get the document I use the Microsoft.mshtml library. mshtml.IHTMLDocument3...
0
by: John Bowman | last post by:
Hi, I've got a simple C# (.NET 1.1) app that will run only on Win2K and WinXP (min IE ver. 5.01) that uses the ax webbrowser control to display a simple hmtl page and disables the right click...
5
by: Atara | last post by:
I am trying to convert the following code to VB .Net, I still have some gaps (the lines that are marked with (*)) and also I need an ending condition for the while loop. any help would be...
1
by: bernhard schelling | last post by:
Hi, I'm using Visual C# Express and I'd like to build a project available from http://download.microsoft.com/download/f/2/7/f279e71e-efb0-4155-873d-5554a0608523/WSRP.exe Somehow the Refernce...
0
by: Filippo Bettinaglio | last post by:
Hi all, In the past 3 days I have done some research about Microsoft.mshtml component within .NET 2 framework. I need some clarification/comfermation about the Microsoft.mshtml componet and...
2
by: JM | last post by:
Hi, I have created a windows application which uses Microsoft.mshtml.dll for displaying browser window in the application for showing html. When I am creating a setup program, I have to...
0
by: ankouny | last post by:
Dear, when trying to publish a web service to the server the following error occurs, knowing that it is running normal on the local machine. Please help. Server Error in '/IVRLAF' Application....
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.