blob: cb50b63b8e4b5c2802481d3cb5a6c166b6df3e74 (
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
<?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">
<?if $(var.Configuration)=Debug ?>
<?define msiProductId = "fd19ef0e-77c4-47a6-b1e4-4cea0b3a4c94" ?>
<?define productName = "HandBrake Nightly" ?>
<?define installDir = "Nightly" ?>
<?define ToastActivatorCLSID = "" ?>
<?define packagePath = "..\HandBrakeWPF\bin\Debug" ?>
<?else ?>
<?define msiProductId = "fd19ef0e-77c4-47a6-b1e4-4cea0b3a4c93" ?>
<?define productName = "HandBrake" ?>
<?define installDir = "HandBrake" ?>
<?define ToastActivatorCLSID = "" ?>
<?define packagePath = "..\HandBrakeWPF\bin\Release" ?>
<?endif ?>
<Product Id="$(var.msiProductId)" Name="$(var.productName)" Language="1033" Version="1.4.0.0" Manufacturer="HandBrake Team" UpgradeCode="$(var.msiProductId)">
<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="APPDIR" />
<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>
<!-- Install Files -->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLDIR" Name="HandBrakeTeam">
<Directory Id="APPDIR" Name="$(var.installDir)">
<Component Win64="yes" Id="ApplicationFiles" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42181">
<!-- Core Application -->
<File Source="$(var.packagePath)\HandBrake.exe" />
<File Source="$(var.packagePath)\HandBrake.dll.config"/>
<File Source="$(var.packagePath)\HandBrake.Worker.exe" />
<File Source="$(var.packagePath)\HandBrake.Worker.dll.config"/>
<File Source="$(var.packagePath)\HandBrake.Interop.dll"/>
<File Source="$(var.packagePath)\HandBrake.Worker.dll"/>
<File Source="$(var.packagePath)\HandBrake.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"/>
<File Source="$(var.packagePath)\System.Management.dll"/>
<File Source="$(var.packagePath)\HandBrake.deps.json"/>
<File Source="$(var.packagePath)\HandBrake.runtimeconfig.dev.json"/>
<File Source="$(var.packagePath)\HandBrake.runtimeconfig.json"/>
<File Source="$(var.packagePath)\HandBrake.Worker.deps.json"/>
<File Source="$(var.packagePath)\HandBrake.Worker.runtimeconfig.dev.json"/>
<File Source="$(var.packagePath)\HandBrake.Worker.runtimeconfig.json"/>
</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="co_lang" Name="co">
<Component Win64="yes" Id="co_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42183">
<File Id="co_lang" Source="$(var.packagePath)\co\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="es_lang" Name="es">
<Component Win64="yes" Id="es_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42184">
<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-0305c3d42185">
<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-0305c3d42186">
<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-0305c3d42187">
<File Id="ko_lang" Source="$(var.packagePath)\ko\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="pt_BR_lang" Name="pt-BR">
<Component Win64="yes" Id="pt_BR_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42188">
<File Id="pt_BR_lang" Source="$(var.packagePath)\pt-BR\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="ru_lang" Name="ru">
<Component Win64="yes" Id="ru_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42189">
<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-0305c3d42190">
<File Id="tr_lang" Source="$(var.packagePath)\tr\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="uk_lang" Name="uk">
<Component Win64="yes" Id="uk_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42191">
<File Id="uk_lang" Source="$(var.packagePath)\uk\HandBrake.resources.dll" />
</Component>
</Directory>
<Directory Id="zh_lang" Name="zh">
<Component Win64="yes" Id="zh_lang" Guid="cbae29e7-6d39-49bb-8c76-0305c3d42192">
<File Id="zh_lang" Source="$(var.packagePath)\zh\HandBrake.resources.dll" />
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="DIR_Shortcuts" Name="$(var.productName)" />
</Directory>
</Directory>
</Directory>
<!-- Shortcuts -->
<DirectoryRef Id="DIR_Shortcuts">
<Component Id="AppShortcuts" Win64="yes">
<!-- Shortcuts for the shell -->
<Shortcut Id="SCUT_Shortcuts_Shell" Name="$(var.productName)" Target="[#HandBrake.exe]" WorkingDirectory="APPLICATIONROOTDIRECTORY">
<!--AUMID-->
<ShortcutProperty Key="System.AppUserModel.ID" Value="HandBrakeTeam.$(var.productName)"/>
<!--COM CLSID-->
<ShortcutProperty Key="System.AppUserModel.ToastActivatorCLSID" Value="{cbae29e7-6d39-49bb-8c76-0305c3d42181}"/>
</Shortcut>
<!-- Uninstall shortcut -->
<Shortcut Id="SCUT_Shortcuts_Uninstall" Name="Uninstall $(var.productName)" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]"/>
<RemoveFolder Id="REMOVE_Shortcuts" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\HandBakeTeam\$(var.installDir)" 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="co_lang"/>
<ComponentRef Id="es_lang"/>
<ComponentRef Id="fr_lang"/>
<ComponentRef Id="ja_lang"/>
<ComponentRef Id="ko_lang"/>
<ComponentRef Id="pt_BR_lang"/>
<ComponentRef Id="ru_lang"/>
<ComponentRef Id="tr_lang"/>
<ComponentRef Id="uk_lang"/>
<ComponentRef Id="zh_lang"/>
</Feature>
</Product>
</Wix>
|