# windows_sdk: Get the latest installed version when using COM · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/41aaf1e6e8afc72b0541860577631a440083d4c2)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 41aaf1e6e8afc72b0541860577631a440083d4c2

Requested commit: 41aaf1e6e8afc72b0541860577631a440083d4c2

Commit: 41aaf1e6e8afc72b0541860577631a440083d4c2

Tree: 98448051e34cc58809be3a66ce8ae79e1d76d9de

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
windows_sdk: Get the latest installed version when using COM

Before, iteration would stop whenever an installation with vcruntime.lib was found, but that may not be the most recent installed version. Instead, we now iterate all installed instances and choose the one with the newest version.

```

## Parents

- [8579f720b045222dfb42d451552528f164740cd2](https://git.cafe/gitcafe/zig/commit/8579f720b045222dfb42d451552528f164740cd2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/41aaf1e6e8afc72b0541860577631a440083d4c2?format=markdown)
