annotate deploy/win32/sonic-visualiser.wxs @ 1857:0c4b19e3908c plugin-path-config

Fixes to plugin path handling
author Chris Cannam
date Mon, 11 Jun 2018 11:34:36 +0100
parents fdcd956b5d32
children 643768964863
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@1786 8 Version="3.1"
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@1786 16 Comments="Copyright (c) 2018 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@1827 38 Source="..\deploy\win32\README-Vamp.txt"/>
Chris@1503 39 </Component>
Chris@626 40 </Directory>
Chris@626 41 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
Chris@1839 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@1827 75 Source="..\COPYING"/>
Chris@1503 76 <File
Chris@1503 77 Id="README"
Chris@1503 78 Name="README.txt"
Chris@1827 79 Source="..\README.md"/>
Chris@1503 80 <File
Chris@1503 81 Id="CHANGELOG"
Chris@1503 82 Name="CHANGELOG.txt"
Chris@1827 83 Source="..\CHANGELOG"/>
Chris@626 84
Chris@1503 85 <File
Chris@1503 86 Id="winicon.ico"
Chris@1503 87 Name="sv-winicon.ico"
Chris@1827 88 Source="..\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@1839 95 <CreateFolder/>
Chris@1839 96
Chris@1503 97 <ProgId
Chris@626 98 Id='SonicVisualiser.svfile'
Chris@626 99 Description='Sonic Visualiser project file'
Chris@626 100 Icon="SVExecutable">
Chris@1503 101 <Extension
Chris@626 102 Id='sv'
Chris@626 103 ContentType='application/sonicvisualiser'>
Chris@1503 104 <Verb
Chris@626 105 Id='open'
Chris@626 106 Command='Open'
Chris@626 107 TargetFile='SVExecutable'
Chris@626 108 Argument='"%1"' />
Chris@1503 109 </Extension>
Chris@1503 110 </ProgId>
Chris@1503 111
Chris@1503 112 </Component>
Chris@1503 113
Chris@1503 114 <Component
Chris@1503 115 Id="Qt5"
Chris@1503 116 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
Chris@1503 117 <File
Chris@1503 118 Id="QtCore"
Chris@1503 119 Name="Qt5Core.dll"
Chris@1503 120 Source="release\Qt5Core.dll"
Chris@1503 121 KeyPath="yes"/>
Chris@1503 122 <File
Chris@1503 123 Id="QtGui"
Chris@1503 124 Name="Qt5Gui.dll"
Chris@1503 125 Source="release\Qt5Gui.dll"/>
Chris@1503 126 <File
Chris@1503 127 Id="QtNetwork"
Chris@1503 128 Name="Qt5Network.dll"
Chris@1503 129 Source="release\Qt5Network.dll"/>
Chris@1503 130 <File
Chris@1503 131 Id="QtWidgets"
Chris@1503 132 Name="Qt5Widgets.dll"
Chris@1503 133 Source="release\Qt5Widgets.dll"/>
Chris@1503 134 <File
Chris@1503 135 Id="QtXml"
Chris@1503 136 Name="Qt5Xml.dll"
Chris@1503 137 Source="release\Qt5Xml.dll"/>
Chris@1503 138 <File
Chris@1503 139 Id="QtSvg"
Chris@1503 140 Name="Qt5Svg.dll"
Chris@1503 141 Source="release\Qt5Svg.dll"/>
Chris@1503 142 <File
Chris@1503 143 Id="libgcc"
Chris@1503 144 Name="libgcc_s_dw2-1.dll"
Chris@1503 145 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 146 <File
Chris@1503 147 Id="libstdcplusplus"
Chris@1503 148 Name="libstdc++-6.dll"
Chris@1503 149 Source="release\libstdc++-6.dll"/>
Chris@1503 150 <File
Chris@1503 151 Id="libwinpthread"
Chris@1503 152 Name="libwinpthread-1.dll"
Chris@1503 153 Source="release\libwinpthread-1.dll"/>
Chris@1503 154 </Component>
Chris@1503 155
Chris@1503 156 <Directory Id="Platforms" Name="platforms">
Chris@1503 157 <Component
Chris@1503 158 Id="Qt5PlatformPlugins"
Chris@1503 159 Guid="1EDCEA4B-C83F-430B-B09D-CB113DFD4E77">
Chris@1503 160 <File
Chris@1503 161 Id="qminimal"
Chris@1503 162 Name="qminimal.dll"
Chris@1503 163 Source="release\qminimal.dll"/>
Chris@1503 164 <File
Chris@1503 165 Id="qwindows"
Chris@1503 166 Name="qwindows.dll"
Chris@1503 167 Source="release\qwindows.dll"/>
Chris@626 168 </Component>
Chris@1503 169 </Directory>
Chris@1503 170
Chris@1503 171 <Directory Id="Helpers" Name="helpers">
Chris@1503 172 <Component Id="Piper"
Chris@1503 173 Guid="17F2AAFF-7B7B-4F20-B345-DEF0A54A84B1">
Chris@1503 174 <File
Chris@1503 175 Id="piperconv"
Chris@1503 176 Name="piper-convert.exe"
Chris@1503 177 Source="release\piper-convert.exe"/>
Chris@1503 178 <File
Chris@1503 179 Id="piper"
Chris@1503 180 Name="piper-vamp-simple-server.exe"
Chris@1503 181 Source="release\piper-vamp-simple-server.exe"/>
Chris@1503 182 <File
Chris@1503 183 Id="libgcc32"
Chris@774 184 Name="libgcc_s_dw2-1.dll"
Chris@774 185 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 186 <File
Chris@1503 187 Id="libstdcplusplus32"
Chris@626 188 Name="libstdc++-6.dll"
Chris@626 189 Source="release\libstdc++-6.dll"/>
Chris@1503 190 <File
Chris@1503 191 Id="libwinpthread32"
Chris@626 192 Name="libwinpthread-1.dll"
Chris@626 193 Source="release\libwinpthread-1.dll"/>
Chris@1503 194 </Component>
Chris@1503 195 <Component Id="Checker"
Chris@1503 196 Guid="DB09B035-0594-4876-B494-4D25CED43601">
Chris@1503 197 <File
Chris@1503 198 Id="checker"
Chris@1503 199 Name="vamp-plugin-load-checker.exe"
Chris@1503 200 Source="release\vamp-plugin-load-checker.exe"/>
Chris@1503 201 </Component>
Chris@1503 202 </Directory> <!-- helpers -->
Chris@1503 203 </Directory> <!-- sv -->
Chris@1503 204 </Directory> <!-- pfiles -->
Chris@626 205
Chris@626 206 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 207 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 208 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 209 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 210 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 211 </Component>
Chris@626 212 </Directory>
Chris@626 213 </Directory>
Chris@626 214
Chris@626 215 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 216
Chris@626 217 </Directory>
Chris@626 218
Chris@626 219 <Feature
Chris@1503 220 Id="Complete"
Chris@1503 221 Title="Required files"
Chris@1503 222 Description="Installs the required files for running Sonic Visualiser."
Chris@1503 223 AllowAdvertise="no"
Chris@1503 224 Absent="disallow"
Chris@1503 225 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@1503 226 Level="1">
Chris@626 227 <ComponentRef Id="VampPlugins"/>
Chris@626 228 <ComponentRef Id="MainExecutable"/>
Chris@626 229 <ComponentRef Id="SVFileAssociation"/>
Chris@626 230 <ComponentRef Id="Qt5"/>
Chris@626 231 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@1503 232 <ComponentRef Id="Piper"/>
Chris@1503 233 <ComponentRef Id="Checker"/>
Chris@626 234 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 235 </Feature>
Chris@626 236
Chris@626 237 <UI>
Chris@626 238 <UIRef Id="WixUI_InstallDir" />
Chris@626 239 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 240 </UI>
Chris@904 241
Chris@626 242 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@904 243 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
Chris@626 244 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 245 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@1827 246 <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win32\License.rtf" />
Chris@626 247
Chris@1827 248 <Icon Id="winicon.ico" SourceFile="..\icons\sv-winicon.ico"/>
Chris@626 249 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@1827 250
Chris@1827 251 <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win32\top.bmp"/>
Chris@1827 252 <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win32\main.bmp"/>
Chris@1591 253
Chris@626 254 </Product>
Chris@626 255 </Wix>
Chris@626 256