While starting the installed service through service.msc
, if the start up fails then windows shows a generic message in the pop up. But, in certain cases, we want to propagate a meaningful message here explaining why the service did not start, for example, if the customers fail to configure few things during installation.
Is there any way in C#
through which we can achieve this functionality?