11@ echo off
22
3+ cls
34echo ====================================================
45echo Tools for Node.js Native Modules Installation Script
56echo ====================================================
@@ -22,4 +23,31 @@ echo available at https://github.com/nodejs/node-gyp#on-windows
2223echo .
2324pause
2425
26+ cls
27+ REM Adapted from https://github.com/Microsoft/windows-dev-box-setup-scripts/blob/79bbe5bdc4867088b3e074f9610932f8e4e192c2/README.md#legal
28+ echo Using this script downloads third party software
29+ echo ------------------------------------------------
30+ echo This script will direct to Chocolatey to install packages. By using
31+ echo Chocolatey to install a package, you are accepting the license for the
32+ echo application, executable(s), or other artifacts delivered to your machine as a
33+ echo result of a Chocolatey install. This acceptance occurs whether you know the
34+ echo license terms or not. Read and understand the license terms of the packages
35+ echo being installed and their dependencies prior to installation:
36+ echo - https://chocolatey.org/packages/chocolatey
37+ echo - https://chocolatey.org/packages/boxstarter
38+ echo - https://chocolatey.org/packages/python2
39+ echo - https://chocolatey.org/packages/visualstudio2017buildtools
40+ echo - https://chocolatey.org/packages/visualstudio2017-workload-vctools
41+ echo .
42+ echo This script is provided AS-IS without any warranties of any kind
43+ echo ----------------------------------------------------------------
44+ echo Chocolatey has implemented security safeguards in their process to help
45+ echo protect the community from malicious or pirated software, but any use of this
46+ echo script is at your own risk. Please read the Chocolatey's legal terms of use
47+ echo and the Boxstarter project license as well as how the community repository
48+ echo for Chocolatey.org is maintained.
49+ echo .
50+ echo You can close this window to stop now.
51+ pause
52+
2553" %SystemRoot% \System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command Start-Process '%SystemRoot% \System32\WindowsPowerShell\v1.0\powershell.exe' -ArgumentList '-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command iex ((New-Object System.Net.WebClient).DownloadString(''https://boxstarter.org/bootstrapper.ps1'')); get-boxstarter -Force; Install-BoxstarterPackage -PackageName ''%~dp0 \install_tools.txt''; Read-Host ''Type ENTER to exit'' ' -Verb RunAs
0 commit comments