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

Commit 652a657

Browse files
committed
Remove checks for .NET and PowerShell
1 parent a24e4ef commit 652a657

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

build.ps1

-17
Original file line numberDiff line numberDiff line change
@@ -216,23 +216,6 @@ Section
216216
SetOutPath `$INSTDIR
217217
LogSet on
218218
219-
ReadRegStr `$R0 HKLM "SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine" "PowerShellVersion"
220-
DetailPrint "Detected PowerShell version: `$R0"
221-
`${VersionCompare} "5.1.0.0" `$R0 `$R1
222-
`${If} `$R1 < 2
223-
Abort "Windows PowerShell 5.1 is required for this installation. Please install WMF 5.1 and re-run setup."
224-
`${EndIf}
225-
ClearErrors
226-
227-
; https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
228-
; Check for .NET Framework 4.6.2, required for Visual Studio 2019 Build Tools
229-
ReadRegDWORD `$R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "Release"
230-
DetailPrint "Detected .NET Framework 4 release: `$R0"
231-
`${If} `$R0 < 394802
232-
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."
233-
`${EndIf}
234-
ClearErrors
235-
236219
InitPluginsDir
237220
File /oname=`$TEMP\RefreshEnv.cmd "packages\pico-setup-windows\RefreshEnv.cmd"
238221

0 commit comments

Comments
 (0)