Starting DEP Notify but getting the "downloaded from the internet" prompt

mwu1876
Contributor

We want to kick off the DEP Notify from non-DEP machines. It works but when it first launches you get a prompt that the file was downloaded from the internet and if you want to trust it. Is there a way to suppress that?

1 ACCEPTED SOLUTION

Chris
Valued Contributor

The copy of DEPNotify you're deploying has the quarantine flag set.
Run

sudo xattr -r -d com.apple.quarantine /path/to/DEPNotify.app

and repackage it

View solution in original post

6 REPLIES 6

Chris
Valued Contributor

The copy of DEPNotify you're deploying has the quarantine flag set.
Run

sudo xattr -r -d com.apple.quarantine /path/to/DEPNotify.app

and repackage it

mwu1876
Contributor

I just tried and still the same issue. I'm running BigSur if that makes any difference.

mwu1876
Contributor

So right now there's no DEPNotify pkg version for 1.1.6. But, sounds like this may work since I have to change those flags. But, how do you package the source code files in the PKG version to deploy?

https://gitlab.com/Mactroll/DEPNotify/-/releases#1.1.6

mwu1876
Contributor

@Chris Thanks. Your suggestion worked. Instead of repackaging what I did was run a script AFTER it's installed and before I kicked off the app. So works. Now just need to figure out how to upgrade to 1.1.6 without the pkg file.

sdagley
Esteemed Contributor II

There's a DEPNotify 1.1.6 package in the #depnotify MacAdmins Slack channel

howie_isaacks
Valued Contributor II

@sdagley Thanks! I don't get on Slack often so I totally forgot to look there. The releases page for DEPNotify has only source code downloads, so someone really should work on getting the package posted. I have some M1 Macs on the way and I'm trying to get prepared.