Kommandon för att installera electerm 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 electerm.electerm -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id electerm.electerm -e --silentwinget uninstall --id electerm.electerm -e --silentPer installationsfil
64-bitars · EXE (NSIS) · en-US
Tyst installation
electerm-5.7.15-win-x64-installer.exe /SEgen mapp
electerm-5.7.15-win-x64-installer.exe /S /D=C:\Apps\electerm- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cdebb73f-ddf5-57cd-a4a4-998a5c7283dd
- DisplayVersion
- 5.7.15
ARM64 · EXE (NSIS) · en-US
Tyst installation
electerm-5.7.15-win-arm64-installer.exe /SEgen mapp
electerm-5.7.15-win-arm64-installer.exe /S /D=C:\Apps\electerm- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cdebb73f-ddf5-57cd-a4a4-998a5c7283dd
- DisplayVersion
- 5.7.15
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-electerm.ps1
$url = 'https://github.com/electerm/electerm/releases/download/v5.7.15/electerm-5.7.15-win-x64-installer.exe'
$sha256 = 'F9D81452DB0E8C2672AA2635160855C871463FAA3F2F7DD7666697206C3C24D9'
$file = Join-Path $env:TEMP 'electerm-5.7.15-win-x64-installer.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 '/S' -Wait install-electerm.ps1
$url = 'https://github.com/electerm/electerm/releases/download/v5.7.15/electerm-5.7.15-win-arm64-installer.exe'
$sha256 = '08451EB6F32EE3AB115D3CFBE52C9E8CBD5653917B24FE181BACF20EF88AF1AD'
$file = Join-Path $env:TEMP 'electerm-5.7.15-win-arm64-installer.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 '/S' -Wait