You need to make the user name and password available to a custom Installer class that will execute the script

You are preparing to deploy an XML Web service named InventoryService. This service queries a Microsoft SQL Server database and returns information to the caller.

You use Visual Studio .NET to create a setup project. You need to install InventoryService. You also need to run a script to create the necessary SQL Server database and tables to store the data. To accomplish this, you need to configure the project to have administrator rights to the SQL Server database.
You add a custom dialog box to the project that prompts the user for the administrator user name and password that are used to connect to the SQL Server database. You need to make the user name and password available to a custom Installer class that will execute the script.

What should you do?

You are preparing to deploy an XML Web service named InventoryService. This service queries a Microsoft SQL Server database and returns information to the caller.

You use Visual Studio .NET to create a setup project. You need to install InventoryService. You also need to run a script to create the necessary SQL Server database and tables to store the data. To accomplish this, you need to configure the project to have administrator rights to the SQL Server database.
You add a custom dialog box to the project that prompts the user for the administrator user name and password that are used to connect to the SQL Server database. You need to make the user name and password available to a custom Installer class that will execute the script.

What should you do?

A.
Add a launch condition that passes the user name and password to the Install subroutine.

B.
Add a merge module to the project that captures the user name and password. Use the merge module to access these values in the Install subroutine.

C.
Retrieve the user name and password from the savedState object in the Install subroutine.

D.
Create a custom install action. Set the CustomActionData property to the entered user name and password.
Then access these values in the Install subroutine.



Leave a Reply 0

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