Slack Package - Create Update Package or Remove Uninstall Step from Main Package
I ran in to an issue today with an automation I created to update Slack:
I hadn't noticed initially but your default Slack package starts with an uninstall of Slack before deploying the machine wide installer. As a result, I bumped a few hundred of our users off of their Slack at 10:00 AM on a Monday morning. (lol)
Note that this uninstall occurs in all cases - not only for those running an .exe deployment but also for those already running a machine wide installation. You can replicate this by deploying an old version of Slack to and endpoint, starting slack and deploying the current version.
I have since created a custom deployment package to upgrade existing Slack versions without uninstalling:
Install Step - Install Slack 220.127.116.11 x64
Installer - slack-standalone-18.104.22.168.msi (from: https://slack.com/ssb/download-win64-msi)
Parameters - /i "slack-standalone-22.214.171.124.msi" ALLUSERS=1 /qn /norestart /log output.log
Success codes - 0,1641,3010,2359302
Run as - Local system
Error mode - Stop; set status as Error
This allows me to update without disrupting those who are actively using Slack (which is great) but it looks like I will need to manually update the installer file to keep things up to date (which is not ideal).
Any chance I can talk you in to creating an automatically updating package for Slack which does not include the unnecessary uninstall step?