Regsvcs.exe requires a source assembly file specified by assemblyFile.dll. This assembly must be signed with a strong name. For more information on strong name signing, see Signing an Assembly with a Strong Name. The names of the target application and the type library file are optional. The applicationName argument can be generated from the source assembly file and will be created by Regsvcs.exe, if it does not already exist. The typelibraryfile argument can specify a type library name. If you do not specify a type library name, Regsvcs.exe uses the assembly name as the default.
When Regsvcs.exe registers a component's methods, it is subject to the demands and link demands on those methods. Because the tool executes in a fully-trusted environment, most demands for a permission succeed. However, Regsvcs.exe cannot register components with methods protected by a demand or link demand for the StrongNameIdentityPermission or the PublisherIdentityPermission.
You must have administrative privileges on the local computer to use Regsvcs.exe.
If Regsvcs.exe fails while performing any of these actions, it displays corresponding error messages. For a more detailed description of the possible failures and error messages, see Manually Registering an Assembly.