gpt4 book ai didi

mysql - 从 WiX Bootstrapper 以被动模式运行 MSI

转载 作者:行者123 更新时间:2023-11-29 10:39:46 25 4
gpt4 key购买 nike

我想将 MySQL 作为我的 bundle 的一部分。如何从 Bootstrap 以被动模式运行 MySQL MSI?我尝试过:

<MsiPackage Id="MySQLPackage" SourceFile="mysql-5.5.57-win32.msi"
Vital="yes" DisplayInternalUI="yes" InstallCondition="InstallMySQLCheckbox">
<MsiProperty Name="CommandLineArg" Value=" /passive"/>
</MsiPackage>

但是它不起作用,MySQL 安装程序以正常的交互模式运行。从 Windows 命令提示符传递/passive 参数没有问题。MySQL 5.5 MSI 的被动模式:https://dev.mysql.com/doc/refman/5.5/en/windows-installer-msi-quiet.html

最佳答案

不确定您从哪里获得CommandLineArg,但它只是将其作为属性传递给MSI。 Burn 不支持在基本/被动 UI 模式下运行 MSI。

关于mysql - 从 WiX Bootstrapper 以被动模式运行 MSI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45720389/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com