7.6. Registering 1C:Enterprise as OLE Automation server
/RegServer [-AllUsers | -CurrentUser | -Auto]
Register V83.Application and V83C.Application objects. One of the following parameters may be used:
- -AllUsers. The objects are registered for all computer users. If the user has insufficient rights to register, the error message is generated. If the /Out <FileName> parameter is specified, the message is output to file, otherwise the message is displayed at the user screen.
- -CurrentUser. The objects are registered for the current user.
- -Auto. The objects are registered for all the PC users, if the user has sufficient rights. If the user does not have sufficient rights, the objects are registered for the current user. No dialog boxes are displayed.
If the optional parameters are not specified, the registration is performed subject to the rights of the registering user:
- If the user has the rights to register for all computer users, the object is registered for the computer.
- If the user has insufficient rights to register for all computer users, the user is prompted to register for the current user.
/UnregServer
Unregister V83.Application and V83C.Application objects.