

We need to download the 64 Bit VC Redistributable from the Microsoft Website Since I am using DWinsHs for downloading remote files I added the following two entries to the BeforeDownload callback: function BeforeDownload(): boolean I updated PrepareToInstall: function PrepareToInstall(var NeedsRestart: Boolean): String īVcRedist64BitNeeded := IsVCRedist64BitNeeded() īVcRedist32BitNeeded := IsVCRedist32BitNeeded() So I assume it is acceptable to look for this version in the registry. Log('VC Redist x86 is not already installed') Īs I understand it, from the SO answer in the comment, 14.14 is the 2015 redistributable package and 2015 through 2019 use the same binaries. 'SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86', 'Version', strVersion)) then

Log('VC Redist x86 Version : found ' + strVersion) 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86', 'Version', strVersion)) then Log('VC Redist 圆4 is not already installed') įunction IsVCRedist32BitNeeded(): boolean Result := (CompareStr(strVersion, 'v9.03') < 0) Log('VC Redist 圆4 Version : found ' + strVersion) Is the installed version at least 14.14 ? 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\圆4', 'Version', strVersion)) then

If (RegQueryStringValue(HKEY_LOCAL_MACHINE, I implemented these functions to test if the x86 and 圆4 redistributables are already installed: // See: įunction IsVCRedist64BitNeeded(): boolean

Therefore I am kindly asking if I have gone about this correctly. I don't have a virtual computer so I am not able to beta test this installation.
