I usually use this python script to handle the dmg's. So, instead of having the policy "Install" the package, it caches it and then runs this script "after" to install it:
https://github.com/shaidar/Casper/blob/master/install_casper_cache_v0.5.py
@guillaumeremy Can you elaborate on this one for us/me? Pretty please! WHAT exactly and HOW exactly did you set this up in the JSS? We have tried every single instance of trying to create a working install .pkg with no avail. It's never 100%. Willing to try the .DMG route. Please advise.
to stop the "admin credentials" nag after a simple install, we use this and it's looking good so far:
chmod 0000 /Applications/Dropbox.app/Contents/Resources/*.tgz
Found that here https://gist.github.com/stefanschmidt/6352002