Skip to main content
Question

Install PKG with additional options/switches

  • December 31, 2020
  • 2 replies
  • 64 views

Forum|alt.badge.img+8

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

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • December 31, 2020

@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-installation)

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


SmilieK
Forum|alt.badge.img+8
  • New Contributor
  • January 3, 2021

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