Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Remove checks for .NET and PowerShell
Browse files Browse the repository at this point in the history
  • Loading branch information
ndabas committed Nov 23, 2022
1 parent a24e4ef commit 652a657
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -216,23 +216,6 @@ Section
SetOutPath `$INSTDIR
LogSet on
ReadRegStr `$R0 HKLM "SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine" "PowerShellVersion"
DetailPrint "Detected PowerShell version: `$R0"
`${VersionCompare} "5.1.0.0" `$R0 `$R1
`${If} `$R1 < 2
Abort "Windows PowerShell 5.1 is required for this installation. Please install WMF 5.1 and re-run setup."
`${EndIf}
ClearErrors
; https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
; Check for .NET Framework 4.6.2, required for Visual Studio 2019 Build Tools
ReadRegDWORD `$R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "Release"
DetailPrint "Detected .NET Framework 4 release: `$R0"
`${If} `$R0 < 394802
Abort ".NET Framework 4.6.2 or later is required for this installation. Please install the latest .NET Framework 4.x and re-run setup."
`${EndIf}
ClearErrors
InitPluginsDir
File /oname=`$TEMP\RefreshEnv.cmd "packages\pico-setup-windows\RefreshEnv.cmd"
Expand Down

0 comments on commit 652a657

Please sign in to comment.