|
| |||||||||
| Tags: regsvr32 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Regsvr32 HELP!
Does anybody know how regsvr32 works?, I have an "almost home-developed ERP" and we cannot use it with "restricted" or "normal" user rights, it have to work with local administrator rights, and all it's modules works over dlls, so when an update or correction is made to any module (dll) the ERP allways run an Regsvr32 as procedure to register de "new" dll, is there any way to restrict the compleate profile to normal user rights and let the ERP to run elevated rights as administrator only to register its own dll and no more? Baruch Ortiz |
|
#2
| |||
| |||
| Re: Regsvr32 HELP!
On Mar 3, 7:32*am, "Baruch Ortiz" <baruchn...@hotmail.com> wrote: > Does anybody know how regsvr32 works?, I have an "almost home-developed ERP" > and we cannot use it with "restricted" or "normal" user rights, it have to > work with local administrator rights, and all it's modules works over dlls, > so when an update or correction is made to any module (dll) the ERP allways > run an Regsvr32 as procedure to register de "new" dll, is there any way to > restrict the compleate profile to normal user rights and let the ERP to run > elevated rights as administrator only to register its own dll and no more? > > Baruch Ortiz Regsvr32 is no secret - you can download the full source code for it at http://msdn2.microsoft.com/en-us/lib...31(VS.80).aspx The gist of it is just a simple LoadLibrary and GetProcAddress on the DllRegisterServer function in the DLL. However, having the source to regsvr32 will not solve your problem. The DLL that you are registering probably needs to write registry keys to the HKLM hive and that requires admin privilege. I dont think you will be able to install and register your app without elevating to admin to complete this task. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Regsvr32 HELP!" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| regsvr32/u lmpgspl.ax | boopygirl | Windows Vista Performance | 8 | 10-02-2010 06:20 PM |
| REGSVR32 0x80070005 | Jarryd | Windows Security | 4 | 16-08-2009 11:08 AM |
| regsvr32 shell32.dll | S1L1Y1 | TroubleShoot 98 | 16 | 22-11-2008 12:46 PM |
| Regsvr32 | stacey | Windows XP Support | 8 | 07-12-2007 11:28 PM |
| regsvr32 error | Lulu | Vista Help | 5 | 17-06-2007 07:41 AM |