blob: 22e2d2b1b83329e39e65b98c3141e9b22a7a2d24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
// <copyright project="HandBrake.Installer" team="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the MIT License.
// This project is NOT included under the HandBrake applications GPLv2 license.
// </copyright>
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define packagePath = "..\HandBrakeWPF\bin\x64\Release" ?>
<Product Id="*" Name="HandBrake" Language="1033" Version="1.4.0.0" Manufacturer="HandBrake Team" UpgradeCode="fd19ef0e-77c4-47a6-b1e4-4cea0b3a4c93">
<Package InstallerVersion="200" Platform="x64" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Media Id="1" Cabinet="product.cab" EmbedCab="yes"/>
<Icon Id="ProductIcon" SourceFile="..\HandBrakeWPF\handbrakepineapple.ico"/>
<Property Id="ARPPRODUCTICON" Value="ProductIcon"/>
<Property Id="ARPHELPLINK" Value="https://www.handbrake.fr/docs"/>
<Property Id="ARPURLINFOABOUT" Value="https://www.handbrake.fr"/>
<Property Id="ARPNOREPAIR" Value="1"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<UIRef Id="WixUI_InstallDir" />
<WixVariable Id="WixUILicenseRtf" Value="assets\COPYING.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="gfx\banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="gfx\dialog.bmp" />
<WixVariable Id="WixUIInfoIco" Value="..\HandBrakeWPF\handbrakepineapple.ico" />
<WixVariable Id="WixUIUpIco" Value="..\HandBrakeWPF\handbrakepineapple.ico" />
<WixVariable Id="WixUINewIco" Value="..\HandBrakeWPF\handbrakepineapple.ico" />
<!-- System Requirement Checks -->
<Condition Message="This application is only supported on Windows 7 SP1, 8.1 or 10.">
<![CDATA[Installed OR (VersionNT64 >= 603) OR (VersionNT64 = 601)]]>
</Condition>
<PropertyRef Id='WIXNETFX4RELEASEINSTALLED'/>
<Condition Message='This setup requires the Microsoft .NET Framework 4.8 (or greater) to be installed.'>
<![CDATA[Installed OR (WIXNETFX4RELEASEINSTALLED >= "#528040")]]>
</Condition>
<!-- Install Files -->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLDIR" Name="HandBrake">
<Component Win64="yes" Id="ApplicationFiles" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42181">
<!-- Core Application -->
<File Source="$(var.packagePath)\HandBrake.exe" />
<File Source="$(var.packagePath)\HandBrake.exe.config"/>
<File Source="$(var.packagePath)\HandBrake.Worker.exe" />
<File Source="$(var.packagePath)\HandBrake.Worker.exe.config"/>
<File Source="$(var.packagePath)\HandBrake.Interop.dll"/>
<File Source="$(var.packagePath)\hb.dll"/>
<File Source="$(var.packagePath)\portable.ini.template"/>
<!-- 3rd Party Libraries -->
<File Source="$(var.packagePath)\Caliburn.Micro.dll"/>
<File Source="$(var.packagePath)\Caliburn.Micro.Platform.Core.dll"/>
<File Source="$(var.packagePath)\Caliburn.Micro.Platform.dll"/>
<File Source="$(var.packagePath)\GongSolutions.WPF.DragDrop.dll"/>
<File Source="$(var.packagePath)\Ookii.Dialogs.Wpf.dll"/>
<File Source="$(var.packagePath)\System.Windows.Interactivity.dll"/>
<File Source="$(var.packagePath)\Newtonsoft.Json.dll"/>
</Component>
<Directory Id="de_lang" Name="de">
<Component Win64="yes" Id="de_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42182">
<File Id="de_lang" Source="$(var.packagePath)\de\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="es_lang" Name="es">
<Component Win64="yes" Id="es_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42183">
<File Id="es_lang" Source="$(var.packagePath)\es\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="fr_lang" Name="fr">
<Component Win64="yes" Id="fr_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42184">
<File Id="fr_lang" Source="$(var.packagePath)\fr\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="ja_lang" Name="ja">
<Component Win64="yes" Id="ja_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42185">
<File Id="ja_lang" Source="$(var.packagePath)\ja\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="ko_lang" Name="ko">
<Component Win64="yes" Id="ko_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42186">
<File Id="ko_lang" Source="$(var.packagePath)\ko\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="ru_lang" Name="ru">
<Component Win64="yes" Id="ru_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42187">
<File Id="ru_lang" Source="$(var.packagePath)\ru\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="tr_lang" Name="tr">
<Component Win64="yes" Id="tr_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42188">
<File Id="tr_lang" Source="$(var.packagePath)\tr\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="zh_lang" Name="zh">
<Component Win64="yes" Id="zh_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42189">
<File Id="zh_lang" Source="$(var.packagePath)\zh\HandBrake.resources.dll" />
</Component>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="DIR_Shortcuts" Name="HandBrake" />
</Directory>
</Directory>
</Directory>
<!-- Shortcuts -->
<DirectoryRef Id="DIR_Shortcuts">
<Component Id="AppShortcuts" Win64="yes">
<!-- Shortcuts for the shell -->
<Shortcut Id="SCUT_Shortcuts_Shell" Name="HandBrake" Target="[#HandBrake.exe]" WorkingDirectory="APPLICATIONROOTDIRECTORY">
<!--AUMID-->
<ShortcutProperty Key="System.AppUserModel.ID" Value="HandBrakeTeam.HandBrake"/>
<!--COM CLSID-->
<ShortcutProperty Key="System.AppUserModel.ToastActivatorCLSID" Value="{cbae29e7-6d39-49bb-8c76-0305c3d42181}"/>
</Shortcut>
<!-- Uninstall shortcut -->
<Shortcut Id="SCUT_Shortcuts_Uninstall" Name="Uninstall HandBrake" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]"/>
<RemoveFolder Id="REMOVE_Shortcuts" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\HandBakeTeam\HandBrake" Name="installedShortcut" Type="integer" Value="1" KeyPath="yes" />
</Component>
</DirectoryRef>
<!-- Installer Feature Set -->
<Feature Id="DefaultFeature" Level="1">
<ComponentRef Id="ApplicationFiles"/>
<ComponentRef Id="AppShortcuts"/>
<ComponentRef Id="de_lang"/>
<ComponentRef Id="es_lang"/>
<ComponentRef Id="fr_lang"/>
<ComponentRef Id="ja_lang"/>
<ComponentRef Id="ko_lang"/>
<ComponentRef Id="ru_lang"/>
<ComponentRef Id="tr_lang"/>
<ComponentRef Id="zh_lang"/>
</Feature>
</Product>
</Wix>
|