在我们的产品中,我们必须禁用“Windows 安装程序”服务(安全方面)。 在 Windows 2012 中,无法使用 sc.exe 执行此操作,因此我们必须更改注册表中服务的值 (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver ---> 开始 = 4)
现在,作为我们产品的升级过程,我们需要安装 “VC++ 2013 Redist”
是否可以在不使用 Windows 安装程序的情况下安装此软件包?
或者,是否可以在不重新启动计算机的情况下启动“已禁用”的 Windows 安装程序服务?
最佳答案
您可以将所需的文件放入可执行文件的目录中,而不是使用 Windows Installer 安装 VC++2013 运行时:
you can directly install redistributable Visual C++ DLLs in the application local folder, which is the folder that contains the executable application file.
关于visual-c++ - 如何在没有 Windows 安装程序的情况下安装 vc++ 可再发行组件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33875910/