具有先决条件的静默安装安装程序

时间:2009-11-18 16:27:17

标签: installer installshield prerequisites

有没有办法以静默方式安装(/ s)需要自己的先决条件的InstallShield(非MSI)安装程序?

在我的情况下,先决条件是Microsoft Visual C ++ 2008 Redistributable。一旦父安装程序运行,它的UI就会弹出。

3 个答案:

答案 0 :(得分:1)

(假设您正在使用带有InstallShield先决条件的InstallShield 2010 InstallScript项目...)

InstallShield先决条件允许您指定在静默运行时使用的命令行。如果您需要运行的可再发行组件采用一个使其静默运行的参数(遗憾的是并非所有可再发行组件都可以运行),请在先决条件的Specify the command line for the application when the setup is running in silent mode字段中指定此参数。我不清楚VC ++ 2008可再发行组件是否采用了这样的论点。如果没有,也许您可​​以创建一个使用VC ++ 2008合并模块的MSI项目,然后以静默方式安装此MSI作为先决条件。

Specifying Command-Line Parameters for an InstallShield Prerequisite

答案 1 :(得分:0)

我能找到的最近的解决方案是通过从父节点中提取它来操纵先决条件。类似于:http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime-vcredist-packages.aspx

答案 2 :(得分:0)

msiexec /i vc_red.msi USING_EXUIH=1 /qn

Source

相关问题