Install PKG with additional options/switches

mwu1876
Contributor

I'm trying to deploy apps silently. With TeamViewer it requires additional switches or options to run from the command line. How can this be done using the policy?

I would run this from the command line: sudo installer -applyChoiceChangesXML choices.xml -pkg Install TeamViewerHost.pkg -target /

https://community.teamviewer.com/English/kb/articles/50739-mass-deployment-on-macos

2 REPLIES 2

bentoms
Release Candidate Programs Tester

@mwu1876 Jamf doesn't natively support choiceChanges (see this FR from 2015 requesting this support, and vote it up! https://www.jamf.com/jamf-nation/feature-requests/3516/support-for-choices-xml-during-package-instal...)

There are some workarounds mentioned in the FR's responses too

SmilieK
New Contributor III

You can do the install you need via composer.

Look at this post: https://www.jamf.com/jamf-nation/discussions/24134/deploying-palo-alto-traps