When deploying TeamViewer 4 Host to a large group of PCs I found there were some issues to be aware of. To ensure these issues are avoided I wrote the following script.
1. If an admin is in the collection and has TeamViewer 4 Full version the host package will overwrite the full package.
2. When installing TeamViewer Host and trying to set a default password if TeamViewer is running at the time of the registry import when TeamViewer closes it will write its currently cached blank password over top the imported password into the registry.
3. Service does not always start after install.
4. Software can install into registry properly but not files are written to the system.
0 = All Good
99001 = script completed Full version of Teamviewer is installed
99002 = script completed but teamviewer.exe process did not start
99003 = script completed but teamviewer.exe does not exist at c:\program files\teamviewer\version499004 = BAD EXIT