felixrieseberg/windows-build-tools

Problems when user is not admin

Open

#115 创建于 2018年5月11日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)TypeScript (234 fork)github user discovery
help wanted

仓库指标

Star
 (3,410 star)
PR 合并指标
 (PR 指标待抓取)

描述

Hi, and thanks for this invaluable tool. Correctly configuring msbuild by hand is a pain.

I've run into a problem when the developer user does not have admin permissions. To install windows-build-tools one has to start an admin cmd/powershell as the admin user (let's call it admin) Msbuild gets installed correctly this way, but the problem is, that Python gets installed in C:\Users\admin\.windows-build-tools and is owned by the admin user. The python config variable of npm is set to that path, which results in npm not finding python (even if python was installed earlier).

Would it be possible to have windows-build-tools install Python globally, so all users can access it?

贡献者指南