annotate deploy/win64/sonic-visualiser.wxs @ 1497:60d6c21aec84 3.0-integration

More of an effort at 64-bit Win installer
author Chris Cannam
date Sun, 08 Jan 2017 16:33:20 +0000
parents dc198449dc82
children ffad03335920
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@1484 8 Version="3.0.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@1484 16 Comments="Copyright (c) 2017 Queen Mary, University of London and others."
Chris@626 17 Manufacturer="Queen Mary, University of London"
Chris@626 18 InstallerVersion="100"
Chris@626 19 Languages="1033"
Chris@626 20 Compressed="yes"
Chris@626 21 SummaryCodepage="1252"/>
Chris@626 22
Chris@626 23 <MajorUpgrade DowngradeErrorMessage="A later version of Sonic Visualiser is already installed. Setup will now exit."/>
Chris@626 24
Chris@626 25 <Media Id="1" Cabinet="SonicVisualiser.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
Chris@626 26 <Property Id="DiskPrompt" Value="Sonic Visualiser Installation [1]"/>
Chris@626 27
Chris@626 28 <Directory Id="TARGETDIR" Name="SourceDir">
Chris@1497 29
Chris@626 30 <Directory Id="ProgramFilesFolder" Name="PFiles">
Chris@626 31 <Directory Id="VampPlugins" Name="Vamp Plugins">
Chris@1497 32 <Component
Chris@1497 33 Id="VampPlugins"
Chris@1497 34 Guid="E68E4E0B-3C63-49bd-AD2D-44431EABDA6A">
Chris@1497 35 <File
Chris@1497 36 Id="VampREADME"
Chris@1497 37 Name="README.txt"
Chris@1497 38 Source="..\sonic-visualiser\deploy\win64\README-Vamp32.txt"/>
Chris@1497 39 </Component>
Chris@626 40 </Directory>
Chris@1497 41 </Directory> <!-- pfiles -->
Chris@1497 42
Chris@1497 43 <Directory Id="ProgramFiles64Folder" Name="PFiles64">
Chris@1497 44 <Directory Id="VampPlugins" Name="Vamp Plugins">
Chris@1497 45 <Component
Chris@1497 46 Id="VampPlugins"
Chris@1497 47 Guid="528C7D7E-5A06-4E7D-89BB-7C16431DF82F">
Chris@1497 48 <File
Chris@1497 49 Id="VampREADME"
Chris@1497 50 Name="README.txt"
Chris@1497 51 Source="..\sonic-visualiser\deploy\win64\README-Vamp.txt"/>
Chris@1497 52 </Component>
Chris@1497 53 </Directory>
Chris@1497 54
Chris@626 55 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
Chris@1497 56 <Component
Chris@1497 57 Id="MainExecutable"
Chris@1497 58 Guid="65E1EBDF-4C8F-47B8-BCD6-981667F5946D">
Chris@1497 59
Chris@1497 60 <File
Chris@1497 61 Id="SVExecutable"
Chris@1497 62 Name="Sonic Visualiser.exe"
Chris@1497 63 Source="release\Sonic Visualiser.exe"
Chris@1497 64 KeyPath="yes">
Chris@1497 65
Chris@1497 66 <Shortcut
Chris@1497 67 Id="SVStartEntry"
Chris@1497 68 Directory="ProgramMenuDir"
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
Chris@1497 75 <Shortcut
Chris@1497 76 Id="SVDesktop"
Chris@1497 77 Directory="DesktopFolder"
Chris@1497 78 Name="Sonic Visualiser"
Chris@1497 79 WorkingDirectory="APPLICATIONFOLDER"
Chris@1497 80 Icon="winicon.ico"
Chris@1497 81 IconIndex="0"
Chris@1497 82 Advertise="yes"/>
Chris@1497 83 </File>
Chris@1497 84
Chris@1497 85 <File
Chris@1497 86 Id="COPYING"
Chris@1497 87 Name="COPYING.txt"
Chris@1497 88 Source="COPYING"/>
Chris@1497 89 <File
Chris@1497 90 Id="README"
Chris@1497 91 Name="README.txt"
Chris@1497 92 Source="README"/>
Chris@1497 93 <File
Chris@1497 94 Id="CHANGELOG"
Chris@1497 95 Name="CHANGELOG.txt"
Chris@1497 96 Source="CHANGELOG"/>
Chris@1497 97
Chris@1497 98 <File
Chris@1497 99 Id="winicon.ico"
Chris@1497 100 Name="sv-winicon.ico"
Chris@1497 101 Source="icons/sv-winicon.ico"/>
Chris@1497 102 </Component>
Chris@1497 103
Chris@1497 104 <Component
Chris@1497 105 Id="SVFileAssociation"
Chris@1497 106 Guid="F07C5CC1-0209-4C1A-8D52-C40B50A2B964">
Chris@626 107
Chris@1497 108 <ProgId
Chris@626 109 Id='SonicVisualiser.svfile'
Chris@626 110 Description='Sonic Visualiser project file'
Chris@626 111 Icon="SVExecutable">
Chris@1497 112 <Extension
Chris@626 113 Id='sv'
Chris@626 114 ContentType='application/sonicvisualiser'>
Chris@1497 115 <Verb
Chris@626 116 Id='open'
Chris@626 117 Command='Open'
Chris@626 118 TargetFile='SVExecutable'
Chris@626 119 Argument='"%1"' />
Chris@1497 120 </Extension>
Chris@1497 121 </ProgId>
Chris@1497 122
Chris@1497 123 </Component>
Chris@1497 124
Chris@1497 125 <Component
Chris@1497 126 Id="Qt5"
Chris@1497 127 Guid="5495ED5E-939A-4BE8-9000-D55F2A7A2E90">
Chris@1497 128 <File
Chris@1497 129 Id="QtCore"
Chris@1497 130 Name="Qt5Core.dll"
Chris@1497 131 Source="release\Qt5Core.dll"
Chris@1497 132 KeyPath="yes"/>
Chris@1497 133 <File
Chris@1497 134 Id="QtGui"
Chris@1497 135 Name="Qt5Gui.dll"
Chris@1497 136 Source="release\Qt5Gui.dll"/>
Chris@1497 137 <File
Chris@1497 138 Id="QtNetwork"
Chris@1497 139 Name="Qt5Network.dll"
Chris@1497 140 Source="release\Qt5Network.dll"/>
Chris@1497 141 <File
Chris@1497 142 Id="QtWidgets"
Chris@1497 143 Name="Qt5Widgets.dll"
Chris@1497 144 Source="release\Qt5Widgets.dll"/>
Chris@1497 145 <File
Chris@1497 146 Id="QtXml"
Chris@1497 147 Name="Qt5Xml.dll"
Chris@1497 148 Source="release\Qt5Xml.dll"/>
Chris@1497 149 <File
Chris@1497 150 Id="QtSvg"
Chris@1497 151 Name="Qt5Svg.dll"
Chris@1497 152 Source="release\Qt5Svg.dll"/>
Chris@1497 153 </Component>
Chris@1497 154
Chris@1497 155 <Directory Id="Platforms" Name="platforms">
Chris@1497 156 <Component
Chris@1497 157 Id="Qt5PlatformPlugins"
Chris@1497 158 Guid="1FFB773E-6D6D-4C0E-832B-F0FFEA959CA5">
Chris@1497 159 <File
Chris@1497 160 Id="qminimal"
Chris@1497 161 Name="qminimal.dll"
Chris@1497 162 Source="release\qminimal.dll"/>
Chris@1497 163 <File
Chris@1497 164 Id="qwindows"
Chris@1497 165 Name="qwindows.dll"
Chris@1497 166 Source="release\qwindows.dll"/>
Chris@626 167 </Component>
Chris@1497 168 </Directory>
Chris@1497 169
Chris@1497 170 <Directory Id="Helpers" Name="helpers">
Chris@626 171 <Component
Chris@1497 172 Id="Piper64"
Chris@1497 173 Guid="6385BD86-A5D3-4C77-AD41-B2DCA5B34E48">
Chris@1497 174 <File
Chris@1497 175 Id="piperconv64"
Chris@1497 176 Name="piper-convert.exe"
Chris@1497 177 Source="release\piper-convert.exe"/>
Chris@1497 178 <File
Chris@1497 179 Id="piper64"
Chris@1497 180 Name="piper-vamp-simple-server.exe"
Chris@1497 181 Source="release\piper-vamp-simple-server.exe"/>
Chris@1497 182 </Component>
Chris@1497 183 <Component
Chris@1497 184 Id="Piper32"
Chris@1497 185 Guid="F27A00A8-DD03-45B0-A13C-8CD8CC6F7386">
Chris@1497 186 <File
Chris@1497 187 Id="piper32"
Chris@1497 188 Name="piper-vamp-simple-server-32.exe"
Chris@1497 189 Source="release\piper-vamp-simple-server-32.exe"/>
Chris@1497 190 <File
Chris@1497 191 Id="libgcc32"
Chris@774 192 Name="libgcc_s_dw2-1.dll"
Chris@774 193 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1497 194 <File
Chris@1497 195 Id="libstdcplusplus32"
Chris@626 196 Name="libstdc++-6.dll"
Chris@626 197 Source="release\libstdc++-6.dll"/>
Chris@1497 198 <File
Chris@1497 199 Id="libwinpthread32"
Chris@626 200 Name="libwinpthread-1.dll"
Chris@626 201 Source="release\libwinpthread-1.dll"/>
Chris@1497 202 </Component>
Chris@1497 203 <Component
Chris@1497 204 Id="Checker64"
Chris@1497 205 Guid="19A400D9-D5B2-4CB5-AF84-7C1DEA11D7B5">
Chris@1497 206 <File
Chris@1497 207 Id="checker64"
Chris@1497 208 Name="plugin-checker-helper.exe"
Chris@1497 209 Source="release\plugin-checker-helper.exe"/>
Chris@1497 210 </Component>
Chris@1497 211 <Component
Chris@1497 212 Id="Checker32"
Chris@1497 213 Guid="19A400D9-D5B2-4CB5-AF84-7C1DEA11D7B5">
Chris@1497 214 <File
Chris@1497 215 Id="checker32"
Chris@1497 216 Name="plugin-checker-helper-32.exe"
Chris@1497 217 Source="release\plugin-checker-helper-32.exe"/>
Chris@1497 218 </Component>
Chris@626 219
Chris@1497 220 </Directory> <!-- helpers -->
Chris@1497 221 </Directory> <!-- sv -->
Chris@1497 222 </Directory> <!-- pfiles64 -->
Chris@626 223
Chris@626 224 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 225 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 226 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 227 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 228 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 229 </Component>
Chris@626 230 </Directory>
Chris@626 231 </Directory>
Chris@626 232
Chris@626 233 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 234
Chris@626 235 </Directory>
Chris@626 236
Chris@626 237 <Feature
Chris@1497 238 Id="Complete"
Chris@1497 239 Title="Required files"
Chris@1497 240 Description="Installs the required files for running Sonic Visualiser."
Chris@1497 241 AllowAdvertise="no"
Chris@1497 242 Absent="disallow"
Chris@1497 243 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@1497 244 Level="1">
Chris@626 245 <ComponentRef Id="VampPlugins"/>
Chris@626 246 <ComponentRef Id="MainExecutable"/>
Chris@626 247 <ComponentRef Id="SVFileAssociation"/>
Chris@626 248 <ComponentRef Id="Qt5"/>
Chris@626 249 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@1497 250 <ComponentRef Id="Piper64"/>
Chris@1497 251 <ComponentRef Id="Piper32"/>
Chris@1497 252 <ComponentRef Id="Checker64"/>
Chris@1497 253 <ComponentRef Id="Checker32"/>
Chris@626 254 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 255 </Feature>
Chris@626 256
Chris@626 257 <UI>
Chris@626 258 <UIRef Id="WixUI_InstallDir" />
Chris@626 259 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 260 </UI>
Chris@904 261
Chris@626 262 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@904 263 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
Chris@626 264 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 265 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@626 266 <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
Chris@626 267
Chris@626 268 <Icon Id="winicon.ico" SourceFile="icons/sv-winicon.ico"/>
Chris@626 269 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@1497 270
Chris@626 271 </Product>
Chris@626 272 </Wix>
Chris@626 273