What should you do to develop a project installer class to install these services?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a Windows Service application that consists of two Services.
The first service monitors a directory for new orders while the other service replicates a database table with up-to-date information.
You are required to develop a project installer class to install these services.
What should you do? (Choose two)

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a Windows Service application that consists of two Services.
The first service monitors a directory for new orders while the other service replicates a database table with up-to-date information.
You are required to develop a project installer class to install these services.
What should you do? (Choose two)

A.
One ServiceProcessInstaller instance must be Instantiate and add it to the project installer class

B.
Two ServiceInstaller instances must be Instantiate and add them to the project installer class

C.
Two ServiceProcessInstaller instances must be Instantiate and add them to the project installer class

D.
One ComponentInstaller instance must be Instantiate and add them to the project installer class

E.
Two ComponentInstaller instances must be Instantiate and add them to the project installer class

F.
One ServiceInstaller instance must be Instantiate and add them to the project installer Class

Explanation:
The proper way to do what the scenario requires of you would be to create one ServiceProcessInstaller instance per service application and one ServiceInstaller instance for each service in the application which have to be Instantiate.
Incorrect Answers:
C, F: You must create one ServiceProcessInstaller instance per service application and one ServiceInstaller instance for each service in the application which have to be Instantiate.
D, E: The ComponentInstaller class should not be considered for use as this class is an abstract class that can not be Instantiate.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


networkmanagers

networkmanagers

Correct answer is