1

我以管理员身份在 powershell 中运行以下代码,以使用 powershell 使用 msixpackagingtool.exe 将 msi 打包到 msix。

调用命令 -ComputerName remotecomputerip -ScriptBlock { MsixPackagingTool.exe create-package --template C:\tortoisesvn.xml }

但我收到此错误:程序“MsixPackagingTool.exe”无法运行:系统无法访问该文件。+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed

任何人都可以帮忙。

4

1 回答 1

0

我认为您不能,我从未见过任何有关此的文档。你的用例是什么?

但是,可以构建 MSIX 包的其他商业工具可以远程连接到 VM 并在该计算机上执行捕获。

教程:https ://www.advancedinstaller.com/user-guide/convert-legacy-installations.html

免责声明:我在团队建设 Advanced Installer 工作

于 2020-03-26T09:48:45.153 回答