/build/static/layout/Breadcrumb_cap_w.png

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 7.4k  |  Created: 08/29/2009

Average Rating: 0
TeamViewer has 8 inventory records, 13 Questions, 1 Blogs and 2 links. Please help add to this by sharing more!

Deployment Tips (1)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 1 ratings
Most Commonly Reported Deployment Method
Repackaged (to a setup.msi)
5
Note
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.

Issues:
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.

Exit Codes:

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


---- TEAMVIEWER 4 HOST INSTALL.BAT ----
@echo off
ECHO ==============================================
ECHO === TeamViewer Host Installer ===
ECHO === Ver. 1.9 ===
ECHO === Last Edited 9/29/09 ===
ECHo === Edited By: Brandon Fingerhut ===
ECHO ==============================================

:Start

ECHO Checking for Full version of TeamViewer Based on Registry Key.

SET TVInstalled=0

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\Version4" /v CustomInvitationSubject

SET TVInstalled=%ErrorLevel%

IF %TVInstalled%==1 GOTO Install_Host
IF %TVInstalled%==0 GOTO No_Install_Host
GOTO End

:Install_Host
ECHO TeamViewer Full Version is NOT Installed.
:Begin_Install
ECHO Installing TeamViewer Host.
MSIEXEC.EXE /qn ALLUSERS=2 /m MSIVUWTV /norestart /i "TeamViewer_Host.msi"
IF ERRORLEVEL 1 EXIT %ERRORLEVEL%
ECHO Shutting down TeamViewer to import registry settings.
TASKKILL /F /IM TeamViewer.exe
ECHO Importing Registry Settings.
REGEDIT.EXE /s TeamViewer.reg
ECHO Starting TeamViewer Host
"%PROGRAMFILES%\TeamViewer\Version4\TeamViewer.exe"
ECHO Remove TeamViewer Host Icon from Desktop
DEL /F /S "%ALLUSERSPROFILE%\Desktop\TeamViewer Host 4.lnk"
GOTO Verify
GOTO End

:No_Install_Host
ECHO TeamViewer Full version IS Installed.
EXIT 99001
GOTO End

:Verify
GOTO Verify_Installed

:Verify_Installed
IF EXIST "%PROGRAMFILES%\TeamViewer\Version4\TeamViewer.exe" GOTO Verify_Started
EXIT 99003

:Verify_Started
TASKLIST /FI "IMAGENAME eq TeamViewer.exe" 2>NUL | find /I /N "TeamViewer.exe" >NUL
IF %ErrorLevel%==0 EXIT 0
IF %ErrorLevel%==1 EXIT 99002
GOTO End

:End
ECHO Should not get here.
EXIT 99004
---- TEAMVIEWER 4 HOST INSTALL.BAT ----

---- TEAMVIEWER.REG ----

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer]

[HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\Version4]

"MinimizeToTray"=dword:00000001
"Buddy_NotifyOnMessage"=dword:00000001
"Buddy_NotifyOnPartnerSignIn"=dword:00000001
"SecurityPasswordAES"=hex:ef,f9,41,57,69,b5,a1,36,25,f7,22,5e,7e,74,60,01,a5
"Username"="User"
"Remote_RemoveWallpaper"=dword:00000001
"Pres_RemoveWallpaper"=dword:00000001
"Security_Adminrights"=dword:00000001
"Security_Disableshutdown"=dword:00000001
"HostInfoDialog"=dword:00000000

---- TEAMVIEWER.REG
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows

Inventory Records (8)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

TeamViewer

Version

4.1.6873

Uninstall String

C:\Program Files\TeamViewer\Version4\uninstall.exe

Questions & Answers (13)

Questions & Answers related to TeamViewer TeamViewer

0
ANSWERS
0
ANSWERS
1
ANSWERS
6
ANSWERS
1
ANSWERS
1
ANSWERS
1
ANSWERS
2
ANSWERS
4
ANSWERS
2
ANSWERS

Blogs (1)

Blog posts related to TeamViewer TeamViewer

Reviews (0)

Reviews related to TeamViewer TeamViewer

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ