comparison deploy/win32/sonic-visualiser.wxs.in @ 2448:119588c42772

Generate the WXS files from templated inputs, substituting in the version and redistributable paths; also include OpenSSL libraries in the package, fixing #1895 Windows build fails to open https locations
author Chris Cannam
date Tue, 14 Jan 2020 13:23:04 +0000
parents deploy/win32/sonic-visualiser.wxs@446006ea9099
children
comparison
equal deleted inserted replaced
2447:d7b724db4bd0 2448:119588c42772
1 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
2
3 @W@
4
5 <Product
6 Name="Sonic Visualiser"
7 Id="*"
8 Language="1033"
9 Codepage="1252"
10 Version="@VERSION@"
11 UpgradeCode="D476941E-65F3-4962-9E72-B40FAAE5DBD0"
12 Manufacturer="Queen Mary, University of London">
13
14 <Package
15 Id="*"
16 Keywords="Installer"
17 Description="Sonic Visualiser 32-bit Installer"
18 Comments="Copyright (c) 2020 Queen Mary, University of London and others."
19 Manufacturer="Queen Mary, University of London"
20 InstallerVersion="100"
21 Languages="1033"
22 Compressed="yes"
23 SummaryCodepage="1252"/>
24
25 <MajorUpgrade DowngradeErrorMessage="A later version of Sonic Visualiser is already installed. Setup will now exit."/>
26
27 <Media Id="1" Cabinet="SonicVisualiser.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
28 <Property Id="DiskPrompt" Value="Sonic Visualiser Installation [1]"/>
29
30 <Directory Id="TARGETDIR" Name="SourceDir">
31
32 <Directory Id="ProgramFilesFolder" Name="PFiles">
33 <Directory Id="VampPlugins" Name="Vamp Plugins">
34 <Component
35 Id="VampPlugins"
36 Guid="E68E4E0B-3C63-49bd-AD2D-44431EABDA6A">
37 <File
38 Id="VampREADME"
39 Name="README.txt"
40 Source="..\deploy\win32\README-Vamp.txt"/>
41 </Component>
42 </Directory>
43 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
44
45 <Component
46 Id="MainExecutable"
47 Guid="2C02DFB7-3CDF-4F73-B9D1-846326EE417D">
48
49 <File
50 Id="SVExecutable"
51 Name="Sonic Visualiser.exe"
52 Source="release\Sonic Visualiser.exe"
53 KeyPath="yes">
54
55 <Shortcut
56 Id="SVStartEntry"
57 Directory="ProgramMenuDir"
58 Name="Sonic Visualiser"
59 WorkingDirectory="APPLICATIONFOLDER"
60 Icon="winicon.ico"
61 IconIndex="0"
62 Advertise="yes"/>
63
64 <Shortcut
65 Id="SVDesktop"
66 Directory="DesktopFolder"
67 Name="Sonic Visualiser"
68 WorkingDirectory="APPLICATIONFOLDER"
69 Icon="winicon.ico"
70 IconIndex="0"
71 Advertise="yes"/>
72 </File>
73
74 <File
75 Id="COPYING"
76 Name="COPYING.txt"
77 Source="..\COPYING"/>
78 <File
79 Id="README"
80 Name="README.txt"
81 Source="..\README.md"/>
82 <File
83 Id="CHANGELOG"
84 Name="CHANGELOG.txt"
85 Source="..\CHANGELOG"/>
86 <File
87 Id="CITATION"
88 Name="CITATION.txt"
89 Source="..\CITATION"/>
90
91 <File
92 Id="winicon.ico"
93 Name="sv-winicon.ico"
94 Source="..\icons/sv-winicon.ico"/>
95 </Component>
96
97 <Component
98 Id="SVFileAssociation"
99 Guid="DC6B3DD1-46DE-47FC-90FB-D8ACD5D1A88A">
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
121 Id="Qt5"
122 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
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 <File
149 Id="libgcc"
150 Name="libgcc_s_dw2-1.dll"
151 Source="release\libgcc_s_dw2-1.dll"/>
152 <File
153 Id="libstdcplusplus"
154 Name="libstdc++-6.dll"
155 Source="release\libstdc++-6.dll"/>
156 <File
157 Id="libwinpthread"
158 Name="libwinpthread-1.dll"
159 Source="release\libwinpthread-1.dll"/>
160 </Component>
161
162 <Component Id="OpenSSL"
163 Guid="dd5a0ca6-7b8d-4ecb-ae43-589c6e24b8b7">
164 <File
165 Id="libeay32"
166 Name="libeay32.dll"
167 Source="c:\OpenSSL-Win32\bin\libeay32.dll"
168 KeyPath="yes"/>
169 <File
170 Id="ssleay32"
171 Name="ssleay32.dll"
172 Source="c:\OpenSSL-Win32\bin\ssleay32.dll"/>
173 </Component>
174
175 <Directory Id="Platforms" Name="platforms">
176 <Component
177 Id="Qt5PlatformPlugins"
178 Guid="1EDCEA4B-C83F-430B-B09D-CB113DFD4E77">
179 <File
180 Id="qminimal"
181 Name="qminimal.dll"
182 Source="release\qminimal.dll"/>
183 <File
184 Id="qwindows"
185 Name="qwindows.dll"
186 Source="release\qwindows.dll"/>
187 </Component>
188 </Directory>
189
190 <Directory Id="Styles" Name="styles">
191 <Component
192 Id="Qt5StylePlugins"
193 Guid="049AD156-CBC3-457A-980F-3C01FF89C054">
194 <File
195 Id="qwindowsvistastyle"
196 Name="qwindowsvistastyle.dll"
197 Source="release\qwindowsvistastyle.dll"/>
198 </Component>
199 </Directory>
200
201 <Directory Id="Helpers" Name="helpers">
202 <Component Id="Piper"
203 Guid="17F2AAFF-7B7B-4F20-B345-DEF0A54A84B1">
204 <File
205 Id="piperconv"
206 Name="piper-convert.exe"
207 Source="release\piper-convert.exe"/>
208 <File
209 Id="piper"
210 Name="piper-vamp-simple-server.exe"
211 Source="release\piper-vamp-simple-server.exe"/>
212 <File
213 Id="libgcc32"
214 Name="libgcc_s_dw2-1.dll"
215 Source="release\libgcc_s_dw2-1.dll"/>
216 <File
217 Id="libstdcplusplus32"
218 Name="libstdc++-6.dll"
219 Source="release\libstdc++-6.dll"/>
220 <File
221 Id="libwinpthread32"
222 Name="libwinpthread-1.dll"
223 Source="release\libwinpthread-1.dll"/>
224 </Component>
225 <Component Id="Checker"
226 Guid="DB09B035-0594-4876-B494-4D25CED43601">
227 <File
228 Id="checker"
229 Name="vamp-plugin-load-checker.exe"
230 Source="release\vamp-plugin-load-checker.exe"/>
231 </Component>
232 </Directory> <!-- helpers -->
233 </Directory> <!-- sv -->
234 </Directory> <!-- pfiles -->
235
236 <Directory Id="ProgramMenuFolder" Name="Programs">
237 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
238 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
239 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
240 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
241 </Component>
242 </Directory>
243 </Directory>
244
245 <Directory Id="DesktopFolder" Name="Desktop"/>
246
247 </Directory>
248
249 <Feature
250 Id="Complete"
251 Title="Required files"
252 Description="Installs the required files for running Sonic Visualiser."
253 AllowAdvertise="no"
254 Absent="disallow"
255 ConfigurableDirectory="APPLICATIONFOLDER"
256 Level="1">
257 <ComponentRef Id="VampPlugins"/>
258 <ComponentRef Id="MainExecutable"/>
259 <ComponentRef Id="SVFileAssociation"/>
260 <ComponentRef Id="Qt5"/>
261 <ComponentRef Id="Qt5PlatformPlugins"/>
262 <ComponentRef Id="Qt5StylePlugins"/>
263 <ComponentRef Id="OpenSSL"/>
264 <ComponentRef Id="Piper"/>
265 <ComponentRef Id="Checker"/>
266 <ComponentRef Id="ProgramMenuDir"/>
267 </Feature>
268
269 <UI>
270 <UIRef Id="WixUI_InstallDir" />
271 <UIRef Id="WixUI_ErrorProgressText" />
272 </UI>
273
274 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
275 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
276 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
277 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
278 <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win32\License.rtf" />
279
280 <Icon Id="winicon.ico" SourceFile="..\icons\sv-winicon.ico"/>
281 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
282
283 <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win32\top.bmp"/>
284 <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win32\main.bmp"/>
285
286 </Product>
287 </Wix>
288