Slack Automatic Update

S_Puschel
New Contributor III

Hello,
I would like to update the program Slack via Patch Management! Have you found a solution where you don't always have to pack the .DMG into .pkg packages?

I don't know if this script is what I am looking for!

https://www.jamf.com/jamf-nation/third-party-products/files/1038/slack-patch-management

If so, how did you solve the problem that the script automatically checks for updates?

Thanks for your support

5 REPLIES 5

ooshnoo
Valued Contributor

You'd be better off using the App Store version via VPP.

AdamCraig
Contributor III

I use patch management to create a smart group, and then i have a policy scoped to users who do not have the latest version that checks if slack is closed, and then runs the script to update slack if it is closed. It's set to run at login since slack is almost always open for users who are on their computers.
I also have a button in self service that is featured named "update slack" only scoped to users who are not on the latest version.

MacJunior
Contributor III

@AdamCraig could you share that script please? 

i've actually stopped using a custom script for this and switched to just using installomator https://github.com/Installomator/Installomator 

https://scriptingosx.com/2020/06/using-installomator-with-jamf-pro/

 

lovely ... thanks