annotate deploy/win64/sonic-visualiser.wxs @ 2409:90da8fead949 sv_v4.0

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