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

179 views Asked by At

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

There are 1 answers

3
Ingo Kegel On BEST ANSWER

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.