AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 432734
Accepted
netadmin2008
netadmin2008
Asked: 2012-09-28 12:59:13 +0800 CST2012-09-28 12:59:13 +0800 CST 2012-09-28 12:59:13 +0800 CST

MSI 安装参数

  • 772

有谁知道在哪里可以找到 msi 的各种参数,例如以管理员身份安装/运行,或安装后重新启动。

我试图通过组策略推出 msi 更新,但在测试 msi 后我发现它需要以管理员身份运行才能安装,并且要使其开始完全工作,需要重新启动计算机。

任何帮助将不胜感激。谢谢你。

windows-7
  • 2 2 个回答
  • 259 Views

2 个回答

  • Voted
  1. Best Answer
    Greg Askew
    2012-09-28T13:11:33+08:002012-09-28T13:11:33+08:00

    如果您部署的软件安装包不是特定于用户的并且需要提升的权限,那应该是计算机组策略的一部分。在那种情况下,它不会安装在用户的上下文中,而是作为本地系统安装。用户帐户不应具有提升的权限。

    从 msiexec.exe /?:

    msiexec /Option <Required Parameter> [Optional Parameter]
    
    Install Options
        </package | /i> <Product.msi>
            Installs or configures a product
        /a <Product.msi>
            Administrative install - Installs a product on the network
        /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
            Advertises a product - m to all users, u to current user
        </uninstall | /x> <Product.msi | ProductCode>
            Uninstalls the product
    Display Options
        /quiet
            Quiet mode, no user interaction
        /passive
            Unattended mode - progress bar only
        /q[n|b|r|f]
            Sets user interface level
            n - No UI
            b - Basic UI
            r - Reduced UI
            f - Full UI (default)
        /help
            Help information
    Restart Options
        /norestart
            Do not restart after the installation is complete
        /promptrestart
            Prompts the user for restart if necessary
        /forcerestart
            Always restart the computer after installation
    Logging Options
        /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
            i - Status messages
            w - Nonfatal warnings
            e - All error messages
            a - Start up of actions
            r - Action-specific records
            u - User requests
            c - Initial UI parameters
            m - Out-of-memory or fatal exit information
            o - Out-of-disk-space messages
            p - Terminal properties
            v - Verbose output
            x - Extra debugging information
            + - Append to existing log file
            ! - Flush each line to the log
            * - Log all information, except for v and x options
        /log <LogFile>
            Equivalent of /l* <LogFile>
    Update Options
        /update <Update1.msp>[;Update2.msp]
            Applies update(s)
        /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
            Remove update(s) for a product
    Repair Options
        /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
            Repairs a product
            p - only if file is missing
            o - if file is missing or an older version is installed (default)
            e - if file is missing or an equal or older version is installed
            d - if file is missing or a different version is installed
            c - if file is missing or checksum does not match the calculated value
            a - forces all files to be reinstalled
            u - all required user-specific registry entries (default)
            m - all required computer-specific registry entries (default)
            s - all existing shortcuts (default)
            v - runs from source and recaches local package
    Setting Public Properties
        [PROPERTY=PropertyValue]
    
    • 3
  2. Serge
    2012-09-28T13:14:16+08:002012-09-28T13:14:16+08:00

    这里有很多关于使用 MSI 进行应用程序部署的有用信息

    • 0

相关问题

  • Windows 7 总是附加 VHD

  • Windows 7 上的虚拟 PC 和网络共享

  • 在 Windows XP 上安装 Windows 7 引导加载程序

  • 如何在 Windows 中自定义管道?

  • IIS 7.5 (Windows 7) - HTTP 错误 401.3 - 未经授权

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve