Posted by azelle
Henagon

TeamViewer full version msi assignment

Hi,

I've made a script to enroll Teamviewer Host msi installer with automatic account assignment with this paramenters: CUSTOMCONFIGID=xxx IMPORTREGFILE=1 APITOKEN=xxx DESKTOPSHORTCUTS=0 ASSIGNMENTOPTIONS="--group Default --alias %COMPUTERNAME% --reassign"

Everything works fine.

Now I tried to make the same with Teamviewer Full Client, but It does not work. Only thing I replaced is the MSI Package, everything else is the same.

Any Ideas?

BR

Andreas

 

 

 

 

3 Replies
Posted by HMF
Henagon

Re: TeamViewer full version msi assignment

Same issue here...

Highlighted
Posted by azelle
Henagon

Re: TeamViewer full version msi assignment

I opened a ticket and they told me, msi assignment "the new way" only works for the host. Full client has to be assigned the old way.

 

1 Reply
Posted by backdoor
Digon

Re: TeamViewer full version msi assignment

This is what I have thus far that works like a charm. Yes those are double dashes "--". Technically you do not need the "importregfile=1" as long as the file is in the same location that the MSI is in.

msiexec.exe /i TeamViewer.msi /qn importregfile=1
TIMEOUT 30

"C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assign --api-token <YOUR API TOKEN> --group "GROUP NAME" --grant-easy-access --alias %COMPUTERNAME%