Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

wefjhlagsdfdsf's avatar
wefjhlagsdfdsf
Explorer | Level 3
4 months ago

Postinstall script isn't working with new 230.4.8797 app version.

I’ve been deploying Dropbox via a custom postinstall script to extract the HelperTools without prompting for admin credentials. This approach has worked for previous versions.

With the current version, however, I now see an admin prompt after installation. If I decline, Dropbox shows the badge:

"Dropbox is not updating automatically. Enable automatic updates so the app works smoothly." (translated from german)

Here’s the relevant part of my postinstall script:

#!/bin/sh
HELPER_SRC_PATH=/Applications/Dropbox.app/Contents/Resources/DropboxHelperInstaller.tgz
HELPER_DST_DIR=/Library/DropboxHelperTools
HELPER_DST_PATH="$HELPER_DST_DIR/DropboxHelperInstaller"

if [ -e "$HELPER_SRC_PATH" ]; then
  [ -d "$HELPER_DST_DIR" ] || mkdir "$HELPER_DST_DIR"
  /usr/bin/tar -C "$HELPER_DST_DIR" -xz -f "$HELPER_SRC_PATH"
  /usr/sbin/chown root:wheel "$HELPER_DST_PATH" "$HELPER_DST_DIR"
  /bin/chmod 04511 "$HELPER_DST_PATH"
else
  echo "Expected $HELPER_SRC_PATH, but it was not present."
  exit 1
fi

This script worked in previous versions, always extracting the helper tool silently. I would like to understand:

Has the HelperTool installation process changed in this Dropbox version?
Is there a supported way to deploy Dropbox without triggering the admin prompt while still allowing automatic updates?

Thanks in advance for your guidance.

3 Replies

Replies have been turned off for this discussion
  • Megan's avatar
    Megan
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 months ago

    Hey wefjhlagsdfdsf, thanks for posting to our Community! 

    I'd appreciate some more time in order to check internally with our team about this. 

    While we're at it, would you mind clarifying the OS version you're using? Also, do you have admin privileges on your OS profile? 

    Let me know more, and we'll take it from there! 

  • wefjhlagsdfdsf's avatar
    wefjhlagsdfdsf
    Explorer | Level 3
    4 months ago

    I’m deploying Dropbox in a managed macOS environment, so I’m speaking from an admin perspective. Our end users do not have admin rights, which is why we pre-install the Dropbox Helper Tool during deployment to avoid the admin credentials prompt on first launch.

    Environment details:

    macOS version: 15.6
    Dropbox version: 230.4.8797
    Deployment method: Munki/AutoPkg, using a post-install script to extract /Applications/Dropbox.app/Contents/Resources/DropboxHelperInstaller.tgz to /Library/DropboxHelperTools with correct ownership and permissions (script attached in previous post).
    User rights: Standard (non-admin) accounts.

  • Neal's avatar
    Neal
    Icon for Community Manager rankCommunity Manager
    4 months ago

    Hi wefjhlagsdfdsf​,

    Looks like you're running into the machine-level auto updater installer, the recommendation here would be to switch to using the enterprise pkg installer, which should install the machine level auto updater automatically.

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!