You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix VC++ redistributable detection to avoid needless re-download (#4596) (#4598)
The previous detection passed a ProductCode to IsMsiProductInstalled,
which expects an UpgradeCode. ProductCodes change with every
redistributable build, so the check failed on all machines that didn't
happen to have that exact build installed, causing the 18.5 MB
vc_redist.x64.exe to be downloaded and re-run on every install.
Switch primary detection to the registry method documented by Microsoft
(HKLM\\SOFTWARE\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\<arch>),
which is stable across installer builds and works for both x64 and
arm64. Keep the verified x64 UpgradeCode as a fallback.
0 commit comments