【发布时间】:2018-11-08 05:36:04
【问题描述】:
嗨!
这不是另一个问题的重复。我已附上日志。我已经使用了 Windows Bridge ~ 2 年。我需要一个高级答案。 StackOverflow 拥有许多才华横溢的 Windows 开发人员,甚至来自微软。 Windows Bridge 无法正确进行清理并失败。这将是这项技术的一个错误。
嗨!
有人可以回答我的问题吗? Windows Bridge 不会创建正确的输出。 看起来它从文件夹中删除了一些东西,但它不能。 我禁用了 AV,结果不成功。 我该怎么办?
VERBOSE: An error occurred converting your application. Here is the full error record:
VERBOSE:
PowerShell Error Record:
Cannot remove item C:\DesktopAppConverter\21c0f04c-4eea-4f98-912b-9a47a3b0a91c\shared: Proces nie może uzyskać dostępu
do pliku „C:\DesktopAppConverter\21c0f04c-4eea-4f98-912b-9a47a3b0a91c\shared”, ponieważ jest on używany przez inny
proces.
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: Proces nie może uzyskać dostępu do pliku
„C:\DesktopAppConverter\21c0f04c-4eea-4f98-912b-9a47a3b0a91c\shared”, ponieważ jest on używany przez inny proces.
w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
w System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean
throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
w System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
w Microsoft.PowerShell.Commands.FileSystemProvider.RemoveFileSystemItem(FileSystemInfo fileSystemInfo, Boolean
force)
Inner Exception Stack Trace[0]
w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
w System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean
throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
w System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
w Microsoft.PowerShell.Commands.FileSystemProvider.RemoveFileSystemItem(FileSystemInfo fileSystemInfo, Boolean
force)
VERBOSE: The full error record is saved in the logs at C:\DesktopAppConverter\21c0f04c-4eea-4f98-912b-9a47a3b0a91c\logs
C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1 : Cannot
remove item C:\DesktopAppConverter\21c0f04c-4eea-4f98-912b-9a47a3b0a91c\shared: Proces nie może uzyskać dostępu do plik
u „C:\DesktopAppConverter\21c0f04c-4eea-4f98-912b-9a47a3b0a91c\shared”, ponieważ jest on używany przez inny proces.
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
非常感谢您的回答。
【问题讨论】:
-
desktopAppConverter Multiple MSI files 的可能重复 这不是同一个问题,但在上一个问题中,您可以找到其他有助于转换的免费工具的链接。
-
非常感谢您的评论。几个月前,DesktopAppConverter 在我的 Windows 上运行。我不需要改变平台,
-
您能否说明您已经尝试从该错误中恢复的内容?您是否尝试过使用 -Cleanup 选项并设置新的扩展图像进行转换? docs.microsoft.com/en-us/windows/uwp/porting/…
-
我已经清理了所有并重新加载了图像。存在问题。我不记得了,但当前图像将是我的 Windows 上安装的第一个图像。安装映像时,脚本显示错误,它没有 NetNat 作为错误。我已经报告了这个问题,因为这个异常看起来有点像低级错误。 P.S. 我有最新稳定的 Windows 和 Windows Image。
-
我很抱歉发送垃圾邮件。这是一个阻塞问题。我无法将新版本的应用程序添加到 Microsoft Store。请你帮忙好吗?
标签: windows uwp installation desktop-bridge