annotate deploy/win32/sonic-visualiser.wxs @ 845:da43c4461f9e

Respond tidily to user cancellation during download, instead of going on to attempt to load the nonexistent file as a non-audio format
author Chris Cannam
date Tue, 09 Sep 2014 16:52:24 +0100
parents d8ad6422c854
children 4a7c62938a13 cfbea29fae64
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@774 8 Version="2.3.90"
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@626 15 Description="Sonic Visualiser Installer"
Chris@774 16 Comments="Copyright (c) 2014 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@626 29 <Directory Id="ProgramFilesFolder" Name="PFiles">
Chris@626 30 <Directory Id="VampPlugins" Name="Vamp Plugins">
Chris@626 31 <Component
Chris@626 32 Id="VampPlugins"
Chris@626 33 Guid="E68E4E0B-3C63-49bd-AD2D-44431EABDA6A">
Chris@626 34 <File
Chris@626 35 Id="VampREADME"
Chris@626 36 Name="README.txt"
Chris@626 37 DiskId="1"
Chris@626 38 Source="deploy\win32\README-Vamp.txt"/>
Chris@626 39 </Component>
Chris@626 40 </Directory>
Chris@626 41 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
Chris@626 42
Chris@626 43 <Component
Chris@626 44 Id="MainExecutable"
Chris@626 45 Guid="2C02DFB7-3CDF-4F73-B9D1-846326EE417D">
Chris@626 46
Chris@626 47 <File
Chris@626 48 Id="SVExecutable"
Chris@626 49 Name="Sonic Visualiser.exe"
Chris@626 50 DiskId="1"
Chris@626 51 Source="release\Sonic Visualiser.exe"
Chris@626 52 KeyPath="yes">
Chris@626 53
Chris@626 54 <Shortcut
Chris@626 55 Id="SVStartEntry"
Chris@626 56 Directory="ProgramMenuDir"
Chris@626 57 Name="Sonic Visualiser"
Chris@626 58 WorkingDirectory="APPLICATIONFOLDER"
Chris@626 59 Icon="winicon.ico"
Chris@626 60 IconIndex="0"
Chris@626 61 Advertise="yes"/>
Chris@626 62
Chris@626 63 <Shortcut
Chris@626 64 Id="SVDesktop"
Chris@626 65 Directory="DesktopFolder"
Chris@626 66 Name="Sonic Visualiser"
Chris@626 67 WorkingDirectory="APPLICATIONFOLDER"
Chris@626 68 Icon="winicon.ico"
Chris@626 69 IconIndex="0"
Chris@626 70 Advertise="yes"/>
Chris@626 71 </File>
Chris@626 72
Chris@626 73 <File
Chris@626 74 Id="COPYING"
Chris@626 75 Name="COPYING"
Chris@626 76 DiskId="1"
Chris@626 77 Source="COPYING"/>
Chris@626 78 <File
Chris@626 79 Id="README"
Chris@626 80 Name="README"
Chris@626 81 DiskId="1"
Chris@626 82 Source="README"/>
Chris@626 83 <File
Chris@626 84 Id="CHANGELOG"
Chris@626 85 Name="CHANGELOG"
Chris@626 86 DiskId="1"
Chris@626 87 Source="CHANGELOG"/>
Chris@626 88
Chris@626 89 <File
Chris@626 90 Id="winicon.ico"
Chris@626 91 Name="sv-winicon.ico"
Chris@626 92 DiskId="1"
Chris@626 93 Source="icons/sv-winicon.ico"/>
Chris@626 94 </Component>
Chris@626 95
Chris@626 96 <Component
Chris@626 97 Id="SVFileAssociation"
Chris@626 98 Guid="DC6B3DD1-46DE-47FC-90FB-D8ACD5D1A88A">
Chris@626 99
Chris@626 100 <ProgId
Chris@626 101 Id='SonicVisualiser.svfile'
Chris@626 102 Description='Sonic Visualiser project file'
Chris@626 103 Icon="SVExecutable">
Chris@626 104 <Extension
Chris@626 105 Id='sv'
Chris@626 106 ContentType='application/sonicvisualiser'>
Chris@626 107 <Verb
Chris@626 108 Id='open'
Chris@626 109 Command='Open'
Chris@626 110 TargetFile='SVExecutable'
Chris@626 111 Argument='"%1"' />
Chris@626 112 </Extension>
Chris@626 113 </ProgId>
Chris@626 114
Chris@626 115 </Component>
Chris@626 116
Chris@626 117 <Component
Chris@626 118 Id="Qt5"
Chris@626 119 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
Chris@626 120 <File
Chris@626 121 Id="QtCore"
Chris@626 122 Name="Qt5Core.dll"
Chris@626 123 DiskId="1"
Chris@626 124 Source="release\Qt5Core.dll"
Chris@626 125 KeyPath="yes"/>
Chris@626 126 <File
Chris@626 127 Id="QtGui"
Chris@626 128 Name="Qt5Gui.dll"
Chris@626 129 DiskId="1"
Chris@626 130 Source="release\Qt5Gui.dll"/>
Chris@626 131 <File
Chris@626 132 Id="QtNetwork"
Chris@626 133 Name="Qt5Network.dll"
Chris@626 134 DiskId="1"
Chris@626 135 Source="release\Qt5Network.dll"/>
Chris@626 136 <File
Chris@626 137 Id="QtWidgets"
Chris@626 138 Name="Qt5Widgets.dll"
Chris@626 139 DiskId="1"
Chris@626 140 Source="release\Qt5Widgets.dll"/>
Chris@626 141 <File
Chris@626 142 Id="QtXml"
Chris@626 143 Name="Qt5Xml.dll"
Chris@626 144 DiskId="1"
Chris@626 145 Source="release\Qt5Xml.dll"/>
Chris@626 146 <File
Chris@774 147 Id="icudt52"
Chris@774 148 Name="icudt52.dll"
Chris@626 149 DiskId="1"
Chris@774 150 Source="release\icudt52.dll"/>
Chris@626 151 <File
Chris@774 152 Id="icuin52"
Chris@774 153 Name="icuin52.dll"
Chris@626 154 DiskId="1"
Chris@774 155 Source="release\icuin52.dll"/>
Chris@626 156 <File
Chris@774 157 Id="icuuc52"
Chris@774 158 Name="icuuc52.dll"
Chris@626 159 DiskId="1"
Chris@774 160 Source="release\icuuc52.dll"/>
Chris@626 161 <File
Chris@626 162 Id="libgcc"
Chris@774 163 Name="libgcc_s_dw2-1.dll"
Chris@626 164 DiskId="1"
Chris@774 165 Source="release\libgcc_s_dw2-1.dll"/>
Chris@626 166 <File
Chris@626 167 Id="libstdcplusplus"
Chris@626 168 Name="libstdc++-6.dll"
Chris@626 169 DiskId="1"
Chris@626 170 Source="release\libstdc++-6.dll"/>
Chris@626 171 <File
Chris@626 172 Id="libwinpthread"
Chris@626 173 Name="libwinpthread-1.dll"
Chris@626 174 DiskId="1"
Chris@626 175 Source="release\libwinpthread-1.dll"/>
Chris@626 176 </Component>
Chris@626 177
Chris@626 178 <Directory Id="Platforms" Name="platforms">
Chris@626 179 <Component
Chris@626 180 Id="Qt5PlatformPlugins"
Chris@626 181 Guid="1EDCEA4B-C83F-430B-B09D-CB113DFD4E77">
Chris@626 182 <File
Chris@626 183 Id="qminimal"
Chris@626 184 Name="qminimal.dll"
Chris@626 185 DiskId="1"
Chris@626 186 Source="release\qminimal.dll"/>
Chris@626 187 <File
Chris@626 188 Id="qwindows"
Chris@626 189 Name="qwindows.dll"
Chris@626 190 DiskId="1"
Chris@626 191 Source="release\qwindows.dll"/>
Chris@626 192 </Component>
Chris@626 193 </Directory>
Chris@626 194
Chris@626 195 </Directory>
Chris@626 196 </Directory>
Chris@626 197
Chris@626 198 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 199 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 200 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 201 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 202 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 203 </Component>
Chris@626 204 </Directory>
Chris@626 205 </Directory>
Chris@626 206
Chris@626 207 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 208
Chris@626 209 </Directory>
Chris@626 210
Chris@626 211 <Feature
Chris@626 212 Id="Complete"
Chris@626 213 Title="Required files"
Chris@626 214 Description="Installs the required files for running Sonic Visualiser."
Chris@626 215 AllowAdvertise="no"
Chris@626 216 Absent="disallow"
Chris@626 217 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@626 218 Level="1">
Chris@626 219 <ComponentRef Id="VampPlugins"/>
Chris@626 220 <ComponentRef Id="MainExecutable"/>
Chris@626 221 <ComponentRef Id="SVFileAssociation"/>
Chris@626 222 <ComponentRef Id="Qt5"/>
Chris@626 223 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@626 224 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 225 </Feature>
Chris@626 226
Chris@626 227 <UI>
Chris@626 228 <UIRef Id="WixUI_InstallDir" />
Chris@626 229 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 230 </UI>
Chris@626 231
Chris@626 232 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@626 233 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 234 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@626 235 <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
Chris@626 236
Chris@626 237 <Icon Id="winicon.ico" SourceFile="icons/sv-winicon.ico"/>
Chris@626 238 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@626 239
Chris@626 240 </Product>
Chris@626 241 </Wix>
Chris@626 242