visual-c++windows-installerwindows-server-2012redistributable

How to install vc++ redistributable without windows installer


In our product we had to disable the "windows installer" service (security-wise). In Windows 2012 it is not possible to do so with sc.exe, so we had to change the value of the service in the registry (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver ---> start = 4)

Now, as an upgrade process of our product, we need to install "VC++ 2013 redist"

  1. Is it possible to install this package without using windows installer?

  2. Or, is it possible to start a "disabled" windows installer service without restarting the machine?


Solution

  • Instead of installing the VC++2013 runtime using Windows Installer you can put the needed files in the directory of your executable:

    you can directly install redistributable Visual C++ DLLs in the application local folder, which is the folder that contains the executable application file.

    (from Redistributing Visual C++ Files)