I have a WindowsXP configured as a build machine. The build process runs under an account which isn't an administrator.
Some projects register as a last step an ocx control with something like
regsvr32 /s /c ".\debug\myocx.ocx"
This step fails and I assume that this has something to do with rights because doing the same under an admin account works fine.
What rights/permissions/policies do I need to give the build account and where do I do it? (Browsing Local Users and Groups and Local Security Settings haven't helped me)
Just use RegisterDLL "C:\Path\To\File. DLL" to automatically add the required entries. These scripts require no references, and no admin access. They should generally run fast and allow for setting on application startup, and cleaning on application shutdown, if conflicts might be an issue.
Regsvr32 is a command-line utility to register and unregister OLE controls, such as DLLs and ActiveX controls in the Windows Registry. Regsvr32.exe is installed in the %systemroot%\System32 folder in Windows XP and later versions of Windows.
Via regedit you need to give the build account rights on "HKEY_CLASSES_ROOT.
Right-click on HKEY_CLASSES_ROOT and choose Permissions...Full Control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With