23
edits
Changes
added package for teamviewer v10 host
==TEamviewer host v10==
<source lang=xml>
<package
id="teamviewer"
name="Teamviewer"
revision="%version%"
reboot="false"
priority="1"> <!-- make priority lower than teamviewermanager if you have it -->
<variable name="version" value="10.0.36244" />
<variable name="teamviewerinstallerpath" value="." />
<check type="logical" condition="or">
<check type="uninstall" condition="versiongreaterorequal" path="TeamViewer 10 Host" value="%version%" />
<check type="uninstall" condition="versiongreaterorequal" path="TeamViewer 10" value="%version%" /> <!-- this excludes if the manager application is installed -->
</check>
<!--
The install options are controlled by the TeamViewer_Settings.reg file in the %software%\teamviewer folder.
These are exported from teamviewer => options => advanced. The reg file must have the name TeamViewer_Settings.reg
and is picked up automatically by the installer. (i.e. there is no need to run a install regedit command to do it).
To update the password, install the host on a PC, then export the options. I'm not sure if you need to enter a password in the box on the
export screen (looks like you do)
Variable TeamviewerInstallPath can be used to control which path is used for the install. E.g. set to WAN
It is done this way because the teamviewer installer won't accept an alternative filename for the installer.
-->
<!-- if teamviewer has just been removed (i.e. without reboot), this will return exit code zero but not
install -->
<install cmd='msiexec /i "%SOFTWARE%\teamviewer\%TeamviewerInstallPath%\TeamViewer_Host-idchb43vrh.msi" ALLUSERS=1 /passive /qn /norestart' />
<install cmd='del "%systemdrive%\users\public\Desktop\TeamViewer 10 Host.lnk" ' ><exit code="any" /> </install>
<install cmd='del "%ALLUSERSPROFILE%\Desktop\TeamViewer 10 Host.lnk"'><exit code="any" /> </install>
<upgrade include="install" />
<remove cmd="taskkill /F /IM teamviewer.exe"> <exit code="any" /> </remove>
<remove cmd='msiexec /x "{35A21EFA-D85E-4F5C-8477-086CE7E0A9E8}" ALLUSERS=1 /passive /qn /norestart'> <!-- MSI wrapper -->
<exit code="any" />
</remove>
<remove cmd='"%PROGFILES32%\TeamViewer\uninstall.exe" /S '> </remove>
<!-- uninstall notes at https://community.spiceworks.com/topic/407305-i-need-to-uninstall-teamviewer-from-every-computer-on-network-easiest-method -->
</package>
</source>
==Inno Setup for teamviewer v6.0==
Created an silent unattended installer for TeamViewer using Inno Setup.