Difference between revisions of "TeamViewer"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(TeamViewer InnoSetup Script)
 
m
Line 119: Line 119:
  
 
</source>
 
</source>
 +
 +
 +
[[category:Silent Installers]]

Revision as of 11:58, 2 July 2011

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