Befehle, um Slack ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id SlackTechnologies.Slack -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SlackTechnologies.Slack -e --silentwinget uninstall --id SlackTechnologies.Slack -e --silentNach Installer
64-Bit · EXE · Aktueller Benutzer
Stille Installation
SlackSetup.exe --silent- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\slack
64-Bit · MSIX
Stille Installation
Add-AppxPackage -Path Slack.msixDeinstallation
Get-AppxPackage -Name com.tinyspeck.slackdesktop | Remove-AppxPackageARM64 · MSIX
Stille Installation
Add-AppxPackage -Path Slack.msixDeinstallation
Get-AppxPackage -Name com.tinyspeck.slackdesktop | Remove-AppxPackagePowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-slack.ps1
$url = 'https://downloads.slack-edge.com/desktop-releases/windows/x64/4.52.182/SlackSetup.exe'
$sha256 = 'E42DBA9622A297106F16A11F148C86E08BEEEEA6FE5BFD63DE4C606B513AB184'
$file = Join-Path $env:TEMP 'SlackSetup.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 '--silent' -Wait install-slack.ps1
$url = 'https://downloads.slack-edge.com/desktop-releases/windows/x64/4.52.182/Slack.msix'
$sha256 = '93B31D64B3DDD5035937140EC5D03D001D99C79072EB6984551233C8258C2EDE'
$file = Join-Path $env:TEMP 'Slack.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-slack.ps1
$url = 'https://downloads.slack-edge.com/desktop-releases/windows/arm64/4.52.182/Slack.msix'
$sha256 = 'EAB4C88086BB93A2F4BBBDEBC8E3B8193A94FCE99D7CA18525B567670E7257E3'
$file = Join-Path $env:TEMP 'Slack.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file