Can I automate package studio?

Can I automate package studio?

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?

14 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 21 June 2019

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>

 

  • 3
  • 0
Dean K | posted this 23 June 2019

Excellent, thanks for that.

  • 0
  • 0
Simon Breuer | posted this 26 June 2019

And now there's still missing a possibility to automatically upload the packages to MobiControl. Any ideas on that?

  • 0
  • 0
Matt Dermody | posted this 26 June 2019

I think for that you'd need to leverage the available APIs

  • 0
  • 0
Scott | posted this 02 July 2019

OK, how did you know that or find that out?

  • 0
  • 0
Matt Dermody | posted this 02 July 2019

Spending way too much time on this forum...

  • 1
  • 0
Scott | posted this 05 July 2019

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?

  • 1
  • 0
Dean K | posted this 31 July 2019

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.

  • 0
  • 0
Will Worland | posted this 31 July 2019

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.

  • 3
  • 1
Dean K | posted this 31 July 2019

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.

  • 0
  • 0
Scott | posted this 06 August 2019

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.

  • No mechanism to modify permissions on the created profile (I need a user group added)
  • Fails if a profile by the same name existed previously, even though it has been deleted (a bug, I believe, and I have an open case with SOTI on this.)

Perhaps the permissions feature has been added but it's currently a show stopper for me.

  • 0
  • 0
Dennis Vdh | posted this 13 September 2019

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.

  • 0
  • 0
Matt Dermody | posted this 13 September 2019

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. 

  • 0
  • 0
Dennis Vdh | posted this 10 October 2019

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

 

  • 1
  • 0

Give us your feedback
Give us your feedback
Feedback