Kommandon för att installera Phrase Strings CLI 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 Phrase.PhraseCLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Phrase.PhraseCLI -e --silentwinget uninstall --id Phrase.PhraseCLI -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
phrase_windows_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
phrase_windows_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\phrase-strings-cli"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DC598D8E-8A9B-4CAD-AFD8-0324FDF4E0F1}_is1
64-bitars · Portabel
Kräver ingen installation (portabel)
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
phrase_windows_setup_386.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
phrase_windows_setup_386.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\phrase-strings-cli"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{DC598D8E-8A9B-4CAD-AFD8-0324FDF4E0F1}_is1
32-bitars · Portabel
Kräver ingen installation (portabel)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-phrase-strings-cli.ps1
$url = 'https://github.com/phrase/phrase-cli/releases/download/2.71.0/phrase_windows_setup.exe'
$sha256 = 'FF32059C2CDFFEC63C5ECDC5DC2E2A9803353361197AF9202D61F7921C8D02C2'
$file = Join-Path $env:TEMP 'phrase_windows_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 install-phrase-strings-cli.ps1
$url = 'https://github.com/phrase/phrase-cli/releases/download/2.71.0/phrase_windows_setup_386.exe'
$sha256 = '2D4F09146CAFC2B0A98B51894133A1A2B21B63C91D5792365B267227A2D1E035'
$file = Join-Path $env:TEMP 'phrase_windows_setup_386.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