DalekSec Posted February 9, 2018 Posted February 9, 2018 I'm currently trailing ZuluDesk and loving it so far! Does everything i want. The one thing i haven't tested yet is App deployment, the majority of software we want to deploy is .dmg, but it seems you can only deploy .pkg, i see Jamf has a tool to convert dmg to pkg, but you have to pay.... Does anyone know any alternatives (Free preferably!)
3s-gtech Posted February 9, 2018 Posted February 9, 2018 Mount the .dmg (which is a disc image), pull the files out of it (or use 7-zip or similar to do so). You'll often find that what's within is a .app rather than .pkg though. https://stackoverflow.com/questions/38214543/how-do-i-convert-app-to-pkg-on-a-mac 1
Arthur Posted February 9, 2018 Posted February 9, 2018 (edited) Depending upon the app, I either use Packages or one of the many wrappers around Apple's pkgbuild (quickpkg, munki-pkg etc.) All of these are free. As @3s-gtech mentioned you sometimes find a .pkg within the .dmg so I would check this first. With quickpkg you can convert the .dmg to a .pkg all in a single step as long as what's inside is just an app bundle... quickpkg ~/Downloads/Firefox\ 58.0.0.dmg Edited February 9, 2018 by Arthur 1
bald_pig Posted February 9, 2018 Posted February 9, 2018 dmg files are the same in principle is iso files, open and extract the contents of them, it's likely to be a pkg already, or an app you can just copy into applications! 1
DalekSec Posted February 9, 2018 Author Posted February 9, 2018 The two programs i've tried so far (Chrome and VLC) both don't have pkgs inside :/ and when i try uploading the App it fails, same as the dmg. I'll give that quickpkg a go! Thanks guys
bald_pig Posted February 9, 2018 Posted February 9, 2018 you don't need to install chrome or vlc, just copy the app file into applications
Arthur Posted February 9, 2018 Posted February 9, 2018 you don't need to install chrome or vlc, just copy the app file into applications How does the MDM that @DalekSec is using do that though?
DalekSec Posted February 9, 2018 Author Posted February 9, 2018 The only options i get to add Apps is this : .dmgs and .app both fail when trying 'in house macOS Package', tried doing quickpkg quickly before lunch and it didnt seem to work, came up with something like 'too few arguments' will have another look after lunch and get more details
Arthur Posted February 9, 2018 Posted February 9, 2018 (edited) tried doing quickpkg quickly before lunch and it didn't seem to work, came up with something like 'too few arguments' I just tried quickpkg with the Chrome .dmg myself (from https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg) and it successfully created the .pkg. This is the command I used. ./quickpkg ~/Downloads/googlechrome.dmg --output ~/Downloads Edit. VLC also worked (DMG from: http://download.videolan.org/pub/videolan/vlc/3.0.0/macosx/vlc-3.0.0.dmg)... ./quickpkg ~/Downloads/vlc-3.0.0.dmg --output ~/Downloads Edited February 9, 2018 by Arthur
DalekSec Posted February 9, 2018 Author Posted February 9, 2018 I just tried quickpkg with the Chrome .dmg myself (from https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg) and it successfully created the .pkg. This is the command I used. ./quickpkg ~/Downloads/googlechrome.dmg --output ~/Downloads Am i missing something obvious (More than likely), where do i run the cmds from? i tried it in Terminal and it says that quickpkg isnt a valid cmd, and if i run the 'quickpkg' executable from the download it comes up with 'Quickpkg: error: too few arguements' and logsout saves session etc ending on 'Process completed'
Brimstone Posted February 9, 2018 Posted February 9, 2018 The only options i get to add Apps is this : [ATTACH=CONFIG]47613[/ATTACH] .dmgs and .app both fail when trying 'in house macOS Package', tried doing quickpkg quickly before lunch and it didnt seem to work, came up with something like 'too few arguments' will have another look after lunch and get more details https://support.zuludesk.com/hc/en-us/articles/115002300893-How-to-build-packages-for-macOS 1
DalekSec Posted February 9, 2018 Author Posted February 9, 2018 (edited) https://support.zuludesk.com/hc/en-us/articles/115002300893-How-to-build-packages-for-macOS Sweet that works! Thank you, just gotta deploy it now and hope that part works IT WORKS! Thanks for all the help Edited February 9, 2018 by DalekSec
Arthur Posted February 9, 2018 Posted February 9, 2018 (edited) Am I missing something obvious (more than likely), where do I run the cmds from? Sorry for the delay. If you want to give it a try again... Download quickpkg from GitHub (you only need to do this once). cd ~/Downloads git clone https://github.com/scriptingosx/quickpkg.git cd quickpkg Then build your pkg. ./quickpkg ~/Downloads/googlechrome.dmg --output ~/Downloads The Packages app works well too, but is a lot more long-winded if you have many apps to create. Edited February 9, 2018 by Arthur 1
DalekSec Posted February 9, 2018 Author Posted February 9, 2018 Sorry for the delay. If you want to give it a try again... Download quickpkg from GitHub (you only need to do this once). cd ~/Downloads git clone https://github.com/scriptingosx/quickpkg.git cd quickpkg Then build your pkg. ./quickpkg ~/Downloads/googlechrome.dmg --output ~/Downloads The Packages app works well too, but is a lot more long-winded if you have many apps to create. I'll probably have to make a ton of pkgs soon, so i'll give it ago at some point
bald_pig Posted February 9, 2018 Posted February 9, 2018 How does the MDM that @DalekSec is using do that though? Haven't used Zuludesk, but if it can't do something as basic as copy a file it's not very good!
Brimstone Posted February 9, 2018 Posted February 9, 2018 Sweet that works! Thank you, just gotta deploy it now and hope that part works IT WORKS! Thanks for all the help It's great to see someone on here who is using a MDM to manage the Macs and NOT Profile Manager, hopefully others will follow....
DalekSec Posted February 9, 2018 Author Posted February 9, 2018 It's great to see someone on here who is using a MDM to manage the Macs and NOT Profile Manager, hopefully others will follow.... Only on the trail atm, profile manager didn't do what i wanted it to whereas ZuluDesk currently does!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now