annotate deploy/win64/sonic-visualiser.wxs @ 1786:49e9bacd0924

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