最近我開始在客戶環境中使用 UE-V,注意到安裝 UE-V 2.0 代理程式或工具時可能會跳出相當奇怪的错误。如下所示,出現的錯誤訊息相當嚇人,並暗示安裝出了嚴重問題。如果我前往嘗試安裝 UE-V 代理程式之機器的 %temp% 資料夾,您會發現 Microsoft_User_Experience_Virtualization_Agent_.log 並沒有把問題講清楚。[0E70:0E74][2014-09-27T10:40:27]: Burn v3.6.3303.0, Windows v6.1 (Build 7601: Service Pack 1), path: D:UE-VInstallers2.0AnyCPUAgentSetup.exe, cmdline: ‘-burn.unelevated BurnPipe.{87244650-D62D-4444-979C-45197BB6BDD0} {4F666BD9-6261-485E-B93B-0C66CB718C68} 3676’[0E70:0E74][2014-09-27T10:40:27]: Setting string variable ‘WixBundleLog’ to value ‘C:UsersADMINI~1AppDataLocalTempMicrosoft_User_Experience_Virtualization_Agent_20140927104027.log’[0E70:0E74][2014-09-27T10:40:27]: Setting string variable ‘WixBundleOriginalSource’ to value ‘D:UE-VInstallers2.0AnyCPUAgentSetup.exe’[0E70:0E74][2014-09-27T10:40:27]: Condition ‘VersionNT >= v6.1’ evaluates to true.[0E70:0E74][2014-09-27T10:40:27]: Setting string variable ‘WixBundleName’ to value ‘Microsoft User Experience Virtualization Agent’[0E70:0E74][2014-09-27T10:40:28]: Loading managed bootstrapper application.[0E70:0E74][2014-09-27T10:40:28]: Creating BA thread to run asynchronously.[0E70:0EAC][2014-09-27T10:40:29]: Running WixBa[0E70:0E74][2014-09-27T10:40:29]: Detect 2 packages[0E70:0E74][2014-09-27T10:40:29]: Setting string variable ‘ISNETFRAMEWORK40’ to value ‘1’[0E70:0EAC][2014-09-27T10:40:29]: Creating a UI[0E70:0E74][2014-09-27T10:40:29]: Detected package: AgentSetupx86.msi, state: Absent, cached: None[0E70:0E74][2014-09-27T10:40:29]: Detected package: AgentSetupx64.msi, state: Absent, cached: None[0E70:0E74][2014-09-27T10:40:29]: Detect complete, result: 0x0[0E70:0EAC][2014-09-27T10:44:03]: Setup has thrown an exception. Please check the log.[0E70:0EAC][2014-09-27T10:44:03]: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)[0E70:0EAC][2014-09-27T10:44:04]:Â Â Â Â at WuApiTypeLib.IUpdateServiceManager2.get_Services()Â Â Â at Microsoft.Uev.Deployment.ManagedBootstrapperApplication.Views.RootView.CheckMuOptIn()Â Â Â at Microsoft.Uev.Deployment.ManagedBootstrapperApplication.Views.RootView.NextButton_Click(Object sender, RoutedEventArgs e)Â Â Â at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)Â Â Â at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs
UE-V 安裝時擲回例外狀況
作者 Kevin Kaminski