Skip to main content
Solved

Dropbox deploy script


bowie
Forum|alt.badge.img+3
  • New Contributor
  • 9 replies

Looking for a deployment script for Dropbox, so far I have found out that Dropbox does not provide an easy way to deploy their applications. Maybe someone has encountered the same problem before and has script/pkg that could help?

Best answer by karthikeyan_mac

@bowie You can refer the previous post. This can help you.

https://community.jamf.com/t5/jamf-pro/script-to-always-download-the-latest-version-of-dropbox/m-p/192322

Thanks

View original
Did this topic help you find an answer to your question?

3 replies

karthikeyan_mac
Forum|alt.badge.img+17
  • Honored Contributor
  • 281 replies
  • Answer
  • October 19, 2023

Forum|alt.badge.img+4

Covert the DMG to PKG and deploy using jamf

 

Steps to convert macOS DMG files to PKG files.

 

  • Go to the folder that contains the DMG file.
  • Double click the DMG file. It gets mounted as a virtual disk and reveals its contents.
  • Copy the .app file to the Applications folder in the macOS device.

 

 

 

 

 

  • Eject the DMG file by clicking on the eject button.
  • Open Terminal.
  • Build the PKG file using the productbuild command

 

 

sudo productbuild --component /path_to_installedapp/macapp.app / path_to_savedpackage/packagename.pkg

The two arguments specify the location of the installed .app file (path_to_installedapp/macapp.app) and the location to create the PKG file (path_to_savedpackage/packagename.pkg), respectively.

 

 

  • Provide the device login password and wait for a few seconds for the build to finish.
  • The PKG file gets created at the desired location.

 

 

 


bowie
Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 9 replies
  • October 20, 2023
karthikeyan_mac wrote:

thank you, work like a charm


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings