Skip to content

witadmin.exe path issues #34

@HamsterExAstris

Description

@HamsterExAstris

There are two separate issues with the path logic.

  1. When witadmin.exe is in the path, Test-Path will fail, so it will still throw even though it's valid and can do the work.

  2. In 32-bit PowerShell processes, $env:ProgramFiles resolves to C:\Program Files (x86), so $VSDirectories is built with the wrong path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions