felixrieseberg/windows-build-tools

Problems when user is not admin

Open

#115 aperta il 11 mag 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (234 fork)github user discovery
help wanted

Metriche repository

Star
 (3410 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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?

Guida contributor