Kommandon för att installera UnHackMe utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Greatis.UnHackMe.Stable -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Greatis.UnHackMe.Stable -e --silentwinget uninstall --id Greatis.UnHackMe.Stable -e --silentPer installationsfil
32-bitars · ZIP · Alla användare · en-US
Tyst installation
unhackme.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\UnHackMe_is1
- Installationsmapp
- %ProgramFiles%\UnHackMe
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-unhackme.ps1
$url = 'https://www.greatissoftware.com/unhackme.zip'
$sha256 = '381B9FE7DCFEC99CD6181E139870AEB231C173C40AF9E49115D805E4C0446B71'
$file = Join-Path $env:TEMP 'unhackme.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait