(Assuming you're using an InstallShield 2010 InstallScript project with InstallShield prerequisites...)
InstallShield prerequisites allow you to specify a command line to be used when it is run silently. If the redistributable you need to run takes a parameter that makes it run silently (unfortunately not all redistributables do), specify this in the prerequisite's Specify the command line for the application when the setup is running in silent mode field. I don't know specifically whether the VC++ 2008 redistributable takes such an argument. If it does not, perhaps you could create an MSI project that uses the VC++ 2008 merge module, then install this MSI as a prerequisite silently.
发布评论
评论(3)
(假设您使用的是具有 InstallShield 先决条件的 InstallShield 2010 InstallScript 项目...)
InstallShield 先决条件允许您指定静默运行时要使用的命令行。如果您需要运行的可再发行组件采用使其静默运行的参数(不幸的是,并非所有可再发行组件都这样做),请在先决条件的
在安装程序以静默模式运行时指定应用程序的命令行
场地。我具体不知道 VC++ 2008 可再发行组件是否采用这样的参数。如果没有,也许您可以创建一个使用 VC++ 2008 合并模块的 MSI 项目,然后以静默方式安装此 MSI 作为先决条件。为 InstallShield 先决条件指定命令行参数
(Assuming you're using an InstallShield 2010 InstallScript project with InstallShield prerequisites...)
InstallShield prerequisites allow you to specify a command line to be used when it is run silently. If the redistributable you need to run takes a parameter that makes it run silently (unfortunately not all redistributables do), specify this in the prerequisite's
Specify the command line for the application when the setup is running in silent mode
field. I don't know specifically whether the VC++ 2008 redistributable takes such an argument. If it does not, perhaps you could create an MSI project that uses the VC++ 2008 merge module, then install this MSI as a prerequisite silently.Specifying Command-Line Parameters for an InstallShield Prerequisite
我能找到的最接近的解决方案是通过从其父级中提取它来操纵先决条件。类似于: http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime -vcredist-packages.aspx
The nearest solution I could find was manipulating pre-requisite by extracting it from its parent. Similar to: http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime-vcredist-packages.aspx
来源
Source