Q: Why do you need to add instances of both the ServiceProcessInstaller and ServiceInstaller classes to install your service application? A: A service application can contain more than one service. The methods of the ServiceProcessInstaller class perform the tasks that are common for all the services within a service application, such as writing entries in the system registry for all the services within the service application. The ServiceInstaller class performs tasks specific to a service, such as creating an entry for a service in the registry of a computer. (emphasis added).Is this just a typo away from sensible? Many thanks if you can explain.
Q: Why do you need to add instances of both the ServiceProcessInstaller and ServiceInstaller classes to install your service application?
A: A service application can contain more than one service. The methods of the ServiceProcessInstaller class perform the tasks that are common for all the services within a service application, such as writing entries in the system registry for all the services within the service application. The ServiceInstaller class performs tasks specific to a service, such as creating an entry for a service in the registry of a computer. (emphasis added).Is this just a typo away from sensible? Many thanks if you can explain.