felixrieseberg/windows-build-tools

Problems when user is not admin

Open

#115 geöffnet am 11. Mai 2018

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (234 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (3.410 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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?

Contributor Guide