Kommandon för att installera eM Client 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 eMClient.eMClient -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id eMClient.eMClient -e --silentwinget uninstall --id eMClient.eMClient -e --silentPer installationsfil
64-bitars · MSIX
Tyst installation
Add-AppxPackage -Path setup.msixbundleAvinstallation
Get-AppxPackage -Name eMClient.20054CA46072C | Remove-AppxPackage- Installationsmapp
- %ProgramFiles%\WindowsApps\eMClient.20054CA46072C_11.0.1725.0_x64__veq4nz3ze5v72
- DisplayVersion
- 11.0.1725.0
ARM64 · MSIX
Tyst installation
Add-AppxPackage -Path setup.msixbundleAvinstallation
Get-AppxPackage -Name eMClient.20054CA46072C | Remove-AppxPackage- Installationsmapp
- %ProgramFiles%\WindowsApps\eMClient.20054CA46072C_11.0.1725.0_arm64__veq4nz3ze5v72
- DisplayVersion
- 11.0.1725.0
32-bitars · MSIX
Tyst installation
Add-AppxPackage -Path setup.msixbundleAvinstallation
Get-AppxPackage -Name eMClient.20054CA46072C | Remove-AppxPackage- Installationsmapp
- %ProgramFiles%\WindowsApps\eMClient.20054CA46072C_11.0.1725.0_x86__veq4nz3ze5v72
- DisplayVersion
- 11.0.1725.0
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-em-client.ps1
$url = 'https://cdn-dist.emclient.com/dist/v11.0.1725/setup.msixbundle'
$sha256 = 'F1C18438DDBBF623961EC3B14BF314335D81614EAA40634ECF46AD3817DD1344'
$file = Join-Path $env:TEMP 'setup.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-em-client.ps1
$url = 'https://cdn-dist.emclient.com/dist/v11.0.1725/setup.msixbundle'
$sha256 = 'F1C18438DDBBF623961EC3B14BF314335D81614EAA40634ECF46AD3817DD1344'
$file = Join-Path $env:TEMP 'setup.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-em-client.ps1
$url = 'https://cdn-dist.emclient.com/dist/v11.0.1725/setup.msixbundle'
$sha256 = 'F1C18438DDBBF623961EC3B14BF314335D81614EAA40634ECF46AD3817DD1344'
$file = Join-Path $env:TEMP 'setup.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file