Install4j-如果需要,如何安装MSVC ++可再发行二进制文件? [英] Install4j - How can I install the MSVC++ Redistributable Binary if needed?
问题描述
我想知道是否可以使用某种方式使用install4j实用程序来安装MSVC ++可再发行库,如果它们尚未在客户端计算机上?
I'm wondering if there's some way to use my install4j utility to handle installing the MSVC++ redistributable libraries if they are not already on the client machine?
有没有人有一个例子说明他们是如何做到的,以免我重新发明轮子呢?
Is there anyone who has an example of how they did that to save me from re-inventing the wheel?
推荐答案
您可以使用运行可执行文件或批处理文件"操作来运行外部安装程序.
You can use the "Run executable or batch file" action to run an external installer.
大多数安装程序具有不需要用户交互的无人参与"模式.激活MSVC ++可再发行组件包的无人参与模式因版本而异,对于2010/2012和2013,必需的参数为
Most installers have an "unattended" mode that does not require user interaction. Activating unattended mode for the MSVC++ redistributable package varies from version to version, for 2010/2012 and 2013 the required arguments are
/passive /norestart
对于2015年,参数为
For 2015, the arguments are
/install /passive /norestart
在参数"属性的编辑器中,确保将每个参数放在新行上.
In the editor of the "Arguments" property, make sure to put each argument on a new line.
这篇关于Install4j-如果需要,如何安装MSVC ++可再发行二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!