felixrieseberg/windows-build-tools

Problems when user is not admin

Open

#115 ouverte le 11 mai 2018

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)TypeScript (234 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (3 410 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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?

Guide contributeur