我正在以管理员身份在powershell中的代码下运行,以使用通过powershell的msixpackagingtool.exe将msi打包到msix。
Invoke-Command -ComputerName remotecomputerip -ScriptBlock {MsixPackagingTool.exe create-package --template C:\ tortoisesvn.xml}
但是我收到此错误: 程序“ MsixPackagingTool.exe”无法运行:系统无法访问该文件。 + CategoryInfo:ResourceUnavailable:(:) [],ApplicationFailedException + FullyQualifiedErrorId:NativeCommandFailed
任何人都可以帮忙。
答案 0 :(得分:0)
我认为您不能,我从未见过任何文档。您的用例是什么?
但是,其他可以构建MSIX软件包的商业工具也可以远程连接到VM,并在该计算机上执行捕获。
教程:https://www.advancedinstaller.com/user-guide/convert-legacy-installations.html
免责声明:我正在团队建设Advanced Installer