annotate deploy/win64/sonic-visualiser.wxs.in @ 2576:1799e90689b5

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