DesktopAppConverter出现问题,Windows 10 v.17134 [英] DesktopAppConverter woes, Windows 10 v.17134

查看:174
本文介绍了DesktopAppConverter出现问题,Windows 10 v.17134的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Desktop App Converter将Win32应用程序从其MSI转换为UWP appx包,以便可以在Windows应用商店中对其进行更新. 这是步骤.

I'm trying to convert my Win32 app from its MSI into UWP appx package using Desktop App Converter, so that I can update it in the Windows Store. Here's the steps.

当我下载Windows_BaseImage_DAC_17134.wim文件并尝试安装它时,我最终得到了这个(我不确定这是否意味着什么):

When I downloaded the Windows_BaseImage_DAC_17134.wim file and tried to install it, I got this at the end (I'm not sure if it means anything):

这里与文本相同:

VERBOSE: Removing any pre-existing NAT network
Get-NetNat : Invalid class
At C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\converter_util\ContainerNetwor
kSetup.ps1:158 char:24
+         $existingNat = Get-NetNat
+                        ~~~~~~~~~~
    + CategoryInfo          : MetadataError: (MSFT_NetNat:root/StandardCimv2/MSFT_NetNat) [Get-NetNat], CimException
    + FullyQualifiedErrorId : HRESULT 0x80041010,Get-NetNat

然后在转换过程中(之前已经工作了很多次),我得到了:

Then during the conversion process (that worked many times before) I got this:

C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\shared
VERBOSE: An error occurred converting your application. Here is the full error record:
VERBOSE:

PowerShell Error Record:
Cannot remove item C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\shared: The process cannot access the
file 'C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\shared' because it is being used by another process.
PowerShell Stack Trace:
at Invoke-IsolatedInstall, C:\Program
Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\converter_util\IsolatedEnvironmentOps.ps1:
line 221
at <ScriptBlock><Process>, C:\Program
Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1: line 679
at <ScriptBlock>, <No file>: line 1

Inner Exception[0]:
System.IO.IOException: The process cannot access the file
'C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\shared' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean
throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveFileSystemItem(FileSystemInfo fileSystemInfo, Boolean
force)
Inner Exception Stack Trace[0]
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean
throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveFileSystemItem(FileSystemInfo fileSystemInfo, Boolean
force)
VERBOSE: The full error record is saved in the logs at C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\logs
C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1 : Cannot
remove item C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\shared: The process cannot access the file
'C:\DesktopAppConverter\2ca66a48-91ab-4885-93cf-c9d6c325f3b2\shared' because it is being used by another process.
At line:1 char:1
+ &'C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DesktopAppConverter.ps1

有人知道这意味着什么吗?

Does anyone have any idea what all this means?

PS.所有这些错误消息都与我的应用无关.

PS. All these error messages have nothing to do with my app.

推荐答案

我遇到了同样的问题,并通过关闭病毒和线程保护设置"中的实时保护"解决了该问题.

I ran into the same issue and solved it by turning off "Real-time protection" in the "Virus & thread protection settings".

这篇关于DesktopAppConverter出现问题,Windows 10 v.17134的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆