Skip to content

Commit

Permalink
Try to include an installPath
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 6, 2021
1 parent 0f15fef commit 265d1a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jaraco/windows/msvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@


def install(components=default_components):
cmd = ['vs_buildtools', '--quiet', '--wait', '--norestart', '--nocache']
cmd = [
'vs_buildtools', '--quiet', '--wait', '--norestart',
'--nocache', '--installPath', 'C:\\BuildTools']
for component in components:
cmd += ['--add', component]
res = subprocess.Popen(cmd).wait()
Expand Down

0 comments on commit 265d1a5

Please sign in to comment.