How to Deploy Slack via Intune (Win32 App Packaging Guide)
Slack offers a machine-wide MSI installer for enterprise deployment. The key difference from the standard installer is that the MSI installs Slack to Program Files for all users rather than per-user in AppData. This makes detection, uninstall, and management far more reliable in an Intune-managed environment.
Download the machine-wide MSI
Slack's machine-wide installer is available directly from Slack:
https://slack.com/intl/en-gb/downloads/windows
On the downloads page, look for Download for Windows (64-bit) and check for a separate MSI download link. Alternatively, the direct URL for the machine-wide MSI is:
https://slack.com/ssb/download-win64-msi
Wrap with the Content Prep Tool
IntuneWinAppUtil.exe -c "C:\AppSource\Slack" -s "slack-standalone-x64.msi" -o "C:\IntunePackages"
Add the app in Intune
- Upload the .intunewin file
- Name: Slack
- Publisher: Slack Technologies, Inc.
Install and uninstall commands
Detection rule
Known gotchas
Existing per-user installs conflict with the machine-wide MSI
If users already have Slack installed via the per-user EXE installer (in AppData), the machine-wide MSI will not remove it. Both versions can coexist, which causes confusion. Deploy a PowerShell script before the Slack MSI to remove any per-user installs:
# Remove per-user Slack installations before deploying machine-wide MSI
$slackUserPaths = @(
"$env:LOCALAPPDATA\slack",
"$env:APPDATA\Local\slack"
)
foreach ($path in $slackUserPaths) {
if (Test-Path $path) {
$uninstaller = Get-ChildItem "$path\app-*\unins000.exe" -ErrorAction SilentlyContinue | Select-Object -Last 1
if ($uninstaller) {
Start-Process $uninstaller.FullName -ArgumentList "--uninstall" -Wait -ErrorAction SilentlyContinue
}
}
}Slack updating to a per-user install after machine-wide deploy
Slack can self-update and in some cases this reinstalls a per-user version alongside the machine-wide one. The cleanest solution is to set Slack to update via your Intune supersedence chain and disable the in-app auto-update if your Slack plan allows it.
Frequently Asked Questions
Use: msiexec /i "slack-standalone-x64.msi" /qn /norestart. Always use the machine-wide MSI from slack.com/ssb/download-win64-msi, not the standard per-user EXE installer.
The machine-wide MSI installs Slack to Program Files for all users. The standard Slack EXE installs per-user into AppData, which causes detection and management issues in Intune.
Deploy a PowerShell pre-script that finds and runs the uninstaller from %LOCALAPPDATA%\slack\app-*\unins000.exe before the machine-wide MSI is installed.
Use a file detection rule checking for slack.exe in C:\Program Files\Slack.