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 / Distributed Applications / June 2005

Tip: Looking for answers? Try searching our database.

deployment problems with mshtml

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
goder - 10 Jun 2005 13:02 GMT
hi,

our app uses the Microsoft.mshtml.dll and our installer (installshield)
installs this dll in the gac. now the program works great for the user who
installed the prog. but not for any other user.
for any other user it's like the mshtml.dll was never installed in the gac.
what are we doing wrong?

thanks in advance
john armitage - 14 Jun 2005 01:01 GMT
This sounds strangely familiar to a problem that I'm chasing right now.

You register your stuff in the GAC, but where does the actual dll end up
living?
Also, what kind of "users" are we talking about?  Admins, limited?

> hi,
>
[quoted text clipped - 5 lines]
>
> thanks in advance
john armitage - 14 Jun 2005 01:06 GMT
er.. sorry, I've been digging around with regasm all day.  
I meant "install your stuff in the GAC"

> This sounds strangely familiar to a problem that I'm chasing right now.
>
[quoted text clipped - 11 lines]
> >
> > thanks in advance
goder - 14 Jun 2005 12:48 GMT
we tried all kinds of users (admin, limited). the result: only the user that
installed the prog can use it (use the mshtml).
the dll is also located in the prog's root/bin dir.
question: "install your stuff in the GAC" - is "my stuff" the prog we wrote
or the mshtml. the mshtml is registered/installed in the GAC.

> er.. sorry, I've been digging around with regasm all day.  
> I meant "install your stuff in the GAC"
[quoted text clipped - 14 lines]
> > >
> > > thanks in advance
john armitage - 14 Jun 2005 16:59 GMT
I was talking about the mshtml file.
What I'm wondering is if that second user (the one that didn't install the
program) has access to the root/bin directory.
I know in one instance we had a dll (not mshtml) installed in the gac, and
it was located in a different location, not the app's main directory.  One
user didn't have access to that different location.  So even though the dll
was registered, and the gac knew where to look for it, the user didn't have
access to it.
It doesn't really sound like that matches up with your problem though.

> we tried all kinds of users (admin, limited). the result: only the user that
> installed the prog can use it (use the mshtml).
> the dll is also located in the prog's root/bin dir.
> question: "install your stuff in the GAC" - is "my stuff" the prog we wrote
> or the mshtml. the mshtml is registered/installed in the GAC.
goder - 15 Jun 2005 08:57 GMT
here is the solution:
installshield seems to use the gacutil to install the mshtml into the gac,
but doesn't use the regasm to register it (just as you said).
so that's it: just use the regasm!!!

thanks for yout help!!!!!

> I was talking about the mshtml file.
> What I'm wondering is if that second user (the one that didn't install the
[quoted text clipped - 11 lines]
> > question: "install your stuff in the GAC" - is "my stuff" the prog we wrote
> > or the mshtml. the mshtml is registered/installed in the GAC.
Joubert Nel - 21 Jun 2005 20:20 GMT
Perhaps consider XCOPY deployment of the interop assembly instead of
installing it in the GAC.

Regards
Joubert

> here is the solution:
> installshield seems to use the gacutil to install the mshtml into the gac,
[quoted text clipped - 18 lines]
> > > question: "install your stuff in the GAC" - is "my stuff" the prog we wrote
> > > or the mshtml. the mshtml is registered/installed in the GAC.

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.