Registering instance fails and gives the following message: "Required
information could not be retrieved from the registry". I have defined an
instance and when trying to register it and creating a windows service, it
fails. Registering the instance succeeds in the first task ...