|
|
@ -1,14 +1,18 @@ |
|
|
|
|
|
Write-Verbose -Message Dependencies -Verbose |
|
|
|
|
|
|
|
|
# Download WinRAR |
|
|
# Download WinRAR |
|
|
# https://www.rarlab.com |
|
|
# https://www.rarlab.com |
|
|
|
|
|
New-Item -Path Bin -ItemType Directory -Force |
|
|
|
|
|
|
|
|
$Parameters = @{ |
|
|
$Parameters = @{ |
|
|
Uri = "https://www.rarlab.com/rar/winrar-x64-713.exe" |
|
|
Uri = "https://www.rarlab.com/rar/winrar-x64-713.exe" |
|
|
OutFile = "winrar-x64-713.exe" |
|
|
OutFile = "Bin\winrar-x64-713.exe" |
|
|
UseBasicParsing = $true |
|
|
UseBasicParsing = $true |
|
|
} |
|
|
} |
|
|
Invoke-WebRequest @Parameters |
|
|
Invoke-WebRequest @Parameters |
|
|
|
|
|
test-path "Bin\winrar-x64-713.exe" |
|
|
# Install WinRAR |
|
|
# Install WinRAR |
|
|
& winrar-x64-713.exe -s |
|
|
& "Bin\winrar-x64-713.exe" -s |
|
|
|
|
|
|
|
|
# Get latest version tag for Windows 11 |
|
|
# Get latest version tag for Windows 11 |
|
|
$Parameters = @{ |
|
|
$Parameters = @{ |
|
|
|