mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
bffeb08a86
* Unfortunately there isn't an easy registry key to check to see if the 2015-2019 redist that we need is installed. Instead we need to check the major/minor version to see if it's at least 14.20. * This is complicated by the fact that windows installer returns DWORD registry values with an extra # but provides no built-in way to strip it so it can be compared numerically. The solution we've used here is a custom vbscript action, but apparently they are problematic. Worst case I believe this will try to install the runtime when not necessary, which might require an unnecessary reboot. Or alternatively it may misdetect the runtime as installed but the large majority of people have a compatible redist so this isn't too bad either.