Good morning everyone!
I know this question has been asked over the years, but I thought I would revive the topic. I am currently working on automating the process of building and deploying .pcg files to our server. I am currently on MobiControl 15.4 and all of the devices are Samsung Tab active 2's and 3s. OS versions running from 9 up to OS version 13. I have automated certain parts of the process, i.e leveraging the API to post profiles and packages to the server and setting up pipeline for deployment. The issue I am running into is the actual building of the .pcg. I have researched this form through and through, I have tried using the PkgUtil command line tool. That works fine, however, I need to be able to set certain parameters while building the .pcg file. For example, I need to set the location of where the file is saved and to set the option of 'Do not uninstall the file'. Has anyone had any luck with such a process? I have 10 of thousands of devices to make profiles and packages for. I am looking to automate this process as much as possible. Any and all information and help is greatly appreciated.