New redist page
Should not activated redists striked out (current) or not visible?
PS: You can define own names, paths and arguments for each redist
Code:
#define UseRedists
#define Redist1
#define Redist1Name "DirectX"
#define Redist1Path "{src}\_CommonRedist\DirectX\Jun2010\dxsetup.exe"
#define Redist1Param ""
;#define Redist2
#define Redist2Name "Visual C++ 2005"
#define Redist2Path "{src}\_CommonRedist\vcredist\2005\vcredist_x64.exe"
#define Redist2Param "/q"
;#define Redist3
#define Redist3Name "Visual C++ 2008"
#define Redist3Path "{src}\_CommonRedist\vcredist\2008\vcredist_x64.exe"
#define Redist3Param "/q"
;#define Redist4
#define Redist4Name "Visual C++ 2010"
#define Redist4Path "{src}\_CommonRedist\vcredist\2010\vcredist_x64.exe"
#define Redist4Param ""
#define Redist5
#define Redist5Name "Visual C++ 2012"
#define Redist5Path "{src}\_CommonRedist\vcredist\2012\vcredist_x64.exe"
#define Redist5Param "/quiet /norestart"
;#define Redist6
#define Redist6Name "Visual C++ 2013"
#define Redist6Path "{src}\_CommonRedist\vcredist\2013\vcredist_x64.exe"
#define Redist6Param "/quiet /norestart"
;#define Redist7
#define Redist7Name "Visual C++ 2015"
#define Redist7Path "{src}\_CommonRedist\vcredist\2015\vc_redist.x64.exe"
#define Redist7Param "/quiet"
;#define Redist8
#define Redist8Name "Visual C++ 2017"
#define Redist8Path "{src}\_CommonRedist\vcredist\2017\vc_redist.x64.exe"
#define Redist8Param "/quiet"
#define Redist9
#define Redist9Name ".NET Framework 4.0"
#define Redist9Path "{src}\_CommonRedist\DotNet\4.0 Client Profile\dotNetFx40_Client_x86_x64.exe"
#define Redist9Param "/q /norestart"