Please find more information here.
Does the Full or Host msi package support the public property "INSTALLDIR"? I am tasked with a scripted installation for our company and need to be able to install our package in a different dir than the default x86.
yes, you can also install TeamViewer into a different directory instead of the default x86 also via command line. You should use the parameter INSTALLFOLDER.
msiexec.exe /i TeamViewer_Full.msi INSTALLFOLDER="C:\TeamViewer\" /qn
@Sven_F Thank you very much. This worked for me