comparison deploy/win64/sonic-visualiser.wxs @ 2008:55d9bbf1fe45 zoom

Merge from default branch
author Chris Cannam
date Mon, 17 Sep 2018 14:05:41 +0100
parents 30089cc54bac
children 2b8eaf15ae90
comparison
equal deleted inserted replaced
2007:246bdf94ef7b 2008:55d9bbf1fe45
1 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
2
3 <!-- NB this is specific to a particular Qt and compiler version.
4 20th April 2018 - updated for Qt 5.10.1 and MSVC 2017
5 -->
6
7 <Product
8 Name="Sonic Visualiser"
9 Id="*"
10 Language="1033"
11 Codepage="1252"
12 Version="3.2"
13 UpgradeCode="D476941E-65F3-4962-9E72-B40FAAE5DBD0"
14 Manufacturer="Queen Mary, University of London">
15
16 <Package
17 Id="*"
18 Keywords="Installer"
19 Description="Sonic Visualiser 64-bit Installer"
20 Comments="Copyright (c) 2018 Queen Mary, University of London and others."
21 Manufacturer="Queen Mary, University of London"
22 InstallerVersion="200"
23 Languages="1033"
24 Compressed="yes"
25 Platform="x64"
26 SummaryCodepage="1252"/>
27
28 <MajorUpgrade DowngradeErrorMessage="A later version of Sonic Visualiser is already installed. Setup will now exit."/>
29
30 <Media Id="1" Cabinet="SonicVisualiser.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
31 <Property Id="DiskPrompt" Value="Sonic Visualiser Installation [1]"/>
32
33 <Directory Id="TARGETDIR" Name="SourceDir">
34
35 <Directory Id="ProgramFiles64Folder" Name="PFiles64">
36 <Directory Id="VampPlugins" Name="Vamp Plugins">
37 <Component Win64="yes"
38 Id="VampPlugins"
39 Guid="528C7D7E-5A06-4E7D-89BB-7C16431DF82F">
40 <File
41 Id="VampREADME"
42 Name="README.txt"
43 Source="..\deploy\win64\README-Vamp.txt"/>
44 </Component>
45 </Directory>
46
47 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
48
49 <Component Win64="yes"
50 Id="MainExecutable"
51 Guid="65E1EBDF-4C8F-47B8-BCD6-981667F5946D">
52
53 <File
54 Id="SVExecutable"
55 Name="Sonic Visualiser.exe"
56 Source="release\Sonic Visualiser.exe"
57 KeyPath="yes">
58
59 <Shortcut
60 Id="SVStartEntry"
61 Directory="ProgramMenuDir"
62 Name="Sonic Visualiser"
63 WorkingDirectory="APPLICATIONFOLDER"
64 Icon="winicon.ico"
65 IconIndex="0"
66 Advertise="yes"/>
67
68 <Shortcut
69 Id="SVDesktop"
70 Directory="DesktopFolder"
71 Name="Sonic Visualiser"
72 WorkingDirectory="APPLICATIONFOLDER"
73 Icon="winicon.ico"
74 IconIndex="0"
75 Advertise="yes"/>
76 </File>
77
78 <File
79 Id="COPYING"
80 Name="COPYING.txt"
81 Source="..\COPYING"/>
82 <File
83 Id="README"
84 Name="README.txt"
85 Source="..\README.md"/>
86 <File
87 Id="CHANGELOG"
88 Name="CHANGELOG.txt"
89 Source="..\CHANGELOG"/>
90
91 <File
92 Id="winicon.ico"
93 Name="sv-winicon.ico"
94 Source="..\icons\sv-winicon.ico"/>
95 </Component>
96
97 <Component Win64="yes"
98 Id="SVFileAssociation"
99 Guid="F07C5CC1-0209-4C1A-8D52-C40B50A2B964">
100
101 <CreateFolder/>
102
103 <ProgId
104 Id='SonicVisualiser.svfile'
105 Description='Sonic Visualiser project file'
106 Icon="SVExecutable">
107 <Extension
108 Id='sv'
109 ContentType='application/sonicvisualiser'>
110 <Verb
111 Id='open'
112 Command='Open'
113 TargetFile='SVExecutable'
114 Argument='"%1"' />
115 </Extension>
116 </ProgId>
117
118 </Component>
119
120 <Component Win64="yes"
121 Id="Qt5"
122 Guid="5495ED5E-939A-4BE8-9000-D55F2A7A2E90">
123 <File
124 Id="QtCore"
125 Name="Qt5Core.dll"
126 Source="release\Qt5Core.dll"
127 KeyPath="yes"/>
128 <File
129 Id="QtGui"
130 Name="Qt5Gui.dll"
131 Source="release\Qt5Gui.dll"/>
132 <File
133 Id="QtNetwork"
134 Name="Qt5Network.dll"
135 Source="release\Qt5Network.dll"/>
136 <File
137 Id="QtWidgets"
138 Name="Qt5Widgets.dll"
139 Source="release\Qt5Widgets.dll"/>
140 <File
141 Id="QtXml"
142 Name="Qt5Xml.dll"
143 Source="release\Qt5Xml.dll"/>
144 <File
145 Id="QtSvg"
146 Name="Qt5Svg.dll"
147 Source="release\Qt5Svg.dll"/>
148 </Component>
149
150 <Component Win64="yes"
151 Id="Sndfile"
152 Guid="04533516-6460-4155-A0D4-E9BA4D31E95C">
153 <File
154 Id="libsndfile"
155 Name="libsndfile-1.dll"
156 Source="..\sv-dependency-builds\win64-msvc\lib\libsndfile-1.dll"
157 KeyPath="yes"/>
158 </Component>
159
160 <Component Win64="yes"
161 Id="VCRuntime"
162 Guid="251D9513-BBD2-47CF-BE78-EF79446F7683">
163
164 <!-- Redistributables are handled by the Visual Studio
165 installer (a separate program from VS itself) and are
166 installed into C:\Program Files (x86)\Microsoft
167 Visual Studio\2017\Community\VC\Redist\MSVC\... NB
168 this is not the same thing as the Windows SDKs, which
169 consist of build tools etc - they have their own
170 installers and get installed by default to C:\Program
171 Files (x86)\Windows Kits\... -->
172
173 <File
174 Id="concrt140"
175 Name="concrt140.dll"
176 Source="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\concrt140.DLL"
177 KeyPath="yes"/>
178 <File
179 Id="msvcp140"
180 Name="msvcp140.dll"
181 Source="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\msvcp140.DLL"/>
182 <File
183 Id="vccorlib140"
184 Name="vccorlib140.dll"
185 Source="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\vccorlib140.DLL"/>
186 <File
187 Id="vcruntime140"
188 Name="vcruntime140.dll"
189 Source="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT\vcruntime140.DLL"/>
190 </Component>
191
192 <Directory Id="Platforms" Name="platforms">
193 <Component Win64="yes"
194 Id="Qt5PlatformPlugins"
195 Guid="1FFB773E-6D6D-4C0E-832B-F0FFEA959CA5">
196 <File
197 Id="qminimal"
198 Name="qminimal.dll"
199 Source="release\qminimal.dll"/>
200 <File
201 Id="qwindows"
202 Name="qwindows.dll"
203 Source="release\qwindows.dll"/>
204 </Component>
205 </Directory>
206
207 <Directory Id="Styles" Name="styles">
208 <Component Win64="yes"
209 Id="Qt5StylePlugins"
210 Guid="7A676FC1-B139-432C-A7D3-F33984934B79">
211 <File
212 Id="qwindowsvistastyle"
213 Name="qwindowsvistastyle.dll"
214 Source="release\qwindowsvistastyle.dll"/>
215 </Component>
216 </Directory>
217
218 <Directory Id="Helpers" Name="helpers">
219 <Component Win64="yes"
220 Id="Piper64"
221 Guid="6385BD86-A5D3-4C77-AD41-B2DCA5B34E48">
222 <File
223 Id="piperconv64"
224 Name="piper-convert.exe"
225 Source="release\piper-convert.exe"/>
226 <File
227 Id="piper64"
228 Name="piper-vamp-simple-server.exe"
229 Source="release\piper-vamp-simple-server.exe"/>
230 </Component>
231 <Component Win64="yes"
232 Id="Piper32"
233 Guid="F27A00A8-DD03-45B0-A13C-8CD8CC6F7386">
234 <File
235 Id="piper32"
236 Name="piper-vamp-simple-server-32.exe"
237 Source="..\build_win32\release\piper-vamp-simple-server.exe"/>
238 <File
239 Id="libgcc32"
240 Name="libgcc_s_dw2-1.dll"
241 Source="..\build_win32\release\libgcc_s_dw2-1.dll"/>
242 <File
243 Id="libstdcplusplus32"
244 Name="libstdc++-6.dll"
245 Source="..\build_win32\release\libstdc++-6.dll"/>
246 <File
247 Id="libwinpthread32"
248 Name="libwinpthread-1.dll"
249 Source="..\build_win32\release\libwinpthread-1.dll"/>
250 </Component>
251 <Component Win64="yes"
252 Id="Checker64"
253 Guid="19A400D9-D5B2-4CB5-AF84-7C1DEA11D7B5">
254 <File
255 Id="checker64"
256 Name="vamp-plugin-load-checker.exe"
257 Source="release\vamp-plugin-load-checker.exe"/>
258 </Component>
259 <Component Win64="yes"
260 Id="Checker32"
261 Guid="4F3FDFEC-23BD-4F2F-9B8F-9C8387FDEC21">
262 <File
263 Id="checker32"
264 Name="vamp-plugin-load-checker-32.exe"
265 Source="..\build_win32\release\vamp-plugin-load-checker.exe"/>
266 </Component>
267
268 </Directory> <!-- helpers -->
269 </Directory> <!-- sv -->
270 </Directory> <!-- pfiles64 -->
271
272 <Directory Id="ProgramFilesFolder" Name="PFiles">
273 <Directory Id="Vamp32Plugins" Name="Vamp Plugins">
274 <Component
275 Id="Vamp32Plugins"
276 Guid="62d23999-63ed-4937-b904-ec8e47a776d1">
277 <File
278 Id="Vamp32README"
279 Name="README.txt"
280 Source="..\deploy\win64\README-Vamp32.txt"/>
281 </Component>
282 </Directory>
283 </Directory>
284
285 <Directory Id="ProgramMenuFolder" Name="Programs">
286 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
287 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
288 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
289 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
290 </Component>
291 </Directory>
292 </Directory>
293
294 <Directory Id="DesktopFolder" Name="Desktop"/>
295
296 </Directory>
297
298 <Feature
299 Id="Complete"
300 Title="Required files"
301 Description="Installs the required files for running Sonic Visualiser."
302 AllowAdvertise="no"
303 Absent="disallow"
304 ConfigurableDirectory="APPLICATIONFOLDER"
305 Level="1">
306 <ComponentRef Id="VampPlugins"/>
307 <ComponentRef Id="MainExecutable"/>
308 <ComponentRef Id="SVFileAssociation"/>
309 <ComponentRef Id="Sndfile"/>
310 <ComponentRef Id="Qt5"/>
311 <ComponentRef Id="VCRuntime"/>
312 <ComponentRef Id="Qt5PlatformPlugins"/>
313 <ComponentRef Id="Qt5StylePlugins"/>
314 <ComponentRef Id="Piper64"/>
315 <ComponentRef Id="Piper32"/>
316 <ComponentRef Id="Checker64"/>
317 <ComponentRef Id="Checker32"/>
318 <ComponentRef Id="Vamp32Plugins"/>
319 <ComponentRef Id="ProgramMenuDir"/>
320 </Feature>
321
322 <UI>
323 <UIRef Id="WixUI_InstallDir" />
324 <UIRef Id="WixUI_ErrorProgressText" />
325 </UI>
326
327 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
328 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
329 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
330 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
331 <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win64\License.rtf" />
332
333 <Icon Id="winicon.ico" SourceFile="..\icons\sv-winicon.ico"/>
334 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
335
336 <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win32\top.bmp"/>
337 <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win32\main.bmp"/>
338
339 </Product> </Wix>