Note: Don't use absolute paths. Please always use "%~dp0" for the path; otherwise, the Install Script won't work.
start /wait MSIEXEC.EXE /i "%~dp0\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOUR_CUSTOM_CONFIG_ID timeout /t 30 /nobreak "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
start /wait MSIEXEC.EXE /i "%~dp0\TeamViewer_Full.msi" /qn timeout /t 30 /nobreak "C:\Program Files\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
start /wait MSIEXEC.EXE /i "%~dp0\TeamViewer_Full.msi" /qn timeout /t 30 /nobreak "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
This parameter Imports TeamViewer options. For example, a Conditional Access Router.
For more information, please read the following article:
Export settings for deployment
Don't use this parameter in combination with IMPORTREGFILE.
Please check this article for more MSI parameters.
The package will be created, and the .intunewin File will be uploaded, and depending on the setting in the assignments, the package will be pushed to the devices.