Skip to content

Commit dd3236f

Browse files
authored
Create choco.bat
1 parent d9f3cf7 commit dd3236f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

installer/choco.bat

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
rem Chocolatey now requires PowerShell v3 (or higher) and .NET 4.0 (or higher) due to recent upgrades to TLS 1.2.
2+
rem Please ensure .NET 4+ and PowerShell v3+ are installed prior to attempting FLARE VM installation.
3+
rem Below are links to download .NET 4.5 and WMF 5.1 (PowerShell 5.1).
4+
rem .NET 4.5 https://www.microsoft.com/en-us/download/details.aspx?id=30653
5+
rem WMF 5.1 https://www.microsoft.com/en-us/download/details.aspx?id=54616
6+
7+
8+
powershell -Command "if ($PSVersionTable.PSVersion.Major -ge 5 -and $PSVersionTable.PSVersion.Minor -ge 1 ){Set-ExecutionPolicy Bypass -Scope Process -Force; iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex } else {Write-Output "'Chocolatey now requires PowerShell v3 (or higher) and .NET 4.0 (or higher) due to recent upgrades to TLS 1.2. Please ensure .NET 4+ and PowerShell v3+ are installed prior to attempting FLARE VM installation. `nBelow are links to download .NET 4.5 and WMF 5.1 (PowerShell 5.1). .NET 4.5 https://www.microsoft.com/en-us/download/details.aspx?id=30653 WMF 5.1 https://www.microsoft.com/en-us/download/details.aspx?id=54616'"}"
9+
choco upgrade chocolatey
10+
choco install -y dotnetfx dotnet4.7.2 dotnet vcredist-all wixtoolset msxml4.sp3 msxml6.sp1
11+
12+
pip3 install pillow pywintrace

0 commit comments

Comments
 (0)