Kommandon för att installera Auricle 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 californiaAlmonds.Auricle -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id californiaAlmonds.Auricle -e --silentwinget uninstall --id californiaAlmonds.Auricle -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
auricle-0.1.7-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
auricle-0.1.7-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\auricle"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A2D6F4E-1C3B-4E5A-9B7C-AURICLE000001}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-auricle.ps1
$url = 'https://github.com/californiaAlmonds/auricle/releases/download/v0.1.7/auricle-0.1.7-setup.exe'
$sha256 = 'B75876572D7ABFC2B002BE97604F06BC6A8722878B90B28621AC928B93EAEBCE'
$file = Join-Path $env:TEMP 'auricle-0.1.7-setup.exe'
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