annotate 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
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@1503 17 Description="Sonic Visualiser 32-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@626 20 InstallerVersion="100"
Chris@626 21 Languages="1033"
Chris@626 22 Compressed="yes"
Chris@626 23 SummaryCodepage="1252"/>
Chris@626 24
Chris@626 25 <MajorUpgrade DowngradeErrorMessage="A later version of Sonic Visualiser is already installed. Setup will now exit."/>
Chris@626 26
Chris@626 27 <Media Id="1" Cabinet="SonicVisualiser.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
Chris@626 28 <Property Id="DiskPrompt" Value="Sonic Visualiser Installation [1]"/>
Chris@626 29
Chris@626 30 <Directory Id="TARGETDIR" Name="SourceDir">
Chris@1503 31
Chris@626 32 <Directory Id="ProgramFilesFolder" Name="PFiles">
Chris@626 33 <Directory Id="VampPlugins" Name="Vamp Plugins">
Chris@1503 34 <Component
Chris@1503 35 Id="VampPlugins"
Chris@1503 36 Guid="E68E4E0B-3C63-49bd-AD2D-44431EABDA6A">
Chris@1503 37 <File
Chris@1503 38 Id="VampREADME"
Chris@1503 39 Name="README.txt"
Chris@1827 40 Source="..\deploy\win32\README-Vamp.txt"/>
Chris@1503 41 </Component>
Chris@626 42 </Directory>
Chris@626 43 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
Chris@1839 44
Chris@1503 45 <Component
Chris@1503 46 Id="MainExecutable"
Chris@1503 47 Guid="2C02DFB7-3CDF-4F73-B9D1-846326EE417D">
Chris@626 48
Chris@1503 49 <File
Chris@1503 50 Id="SVExecutable"
Chris@1503 51 Name="Sonic Visualiser.exe"
Chris@1503 52 Source="release\Sonic Visualiser.exe"
Chris@1503 53 KeyPath="yes">
Chris@626 54
Chris@1503 55 <Shortcut
Chris@1503 56 Id="SVStartEntry"
Chris@1503 57 Directory="ProgramMenuDir"
Chris@1503 58 Name="Sonic Visualiser"
Chris@1503 59 WorkingDirectory="APPLICATIONFOLDER"
Chris@1503 60 Icon="winicon.ico"
Chris@1503 61 IconIndex="0"
Chris@1503 62 Advertise="yes"/>
Chris@626 63
Chris@1503 64 <Shortcut
Chris@1503 65 Id="SVDesktop"
Chris@1503 66 Directory="DesktopFolder"
Chris@1503 67 Name="Sonic Visualiser"
Chris@1503 68 WorkingDirectory="APPLICATIONFOLDER"
Chris@1503 69 Icon="winicon.ico"
Chris@1503 70 IconIndex="0"
Chris@1503 71 Advertise="yes"/>
Chris@1503 72 </File>
Chris@626 73
Chris@1503 74 <File
Chris@1503 75 Id="COPYING"
Chris@1503 76 Name="COPYING.txt"
Chris@1827 77 Source="..\COPYING"/>
Chris@1503 78 <File
Chris@1503 79 Id="README"
Chris@1503 80 Name="README.txt"
Chris@1827 81 Source="..\README.md"/>
Chris@1503 82 <File
Chris@1503 83 Id="CHANGELOG"
Chris@1503 84 Name="CHANGELOG.txt"
Chris@1827 85 Source="..\CHANGELOG"/>
Chris@2217 86 <File
Chris@2217 87 Id="CITATION"
Chris@2217 88 Name="CITATION.txt"
Chris@2217 89 Source="..\CITATION"/>
Chris@626 90
Chris@1503 91 <File
Chris@1503 92 Id="winicon.ico"
Chris@1503 93 Name="sv-winicon.ico"
Chris@1827 94 Source="..\icons/sv-winicon.ico"/>
Chris@1503 95 </Component>
Chris@1503 96
Chris@1503 97 <Component
Chris@626 98 Id="SVFileAssociation"
Chris@626 99 Guid="DC6B3DD1-46DE-47FC-90FB-D8ACD5D1A88A">
Chris@1503 100
Chris@1839 101 <CreateFolder/>
Chris@1839 102
Chris@1503 103 <ProgId
Chris@626 104 Id='SonicVisualiser.svfile'
Chris@626 105 Description='Sonic Visualiser project file'
Chris@626 106 Icon="SVExecutable">
Chris@1503 107 <Extension
Chris@626 108 Id='sv'
Chris@626 109 ContentType='application/sonicvisualiser'>
Chris@1503 110 <Verb
Chris@626 111 Id='open'
Chris@626 112 Command='Open'
Chris@626 113 TargetFile='SVExecutable'
Chris@626 114 Argument='"%1"' />
Chris@1503 115 </Extension>
Chris@1503 116 </ProgId>
Chris@1503 117
Chris@1503 118 </Component>
Chris@1503 119
Chris@1503 120 <Component
Chris@1503 121 Id="Qt5"
Chris@1503 122 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
Chris@1503 123 <File
Chris@1503 124 Id="QtCore"
Chris@1503 125 Name="Qt5Core.dll"
Chris@1503 126 Source="release\Qt5Core.dll"
Chris@1503 127 KeyPath="yes"/>
Chris@1503 128 <File
Chris@1503 129 Id="QtGui"
Chris@1503 130 Name="Qt5Gui.dll"
Chris@1503 131 Source="release\Qt5Gui.dll"/>
Chris@1503 132 <File
Chris@1503 133 Id="QtNetwork"
Chris@1503 134 Name="Qt5Network.dll"
Chris@1503 135 Source="release\Qt5Network.dll"/>
Chris@1503 136 <File
Chris@1503 137 Id="QtWidgets"
Chris@1503 138 Name="Qt5Widgets.dll"
Chris@1503 139 Source="release\Qt5Widgets.dll"/>
Chris@1503 140 <File
Chris@1503 141 Id="QtXml"
Chris@1503 142 Name="Qt5Xml.dll"
Chris@1503 143 Source="release\Qt5Xml.dll"/>
Chris@1503 144 <File
Chris@1503 145 Id="QtSvg"
Chris@1503 146 Name="Qt5Svg.dll"
Chris@1503 147 Source="release\Qt5Svg.dll"/>
Chris@1503 148 <File
Chris@1503 149 Id="libgcc"
Chris@1503 150 Name="libgcc_s_dw2-1.dll"
Chris@1503 151 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 152 <File
Chris@1503 153 Id="libstdcplusplus"
Chris@1503 154 Name="libstdc++-6.dll"
Chris@1503 155 Source="release\libstdc++-6.dll"/>
Chris@1503 156 <File
Chris@1503 157 Id="libwinpthread"
Chris@1503 158 Name="libwinpthread-1.dll"
Chris@1503 159 Source="release\libwinpthread-1.dll"/>
Chris@1503 160 </Component>
Chris@2448 161
Chris@2448 162 <Component Id="OpenSSL"
Chris@2448 163 Guid="dd5a0ca6-7b8d-4ecb-ae43-589c6e24b8b7">
Chris@2448 164 <File
Chris@2448 165 Id="libeay32"
Chris@2448 166 Name="libeay32.dll"
Chris@2448 167 Source="c:\OpenSSL-Win32\bin\libeay32.dll"
Chris@2448 168 KeyPath="yes"/>
Chris@2448 169 <File
Chris@2448 170 Id="ssleay32"
Chris@2448 171 Name="ssleay32.dll"
Chris@2448 172 Source="c:\OpenSSL-Win32\bin\ssleay32.dll"/>
Chris@2448 173 </Component>
Chris@1503 174
Chris@1503 175 <Directory Id="Platforms" Name="platforms">
Chris@1503 176 <Component
Chris@1503 177 Id="Qt5PlatformPlugins"
Chris@1503 178 Guid="1EDCEA4B-C83F-430B-B09D-CB113DFD4E77">
Chris@1503 179 <File
Chris@1503 180 Id="qminimal"
Chris@1503 181 Name="qminimal.dll"
Chris@1503 182 Source="release\qminimal.dll"/>
Chris@1503 183 <File
Chris@1503 184 Id="qwindows"
Chris@1503 185 Name="qwindows.dll"
Chris@1503 186 Source="release\qwindows.dll"/>
Chris@1896 187 </Component>
Chris@1896 188 </Directory>
Chris@1896 189
Chris@1896 190 <Directory Id="Styles" Name="styles">
Chris@1896 191 <Component
Chris@1896 192 Id="Qt5StylePlugins"
Chris@1896 193 Guid="049AD156-CBC3-457A-980F-3C01FF89C054">
Chris@1891 194 <File
Chris@1891 195 Id="qwindowsvistastyle"
Chris@1891 196 Name="qwindowsvistastyle.dll"
Chris@1891 197 Source="release\qwindowsvistastyle.dll"/>
Chris@626 198 </Component>
Chris@1503 199 </Directory>
Chris@1503 200
Chris@1503 201 <Directory Id="Helpers" Name="helpers">
Chris@1503 202 <Component Id="Piper"
Chris@1503 203 Guid="17F2AAFF-7B7B-4F20-B345-DEF0A54A84B1">
Chris@1503 204 <File
Chris@1503 205 Id="piperconv"
Chris@1503 206 Name="piper-convert.exe"
Chris@1503 207 Source="release\piper-convert.exe"/>
Chris@1503 208 <File
Chris@1503 209 Id="piper"
Chris@1503 210 Name="piper-vamp-simple-server.exe"
Chris@1503 211 Source="release\piper-vamp-simple-server.exe"/>
Chris@1503 212 <File
Chris@1503 213 Id="libgcc32"
Chris@774 214 Name="libgcc_s_dw2-1.dll"
Chris@774 215 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 216 <File
Chris@1503 217 Id="libstdcplusplus32"
Chris@626 218 Name="libstdc++-6.dll"
Chris@626 219 Source="release\libstdc++-6.dll"/>
Chris@1503 220 <File
Chris@1503 221 Id="libwinpthread32"
Chris@626 222 Name="libwinpthread-1.dll"
Chris@626 223 Source="release\libwinpthread-1.dll"/>
Chris@1503 224 </Component>
Chris@1503 225 <Component Id="Checker"
Chris@1503 226 Guid="DB09B035-0594-4876-B494-4D25CED43601">
Chris@1503 227 <File
Chris@1503 228 Id="checker"
Chris@1503 229 Name="vamp-plugin-load-checker.exe"
Chris@1503 230 Source="release\vamp-plugin-load-checker.exe"/>
Chris@1503 231 </Component>
Chris@1503 232 </Directory> <!-- helpers -->
Chris@1503 233 </Directory> <!-- sv -->
Chris@1503 234 </Directory> <!-- pfiles -->
Chris@626 235
Chris@626 236 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 237 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 238 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 239 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 240 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 241 </Component>
Chris@626 242 </Directory>
Chris@626 243 </Directory>
Chris@626 244
Chris@626 245 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 246
Chris@626 247 </Directory>
Chris@626 248
Chris@626 249 <Feature
Chris@1503 250 Id="Complete"
Chris@1503 251 Title="Required files"
Chris@1503 252 Description="Installs the required files for running Sonic Visualiser."
Chris@1503 253 AllowAdvertise="no"
Chris@1503 254 Absent="disallow"
Chris@1503 255 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@1503 256 Level="1">
Chris@626 257 <ComponentRef Id="VampPlugins"/>
Chris@626 258 <ComponentRef Id="MainExecutable"/>
Chris@626 259 <ComponentRef Id="SVFileAssociation"/>
Chris@626 260 <ComponentRef Id="Qt5"/>
Chris@626 261 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@1896 262 <ComponentRef Id="Qt5StylePlugins"/>
Chris@2448 263 <ComponentRef Id="OpenSSL"/>
Chris@1503 264 <ComponentRef Id="Piper"/>
Chris@1503 265 <ComponentRef Id="Checker"/>
Chris@626 266 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 267 </Feature>
Chris@626 268
Chris@626 269 <UI>
Chris@626 270 <UIRef Id="WixUI_InstallDir" />
Chris@626 271 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 272 </UI>
Chris@904 273
Chris@626 274 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@904 275 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
Chris@626 276 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 277 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@1827 278 <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win32\License.rtf" />
Chris@626 279
Chris@1827 280 <Icon Id="winicon.ico" SourceFile="..\icons\sv-winicon.ico"/>
Chris@626 281 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@1827 282
Chris@1827 283 <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win32\top.bmp"/>
Chris@1827 284 <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win32\main.bmp"/>
Chris@1591 285
Chris@626 286 </Product>
Chris@626 287 </Wix>
Chris@626 288