annotate deploy/win32/sonic-visualiser.wxs @ 1564:c4be12f665a8

Measure time taken to render per pixel, and use the time last time around to decide whether to be time constrained this time around
author Chris Cannam
date Thu, 26 Jan 2017 11:55:11 +0000
parents 49634cb5f558
children 9ed29d67c10e
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@1503 15 Description="Sonic Visualiser 32-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@1503 29
Chris@626 30 <Directory Id="ProgramFilesFolder" Name="PFiles">
Chris@626 31 <Directory Id="VampPlugins" Name="Vamp Plugins">
Chris@1503 32 <Component
Chris@1503 33 Id="VampPlugins"
Chris@1503 34 Guid="E68E4E0B-3C63-49bd-AD2D-44431EABDA6A">
Chris@1503 35 <File
Chris@1503 36 Id="VampREADME"
Chris@1503 37 Name="README.txt"
Chris@1504 38 Source="..\sonic-visualiser\deploy\win32\README-Vamp.txt"/>
Chris@1503 39 </Component>
Chris@626 40 </Directory>
Chris@626 41 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
Chris@1503 42
Chris@1503 43 <Component
Chris@1503 44 Id="MainExecutable"
Chris@1503 45 Guid="2C02DFB7-3CDF-4F73-B9D1-846326EE417D">
Chris@626 46
Chris@1503 47 <File
Chris@1503 48 Id="SVExecutable"
Chris@1503 49 Name="Sonic Visualiser.exe"
Chris@1503 50 Source="release\Sonic Visualiser.exe"
Chris@1503 51 KeyPath="yes">
Chris@626 52
Chris@1503 53 <Shortcut
Chris@1503 54 Id="SVStartEntry"
Chris@1503 55 Directory="ProgramMenuDir"
Chris@1503 56 Name="Sonic Visualiser"
Chris@1503 57 WorkingDirectory="APPLICATIONFOLDER"
Chris@1503 58 Icon="winicon.ico"
Chris@1503 59 IconIndex="0"
Chris@1503 60 Advertise="yes"/>
Chris@626 61
Chris@1503 62 <Shortcut
Chris@1503 63 Id="SVDesktop"
Chris@1503 64 Directory="DesktopFolder"
Chris@1503 65 Name="Sonic Visualiser"
Chris@1503 66 WorkingDirectory="APPLICATIONFOLDER"
Chris@1503 67 Icon="winicon.ico"
Chris@1503 68 IconIndex="0"
Chris@1503 69 Advertise="yes"/>
Chris@1503 70 </File>
Chris@626 71
Chris@1503 72 <File
Chris@1503 73 Id="COPYING"
Chris@1503 74 Name="COPYING.txt"
Chris@1504 75 Source="..\sonic-visualiser\COPYING"/>
Chris@1503 76 <File
Chris@1503 77 Id="README"
Chris@1503 78 Name="README.txt"
Chris@1504 79 Source="..\sonic-visualiser\README"/>
Chris@1503 80 <File
Chris@1503 81 Id="CHANGELOG"
Chris@1503 82 Name="CHANGELOG.txt"
Chris@1504 83 Source="..\sonic-visualiser\CHANGELOG"/>
Chris@626 84
Chris@1503 85 <File
Chris@1503 86 Id="winicon.ico"
Chris@1503 87 Name="sv-winicon.ico"
Chris@1504 88 Source="..\sonic-visualiser\icons/sv-winicon.ico"/>
Chris@1503 89 </Component>
Chris@1503 90
Chris@1503 91 <Component
Chris@626 92 Id="SVFileAssociation"
Chris@626 93 Guid="DC6B3DD1-46DE-47FC-90FB-D8ACD5D1A88A">
Chris@1503 94
Chris@1503 95 <ProgId
Chris@626 96 Id='SonicVisualiser.svfile'
Chris@626 97 Description='Sonic Visualiser project file'
Chris@626 98 Icon="SVExecutable">
Chris@1503 99 <Extension
Chris@626 100 Id='sv'
Chris@626 101 ContentType='application/sonicvisualiser'>
Chris@1503 102 <Verb
Chris@626 103 Id='open'
Chris@626 104 Command='Open'
Chris@626 105 TargetFile='SVExecutable'
Chris@626 106 Argument='"%1"' />
Chris@1503 107 </Extension>
Chris@1503 108 </ProgId>
Chris@1503 109
Chris@1503 110 </Component>
Chris@1503 111
Chris@1503 112 <Component
Chris@1503 113 Id="Qt5"
Chris@1503 114 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
Chris@1503 115 <File
Chris@1503 116 Id="QtCore"
Chris@1503 117 Name="Qt5Core.dll"
Chris@1503 118 Source="release\Qt5Core.dll"
Chris@1503 119 KeyPath="yes"/>
Chris@1503 120 <File
Chris@1503 121 Id="QtGui"
Chris@1503 122 Name="Qt5Gui.dll"
Chris@1503 123 Source="release\Qt5Gui.dll"/>
Chris@1503 124 <File
Chris@1503 125 Id="QtNetwork"
Chris@1503 126 Name="Qt5Network.dll"
Chris@1503 127 Source="release\Qt5Network.dll"/>
Chris@1503 128 <File
Chris@1503 129 Id="QtWidgets"
Chris@1503 130 Name="Qt5Widgets.dll"
Chris@1503 131 Source="release\Qt5Widgets.dll"/>
Chris@1503 132 <File
Chris@1503 133 Id="QtXml"
Chris@1503 134 Name="Qt5Xml.dll"
Chris@1503 135 Source="release\Qt5Xml.dll"/>
Chris@1503 136 <File
Chris@1503 137 Id="QtSvg"
Chris@1503 138 Name="Qt5Svg.dll"
Chris@1503 139 Source="release\Qt5Svg.dll"/>
Chris@1503 140 <File
Chris@1503 141 Id="libgcc"
Chris@1503 142 Name="libgcc_s_dw2-1.dll"
Chris@1503 143 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 144 <File
Chris@1503 145 Id="libstdcplusplus"
Chris@1503 146 Name="libstdc++-6.dll"
Chris@1503 147 Source="release\libstdc++-6.dll"/>
Chris@1503 148 <File
Chris@1503 149 Id="libwinpthread"
Chris@1503 150 Name="libwinpthread-1.dll"
Chris@1503 151 Source="release\libwinpthread-1.dll"/>
Chris@1503 152 </Component>
Chris@1503 153
Chris@1503 154 <Directory Id="Platforms" Name="platforms">
Chris@1503 155 <Component
Chris@1503 156 Id="Qt5PlatformPlugins"
Chris@1503 157 Guid="1EDCEA4B-C83F-430B-B09D-CB113DFD4E77">
Chris@1503 158 <File
Chris@1503 159 Id="qminimal"
Chris@1503 160 Name="qminimal.dll"
Chris@1503 161 Source="release\qminimal.dll"/>
Chris@1503 162 <File
Chris@1503 163 Id="qwindows"
Chris@1503 164 Name="qwindows.dll"
Chris@1503 165 Source="release\qwindows.dll"/>
Chris@626 166 </Component>
Chris@1503 167 </Directory>
Chris@1503 168
Chris@1503 169 <Directory Id="Helpers" Name="helpers">
Chris@1503 170 <Component Id="Piper"
Chris@1503 171 Guid="17F2AAFF-7B7B-4F20-B345-DEF0A54A84B1">
Chris@1503 172 <File
Chris@1503 173 Id="piperconv"
Chris@1503 174 Name="piper-convert.exe"
Chris@1503 175 Source="release\piper-convert.exe"/>
Chris@1503 176 <File
Chris@1503 177 Id="piper"
Chris@1503 178 Name="piper-vamp-simple-server.exe"
Chris@1503 179 Source="release\piper-vamp-simple-server.exe"/>
Chris@1503 180 <File
Chris@1503 181 Id="libgcc32"
Chris@774 182 Name="libgcc_s_dw2-1.dll"
Chris@774 183 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 184 <File
Chris@1503 185 Id="libstdcplusplus32"
Chris@626 186 Name="libstdc++-6.dll"
Chris@626 187 Source="release\libstdc++-6.dll"/>
Chris@1503 188 <File
Chris@1503 189 Id="libwinpthread32"
Chris@626 190 Name="libwinpthread-1.dll"
Chris@626 191 Source="release\libwinpthread-1.dll"/>
Chris@1503 192 </Component>
Chris@1503 193 <Component Id="Checker"
Chris@1503 194 Guid="DB09B035-0594-4876-B494-4D25CED43601">
Chris@1503 195 <File
Chris@1503 196 Id="checker"
Chris@1503 197 Name="vamp-plugin-load-checker.exe"
Chris@1503 198 Source="release\vamp-plugin-load-checker.exe"/>
Chris@1503 199 </Component>
Chris@1503 200 </Directory> <!-- helpers -->
Chris@1503 201 </Directory> <!-- sv -->
Chris@1503 202 </Directory> <!-- pfiles -->
Chris@626 203
Chris@626 204 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 205 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 206 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 207 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 208 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 209 </Component>
Chris@626 210 </Directory>
Chris@626 211 </Directory>
Chris@626 212
Chris@626 213 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 214
Chris@626 215 </Directory>
Chris@626 216
Chris@626 217 <Feature
Chris@1503 218 Id="Complete"
Chris@1503 219 Title="Required files"
Chris@1503 220 Description="Installs the required files for running Sonic Visualiser."
Chris@1503 221 AllowAdvertise="no"
Chris@1503 222 Absent="disallow"
Chris@1503 223 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@1503 224 Level="1">
Chris@626 225 <ComponentRef Id="VampPlugins"/>
Chris@626 226 <ComponentRef Id="MainExecutable"/>
Chris@626 227 <ComponentRef Id="SVFileAssociation"/>
Chris@626 228 <ComponentRef Id="Qt5"/>
Chris@626 229 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@1503 230 <ComponentRef Id="Piper"/>
Chris@1503 231 <ComponentRef Id="Checker"/>
Chris@626 232 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 233 </Feature>
Chris@626 234
Chris@626 235 <UI>
Chris@626 236 <UIRef Id="WixUI_InstallDir" />
Chris@626 237 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 238 </UI>
Chris@904 239
Chris@626 240 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@904 241 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
Chris@626 242 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 243 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@626 244 <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
Chris@626 245
Chris@1504 246 <Icon Id="winicon.ico" SourceFile="..\sonic-visualiser\icons\sv-winicon.ico"/>
Chris@626 247 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@1503 248
Chris@626 249 </Product>
Chris@626 250 </Wix>
Chris@626 251