mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 12:48:45 -05:00
Currently, the installation wizard more or less silently installs third-party software (Boxstarter + Chocolatey). This adds some text to the MSI installation dialog and to the Boxstarter installation script. PR-URL: https://github.com/nodejs/node/pull/23003 Refs: https://github.com/nodejs/node/pull/22645 Refs: https://github.com/nodejs/node/pull/22988 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
26 lines
1.3 KiB
Batchfile
26 lines
1.3 KiB
Batchfile
@echo off
|
|
|
|
echo ====================================================
|
|
echo Tools for Node.js Native Modules Installation Script
|
|
echo ====================================================
|
|
echo.
|
|
echo This Boxstarter script will install Python and the Visual Studio Build Tools,
|
|
echo necessary to compile Node.js native modules. Note that Boxstarter,
|
|
echo Chocolatey and required Windows updates will also be installed.
|
|
echo.
|
|
echo This will require about 3 Gb of free disk space, plus any space necessary to
|
|
echo install Windows updates.
|
|
echo.
|
|
echo This will take a while to run. Your computer may reboot during the
|
|
echo installation, and will resume automatically.
|
|
echo.
|
|
echo Please close all open programs for the duration of the installation.
|
|
echo.
|
|
echo You can close this window to stop now. This script can be invoked from the
|
|
echo Start menu. Detailed instructions to install these tools manually are
|
|
echo available at https://github.com/nodejs/node-gyp#on-windows
|
|
echo.
|
|
pause
|
|
|
|
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -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'"
|