多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题