Install4j - How can I install the MSVC++ Redistributable Binary if needed?

情到浓时终转凉″ 提交于 2019-12-11 07:35:54

问题


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?


回答1:


You can use the "Run executable or batch file" action to run an external installer.

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

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.



来源:https://stackoverflow.com/questions/41356051/install4j-how-can-i-install-the-msvc-redistributable-binary-if-needed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!