How to install Microsoft VC++ redistributables silently in Inno Setup?

前端 未结 4 1629
灰色年华
灰色年华 2020-12-03 05:28

How to install Microsoft VC++ redistributables silently in Inno Setup? I used the following code, most of the installation part is silent except the installation progress wi

4条回答
  •  無奈伤痛
    2020-12-03 06:21

    I modified the above code as follows. Then I got it worked properly and the entire installation was pretty smooth and silent.

    [Run]
    Filename: "{app}\bin\vcredist_x86.exe"; \
        Parameters: "/q /norestart /q:a /c:""VCREDI~3.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""" """; \
        Check: VCRedistNeedsInstall; WorkingDir: {app}\bin;
    

    Reference Links:

    • http://www.computerhope.com/cmd.htm
    • http://blogs.msdn.com/b/astebner/archive/2014/03/08/10078468.aspx

提交回复
热议问题