๐ฟ @reksarka
reksar / vsget Goto Github PK
View Code? Open in Web Editor NEWPortable MS Visual C++, MS Build, Windows SDK
Portable MS Visual C++, MS Build, Windows SDK
๐ฟ @reksarka
Getting Windows SDK
Possible to add Windows GDK download ?
Original file:
@echo off
rem --------------------------------------------------------------------------
rem Downloads content from [URL] to [OUTFILE] (must be an abs path).
rem
rem Using:
rem
rem download [URL] [OUTFILE]
rem
rem --------------------------------------------------------------------------
setlocal
set url=%~1
set outfile=%~2
call powershell -command ^
"Invoke-WebRequest -UseBasicParsing -Uri '%url%' -OutFile '%outfile%'"
endlocal
modify to:
@echo off
rem --------------------------------------------------------------------------
rem Downloads content from [URL] to [OUTFILE] (must be an abs path).
rem
rem Using:
rem
rem download [URL] [OUTFILE]
rem
rem --------------------------------------------------------------------------
setlocal
set url=%~1
set outfile=%~2
call powershell -command ^
"Set-Variable ProgressPreference SilentlyContinue ; Invoke-WebRequest -UseBasicParsing -Uri '%url%' -OutFile '%outfile%'"
endlocal
Problem with very slow Invoke-WebRequest explained here: https://stackoverflow.com/questions/28682642/powershell-why-is-using-invoke-webrequest-much-slower-than-a-browser-download
i.e. in powershells 5.1 (default for windows 10)
This command because of progress bar 50x-100x times slower than other alternatives or without the bar (on fast connections).
Why is it a problem?
Because of Win10 sdk download.
D:\Desktop\vsget>vsget.bat my_portable_compiler
Getting 7-zip archiver
- Ensuring destination path exists ... OK
- Ensuring destination path empty ... OK
- Getting 7-zip self-extracting archive ... OK
- Getting util archiver ... OK
- Extracting 7-zip with util ... OK
Getting vc-x64-x64.14.33.31629
- Getting Microsoft.VC.14.33.17.3.CRT.Headers.base
- Downloading ... OK
- Extracting ... OK
- Getting Microsoft.VC.14.32.17.2.CRT.Redist.X64.base
- Downloading ... OK
- Extracting ... OK
- Getting Microsoft.VC.14.33.17.3.CRT.Source.base
- Downloading ... OK
- Extracting ... OK
- Getting Microsoft.VC.14.33.17.3.CRT.x64.Desktop.base
- Downloading ... OK
- Extracting ... OK
- Getting Microsoft.VC.14.33.17.3.CRT.x64.Store.base
- Downloading ... OK
- Extracting ... OK
- Getting Microsoft.VC.14.33.17.3.Tools.HostX64.TargetX64.base
- Downloading ... OK
- Extracting ... OK
- Getting Microsoft.VC.14.33.17.3.Tools.HostX64.TargetX64.Res.base.enu
- Downloading ... OK
- Extracting ... OK
Getting msbuild-x64.17.3.1.2241501
- Getting Microsoft.Build
- Downloading ... OK
- Extracting ... OK
- Getting b98a3e4
- Downloading ... OK
- Extracting ... OK
- Getting fbb74fe
- Downloading ... OK
- Extracting ... OK
- Getting e17b4f9
- Downloading ... OK
- Extracting ... OK
- Getting c03dd5e
- Downloading ... OK
- Extracting ... OK
Getting Windows SDK
- Downloading Windows SDK ISO ... OK
- Extracting SDK Installers ... OK
- Extracting SDK Components
- Collecting SDK components
[ERR][get-sdk] Failed to get Windows SDK!
steps to reproduce:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.