Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2005

Tip: Looking for answers? Try searching our database.

Deploying Microsoft.mshtml

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dean Hallman - 15 Jan 2005 09:51 GMT
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!
Rick Strahl [MVP] - 26 Jan 2005 11:57 GMT
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 ---

Signature

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

> 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
[quoted text clipped - 26 lines]
>
> Thanks for your help!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.