Skip to content

Instantly share code, notes, and snippets.

@mark05e
Last active June 2, 2022 02:37
Show Gist options
  • Save mark05e/d28e61e6ca0f0572485e429e521d49f6 to your computer and use it in GitHub Desktop.
Save mark05e/d28e61e6ca0f0572485e429e521d49f6 to your computer and use it in GitHub Desktop.
# Unattended Install of 7-Zip 64-bit
# ref: https://gmusumeci.medium.com/unattended-install-of-7-zip-using-powershell-1387ceb1e714
# ref: https://www.7-zip.org/download.html
$Installer7Zip = $env:TEMP + "\7z2107-x64.msi";
Invoke-WebRequest "https://www.7-zip.org/a/7z2107-x64.msi" -OutFile $Installer7Zip;
msiexec /i $Installer7Zip /qb;
sleep 10;
Remove-Item $Installer7Zip;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment