Is it possible to script package studio to automatically build a package. I can automate uploading and editing profiles via the API, but I can't find a way to use package studio with a command line to build a new package. Am I missing something?
Is it possible to script package studio to automatically build a package. I can automate uploading and editing profiles via the API, but I can't find a way to use package studio with a command line to build a new package. Am I missing something?
There is an executable you can get from SOTI support that will allow you to build Packages from the command line. From the readme file:
Command-line MobiControl Package Utility
To build a package project, Run : PkgUtil -b <mcp_file>
And now there's still missing a possibility to automatically upload the packages to MobiControl. Any ideas on that?
Yeah... Opened a case to request the package and I get the response:
The utility that you are referring to is an internal only and is not provided to customers. Please let me know your use case in detail to see if we can achieve it in some other way.
How did you get it?
Also just received the same reply which is very sad. Everything else can be automated with the exception of that one step, unless you convince someone to get you an internal tool.
I recommend escalating the request up to your TAM/Account Manager if you aren't able to get the utility via support.
We have fully automated package build/upload, and profile assignment as well as full continuous dev/deploy for our lock screen code using; Git, Powershell, Jenkins, Artifactory, and Soti API's. It's an engineering game changer and well worth the effort.
Yep, that was the right answer.
Your solution is where we are headed with this so nightly dev can automatically deploy to the test group and at some point automate staged production pushes as well.
Hey Will,
What version of MC are you using? I had done all of the automation but ran into a couple of issues when trying to create the profile.
Perhaps the permissions feature has been added but it's currently a show stopper for me.
I succeeded in obtaining "CMD Package Utility" and it actually works.
Would posting it here, be in violation of any terms ?
Anyway, send me a PM if you want them.
I got the utility from the forums originally but then I could never find the original post again so it may have been deleted. I would just DM it for the time being.
Found the original post...
https://discussions.soti.net/thread/automation-of-building-pcg-file/
with a download link...
https://drive.google.com/open?id=1rBnSia1bLCrBTaSKqRaS6m2OVzAsrnE1