Difference between revisions of "TeamViewer"
From WPKG | Open Source Software Deployment and Distribution
(added package for teamviewer v10 host) |
(→TEamviewer host v10) |
||
Line 21: | Line 21: | ||
and is picked up automatically by the installer. (i.e. there is no need to run a install regedit command to do it). | 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 | + | 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) | export screen (looks like you do) | ||
+ | |||
+ | Be careful with the autoupdate setting in the registry file. If set to 0, this will update to new major versions, | ||
+ | for which you may not be licenced. Use settings 1,2, or 3 in this case. (order as per the selector in the GUI) | ||
Variable TeamviewerInstallPath can be used to control which path is used for the install. E.g. set to WAN | Variable TeamviewerInstallPath can be used to control which path is used for the install. E.g. set to WAN |
Latest revision as of 11:39, 28 April 2016
TEamviewer host v10
<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)
Be careful with the autoupdate setting in the registry file. If set to 0, this will update to new major versions,
for which you may not be licenced. Use settings 1,2, or 3 in this case. (order as per the selector in the GUI)
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>
Inno Setup for teamviewer v6.0
Created an silent unattended installer for TeamViewer using Inno Setup.
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "TeamViewer"
#define MyAppVersion "6.0"
#define MyAppPublisher "TeamViewer GmbH"
#define MyAppURL "http://www.teamviewer.com"
#define MyAppExeName "TeamViewer.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{1B95342F-C021-4253-B198-B8885F38EF9E}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}\Version6
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
LicenseFile=..\Source\Program Files\TeamViewer\Version6\License.txt
OutputDir=../output
OutputBaseFilename=TeamViewer_Setup
SetupIconFile=..\source\TeamViewer_Setup_103.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\CopyRights.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\License.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Desktop.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_ar.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_bg.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_cs.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_da.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_de.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_el.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_en.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_es.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_fi.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_fr.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_he.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_hr.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_hu.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_id.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_it.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_ja.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_ko.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_lt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_nl.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_no.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_pl.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_pt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_ro.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_ru.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_sk.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_sr.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_sv.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_th.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_tr.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_uk.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_vi.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_zhCN.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Resource_zhTW.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\TeamViewer_Service.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\tv_w32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\tv_w32.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\tv_x64.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\tv_x64.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\tvinfo.ini"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\w2k\TeamViewerVPN.inf"; DestDir: "{app}\w2k"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\w2k\teamviewervpn.sys"; DestDir: "{app}\w2k"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x64\teamviewervpn.cat"; DestDir: "{app}\x64"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x64\TeamViewerVPN.inf"; DestDir: "{app}\x64"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x64\teamviewervpn.sys"; DestDir: "{app}\x64"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x64\tvmonitor.cat"; DestDir: "{app}\x64"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x64\TVMonitor.inf"; DestDir: "{app}\x64"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x64\TVMonitor.sys"; DestDir: "{app}\x64"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x86\teamviewervpn.cat"; DestDir: "{app}\x86"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x86\TeamViewerVPN.inf"; DestDir: "{app}\x86"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x86\teamviewervpn.sys"; DestDir: "{app}\x86"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x86\tvmonitor.cat"; DestDir: "{app}\x86"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x86\TVMonitor.inf"; DestDir: "{app}\x86"; Flags: ignoreversion
Source: "..\Source\Program Files\TeamViewer\Version6\x86\TVMonitor.sys"; DestDir: "{app}\x86"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
Root: HKLM; Subkey: "Software\TeamViewer"; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: "Software\TeamViewer\Version6"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\TeamViewer\Version6"; ValueType: dword; ValueName: "UpdateCheckInterval"; ValueData: 2
Root: HKCU; Subkey: "Software\TeamViewer"; Flags: uninsdeletekeyifempty
Root: HKCU; Subkey: "Software\TeamViewer\Version6"; Flags: uninsdeletekey
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent