单项选择题
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application.The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()
A.Create a custom action and set the NoImpersonate property to true
B.Create a custom action and set the NoImpersonate property to false
C.Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
D.Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.
相关考题
-
单项选择题
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to deploy a new Applciation.You need to ensure that on deployment, the application meets the following requirements; (1)It is executed on the client computer. (2)It is removed from the client computer after the application closed. (3)It is not displayed in the Add/Remove programs panel on the client computer. What sould you do?()
A.Deploy the application to a central network server.- Access the application by using hte Remote Desktop Connection tool.
B.Deploy the application by using the ClickOnce technology.- Use the Mage.exe tool to set the Online Only option in the deployment manifest.
C.Deploy the application by using the ClickOnce technologoy.- Set the Install attiribute of the deployment tag to true in the deployment manifest.
D.Deploy the application to a CD-ROM by using the ClickOnce technology. - Execute the application from the CD-ROM. -
单项选择题
YouplantodeployanewMicrosoftVisualStudioToolsforOffice(VSTO)add-inforExcel.YouneedtoensurethattheVSTOadd-inisdeployedappropriately.Whatshouldyoudo?()
A.Use the ClickOnce technology.Include the .Net FrameWork 3.5 as a requirement
B.Use the Windows Installer deployment.Include a deployment manifest that has been signed by using Authenticode certificate.
C.Use the ClickOnce technology.Include the Microsoft Office 2007 Primary Interop assemblies as a prerequisite.
D.Use the Windows Installer deployment.Inclued a deployment manifest which specifies that only administrative permission are requied. -
单项选择题
You are creating a Windows component by using the .Net Framework 3.5.the component will be used in Microsoft Word 2007 by using a ribbon button.The component is used for uploading files. You find that Word 2007 becomes non-responsive during the upload. You need to ensure that the application completes the upload efficiently. What should you do?()
A.Use the AsyncResult.SyncProcessMessage method.
B.Call the BeginInvoke method, perform the upload, and then call the EndInvoke method
C.Retrieve a WaitHandle from an implementation of the IAsyncResult interface before the upload.
D.Set the IsCompleted property on an implementation of the IAsyncResult interface before the upload.
