TeamViewer12 Manual MSI Deployment en
TeamViewer12 Manual MSI Deployment en
TeamViewer12 Manual MSI Deployment en
Manual
MSI
Rev 12.1.201611
1 Installation overview 3
7 Uninstall TeamViewer 20
1 Installation overview
2. If you have already deployed a TeamViewer MSI version before, you can simply install the
newer Version. The older version will be replaced automatically, even if it's a lower major
version (4.x or higher supported). However, you have to make sure that TeamViewer
(full version) and TeamViewer Host wont get mixed. If you want to change the
TeamViewer variant, you should uninstall the existing one first.
Note: If you have already installed TeamViewer before through a standard setup (non
MSI) it doesnt matter which variant had been used (full version or Host). In this case
any TeamViewer MSI package can be deployed without a previous uninstalling of
TeamViewer. The older version will be replaced automatically, even if it's a lower major
version (3.x or higher supported).
3. Provide all TeamViewer settings you want to deploy in a file named TeamViewer_
Settings.reg. This filename is mandatory. If you don't provide this file, TeamViewer will
use its default settings. You can get this .reg file through a settings export from
TeamViewer: Install TeamViewer on a single computer and configure it to your needs. In
the Options dialog (Extras | Options) in the category Advanced use the Button Export
labeled with Export options to a *.reg file. In the following Dialog Export Options you
can also specify your license key. Please keep in mind that only on one side of a
TeamViewer connection a license is needed. Usually this is on the side of the technical sup-
port, not on the client computers.
5. Deploy the package with a group policy. It's strongly recommended to deploy
TeamViewer on a per computer base.
The TeamViewer installation will place two entries to the installed programs on your
clients.
Full version: TeamViewer 12 (MSI Wrapper) and TeamViewer 12.
Host: TeamViewer 12 Host (MSI Wrapper) and TeamViewer 12 Host.
For the experienced administrator: you have to create a network share that is accessible from
all computers where you want TeamViewer to be installed. Place the required TeamViewer files
on this network share, create a Group Policy Object and link it to your domain or an organ-
izational unit. Add your TeamViewer MSI package as a software installation package to this GPO.
The following shows an example for a Windows Server 2008 Domain Controller:
1. Create a network share that is accessible to all computers that receive the TeamViewer
installation. The example shows a network share which already contains the appropriate
installation files.
2. Start the Group Policy Management Console and create a Group Policy Object (i.e.
TeamViewer_MSI) under your Domain (or Organizational Unit).
3. Select the created GPO and add all computers or groups to which the GPO has to be
applied to in the section Security Filtering.
4. Edit the GPO and navigate to Computer Configuration / Software Settings. Right-click
Software Installation and add a new package.
6. When you open the package select the deployment method Assigned.
It is possible to customize TeamViewer Host with your own branding, including logo and text.
Visit the Design & Deploy website to setup your customizations within the TeamViewer Manage-
ment Console. After you created the Host customizations a ConfigurationID will be gener-
ated.
To deploy the TeamViewer Host with your customizations, simply extend the filename of the
TeamViewer_Host.msi with -idc and append the ConfigurationID to it. Set the new filename
within your group policy as software package.
Filename example:
l ConfigurationID: hcl79ca
Make sure not to miss the -idc prior to the ConfigurationID. Also modify your Group Policy to
match with the new filename.
You can customize a TeamViewer Host module in such a way, that the Host module is added
automatically to a TeamViewer account when installed. The assignment does not have to be
confirmed manually at the client device.
For deployment on Windows and macOS with automated account assignment it is recom-
mended to use the Assignment Tool. This method works on Windows with the MSI package as
well as the executable Version.
4.1.1 Preparations
l Login to the Teamviewer Management Console and create a custom TeamViewer Host
module with Account assignment without confirmation enabled.
l After saving the module, a download link for the Assignment Tool and the assignment
token that is needed for the account assignment is shown.
Please copy and save the token for later reuse (e.g. within a text file) and download the
Assignment Tool.
Note: All steps must be performed locally on all devices you want to assign.
2. Run the Assignment Tool as administrator/root on all devices that should be assigned.
l Exit code in case of success = 0 / exit code = 1 means that an error occurred
After successful execution of the steps, the device should be assigned to the account that
created the custom host module und Easy Access is activated.
First, you have to create a serviceConnectionPoint (SCP) within the Active Directory. The SCP is
used to provide trusted ConfigurationIDs to TeamViewer clients in your domain. The provided
script will create a SCP automatically.
3. If it is the first Configuraiton ID you want to add, you have to enter a path and a name for
the TeamViewer serviceConnectionPoint (SCP).
Experienced PowerShell users may also run the script from PowerShell command line. The para-
meters are:
l List
l Shows all saved ConfigurationIDs.
l Add <ConfigurationID> [optional -Name <Name> [optional] -Path <Path>
l Default command
You can now deploy the customized TeamViewer Host module with automated account assign-
ment as described in section1 "Installation overview", page3.
l Press WINDOWS+S, search for ADSI and open the ADSI Edit.
2. Navigate to the path of the AD where you want to create the SCP. We recommend
CN=TeamViewer, CN=System, DC=your, DC=domain, DC=com.
6. Create a new serviceConnectionPoint object in the folder within the newly created con-
tainer.
8. Click the More attributes button in the last step of the wizard.
11. Confirm all open dialog boxes and close the wizard.
You can now deploy the customized TeamViewer Host module with automated account assign-
ment as described in section1 "Installation overview", page3.
Note: Do not create more than one (1) SCP for your customized ConfigurationIDs (not
supported by TeamViewer). Nevertheless, multiple ConfigurationIDs can be added to the
serviceBindingInformation.
If you only want to change your settings without installing a newer version of TeamViewer, you
can adjust your TeamViewer_Settings.reg file and use the existing Group Policy Object for
the TeamViewer.msi or TeamViewer_Host.msi.
Right-click the package in the Group Policy Management Editor and select All Tasks |
Redeploy application.
You can deploy minor TeamViewer updates using the TeamViewer MSI Wrapper. This includes
updates for TeamViewer versions within a main version (e.g. from TeamViewer 10.12345 to
TeamViewer 10.54321).
2. Configure the new package for update. To do so, open the Properties of the package.
6. To deploy an update, right-click the package in the Group Policy Management Editor
and select All Tasks | Redeploy application.
Note: Only the newest updated package with the green arrow icon will be deployed.
7 Uninstall TeamViewer
To Remove TeamViewer, use the existing Group Policy Object for the TeamViewer.msi or
TeamViewer_Host.msi.
Right-click the package in the Group Policy Management Editor and select All Tasks |
Remove....
To uninstall TeamViewer manually on a client computer you only need to uninstall the
TeamViewer12 (MSI Wrapper) and TeamViewer12 Host (MSI Wrapper), respectively,
under Add or Remove Programs in the Windows control panel. The second TeamViewer entry
will then be removed automatically, which you can check by refreshing the program list.
For trouble shooting purposes it might be useful to enable Windows Installer logging. You can
enable logging manually through settings in the registry or with Group Policies. For further
notes please have a look at: http://support.microsoft.com/kb/223300/en-us.