我尝试msiexec在 PowerShell 中运行,但不断收到错误消息。如果我cmd从那时起运行它,一切都很好。
有人可以让我知道如何在 PowerShell 中运行此命令吗?
这是我在 PowerShell 中输入的命令:
msiexec.exe /qb /I "C:\m_temp\Floating\PrimeWixInstaller.msi" INSTALLLOCATION="C:\Program Files\Mathcad\Mathcad Prime 1.0" ALT_DOC_DIR="C:\Program Files\Mathcad\Mathcad Prime 1.0"
Run Code Online (Sandbox Code Playgroud)
当我尝试运行该命令时,会弹出 Windows Installer 帮助窗口:
