deploy macos from terminal

Hi i have a corporate license and i am trying to write an installation script, according to these instructions: https://community.teamviewer.com/English/kb/articles/50739-mass-deployment-on-macos

Why the command does not work:

sudo installer -pkg "Install TeamViewerHost-idc <ConfigurationID> .pkg" -target /

Can I describe the installation process in more detail, I download the pkg file, do I need to rename it, or only in the command?

Tagged: