-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
The root cause of this issue is that the check is specific to a registry key that gets created when the VC++ redistributable package is directly installed via the suggested link. It overlooks scenarios where those files are installed via Windows Update.
A secondary issue is that the test should be tagged to only execute on Windows systems.
Steps to reproduce
Build the MSI for a Windows SKU using commit 54e892a and run it on a system that does not have Visual Studio 2015 or the VC++ redistributable package installed via MSI. The dependency is required, but it can be installed via Windows Update.
Expected behavior
The MSI installs without error.
Actual behavior
The failure message is, "PowerShell requires the Visual Studio C++ 2015 x64 redistributables to be installed..." This occurs on a fully patched system that has the dependency installed via Windows Update.
Environment data
Beta.5 + commit 54e892a