How do I register a DLL using a Service?

From: Dave Allen (davidallen_at_mchsi.com)
Date: 08/09/05


Date: Tue, 09 Aug 2005 17:34:45 GMT


Hi There,

I'm a Visual Basic 6 programmer and one of my programs uses a DLL to store
the printable reports for an agency. This DLL sometimes needs to be
updated on all machines (Windows 2000 and XP). I've written an upgrading
routine which does the following: When a user logs into the program it
checks for a newer copy of the main program exe and the reports dll on the
server then automatically copies them over locally and registers the
reports dll.

The system works fine but some of the agencies using the software have
limited rights for their users. This means that the dll will not register
under a non-administrator account so I have to have an administrator log in
at each machine to run the upgrade.

What I would like to do is to create a service that will register the dll
for me. I've written an activex exe which I have running as a service.
this service allows a dll's info to be sent to it and will register it
properly but it still only works on an administrator's account. I can't get
it to work on a non-administrator account.

Is it possible to use a service to register a dll? If so, which account
should I use? System, Local, An Admin account?

I've posted this in the VB groups with no answer, only a suggestion to post
it here.

Thanks in Advance,

Dave Allen

davidallen@mchsi.com



Relevant Pages

  • Re: Remoting Help Required
    ... .config file, register it as a well known type and as long as it's in the ... instances of your app out there pointing to a separate instance of that dll. ... > Now I have a request to run multiple versions of the reports on the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: IAS Athentication via ODBC
    ... IAS is compatible with any LDAP- ... authentication extension DLL that handles the authentication process. ... RADIUS extension DLL. ... account on your IAS server; configuring a connection request policy on your ...
    (microsoft.public.internet.radius)
  • Re: ASP.NET not executing interop functions
    ... I managed a work-around by giving the ASP.NET account increased security ... thanks for your help Rick. ... > access what ever the DLL needs to have access to. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Remotely creating accounts using ADSI & CDOEXM fails
    ... I have that COM+ app setup to run as an admin ... When I call the DLL from ASP I still get an Access Denied ... account it's configured to do in COM+ ... >>> creation part will work fine with alternate credentials). ...
    (microsoft.public.exchange.development)
  • Re: Permission denied on dll in ASP.NET
    ... (because this is anonymous IIS ... account would be used for logon and your application would run in that ... > I have an ASP.NET web application that calls a middle-tier dll. ... "Access to the registry key ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast