Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How do I register a DLL using a Service?
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

 

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

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How do I register a DLL using a Service?
Go to:

There are 1114 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them