Load ZIP assemblies explicitly in Windows PowerShell 5.1

This commit is contained in:
raptorreplica committed 2026-10-20 21:43:47 +11:00
1 parent d1f5b7e5a2
commit 7ecaa42b29
2 files changed
+2

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
# network download, admin rights or long-path registry configuration is needed.
param([string]$Installer = (Join-Path $PSScriptRoot 'Install-Windows.ps1'))
$ErrorActionPreference = 'Stop'
Add-Type -AssemblyName System.IO.Compression
Add-Type -AssemblyName System.IO.Compression.FileSystem
$temp = Join-Path ([IO.Path]::GetTempPath()) ('Raptor-installer-test-' + [guid]::NewGuid().ToString('N'))
New-Item -ItemType Directory -Path $temp | Out-Null