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?
Page 1 / 1
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.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.