【问题标题】:Silent install of vcredist_xxx.exevcredist_xxx.exe 的静默安装
【发布时间】:2014-10-17 11:21:03
【问题描述】:

我已在 Windows Server 2008R2、2012 和 2012R2 上成功安装了 vcredist_x86.exe 和 vcredist_x64.exe,使用:

start-process -FilePath "vcredist_x86.exe" -ArgumentList "/install /q /norestart" -Verb RunAs -wait

但是

由于某种原因,这不适用于 2008(不是 R2),无论是 x86 还是 x64。我总是得到提示。正在从 \share 安装文件。

非常感谢您的帮助。

谢谢!

【问题讨论】:

  • 只是一个理论,但其中一些系统的 PowerShell 版本是什么?我想知道他们是否不支持动词。
  • W2008 64bit: Major Minor Build Revision ----- ----- ----- -------- 2 0 -1 -1 2008R2 Major Minor Build Revision - ---- ----- ----- -------- 2 0 -1 -1 好像一样。

标签: windows powershell silent-installer vcredist


【解决方案1】:

-wait 参数在 W2008 中不适用于 2012 vcredist。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-30
    • 2017-03-27
    • 2011-05-15
    • 2023-04-06
    • 2023-03-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多