试题详情
单项选择题You work as an application developer at Certkiller .com. You have recently created a business application, which requires complex installation logic. You add the following code to your project after electing to create a custom installer for the business application. public class ApplicationInstaller : Intaller { public override void Install (IDictionary stateSaver) { //Install the application Base.Install (stateSaver); } public override void Commit (IDictionary savedState) { //Commit the application Base.Commit (savedState); } public override void Rollback (IDictionary savedState) { //Rollback the application Base.Rollback (savedState); } public override void Uninstall (IDictionary savedState) { //UnInstall the application Base.Uninstall (savedState); } } What should be done NEXT?()

A、 The assembly should be compiled and the Install.exe tool should be run.

B、 The RunInstaller attribute should be added to the business application assembly and it should be set to true.

C、 The assembly should be compiled and should be run as normal.

D、 The RunInstaller attribute should be added to the ApplicationInstaller class and it should be set to true.

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题