DllRegisterServer and NT security
- From: "Andy DF" <nospam@xxxxxxxxxx>
- Date: Thu, 15 Sep 2005 09:47:21 +0200
I have an autoupdate app that I use to deploy updates of my apps to end
users.
The application is DllRegisterServer capable in case I need to deploy/update
an ActiveX dll/ocx.
Code found here has been used for dynamic registering/unregistering of COM
objects:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=46775&lngWId=1
Just recently I've run into the security issue with Win NT and above.
If the user updating the application doesn't have administrative rights,
DllRegisterServer will fail, and the whole updating process will end up in a
mess.
Is there a way, thru VB code, to momentarely gain administrative rights to
perform registration of COM objects?
TIA,
Andy
.
- Follow-Ups:
- Re: DllRegisterServer and NT security
- From: Someone
- Re: DllRegisterServer and NT security
- From: J French
- Re: DllRegisterServer and NT security
- Prev by Date: DllRegisterServer and NT security
- Next by Date: Re: DllRegisterServer and NT security
- Previous by thread: Re: DllRegisterServer and NT security
- Next by thread: Re: DllRegisterServer and NT security
- Index(es):