Revert "Use the right syntax to check installation worked in the Windows installer"
Revert "Use the right syntax to check installation worked in the Windows installer"

This reverts commit b876f0220de5ca6c99701bcbe6430aa1509da5dd.

buildkite/agent,buildkite/agent,buildkite/agent