annotate deploy/win32/sonic-visualiser.wxs @ 1930:4e43b07eb84d

Use openLocalFolder for this; + update subdir to wait for xdg-open completion (as it used to do with previous process call)
author Chris Cannam
date Tue, 03 Jul 2018 15:36:27 +0100
parents d06c8628c5e2
children 6757ed564f86
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@1896 168 </Component>
Chris@1896 169 </Directory>
Chris@1896 170
Chris@1896 171 <Directory Id="Styles" Name="styles">
Chris@1896 172 <Component
Chris@1896 173 Id="Qt5StylePlugins"
Chris@1896 174 Guid="049AD156-CBC3-457A-980F-3C01FF89C054">
Chris@1891 175 <File
Chris@1891 176 Id="qwindowsvistastyle"
Chris@1891 177 Name="qwindowsvistastyle.dll"
Chris@1891 178 Source="release\qwindowsvistastyle.dll"/>
Chris@626 179 </Component>
Chris@1503 180 </Directory>
Chris@1503 181
Chris@1503 182 <Directory Id="Helpers" Name="helpers">
Chris@1503 183 <Component Id="Piper"
Chris@1503 184 Guid="17F2AAFF-7B7B-4F20-B345-DEF0A54A84B1">
Chris@1503 185 <File
Chris@1503 186 Id="piperconv"
Chris@1503 187 Name="piper-convert.exe"
Chris@1503 188 Source="release\piper-convert.exe"/>
Chris@1503 189 <File
Chris@1503 190 Id="piper"
Chris@1503 191 Name="piper-vamp-simple-server.exe"
Chris@1503 192 Source="release\piper-vamp-simple-server.exe"/>
Chris@1503 193 <File
Chris@1503 194 Id="libgcc32"
Chris@774 195 Name="libgcc_s_dw2-1.dll"
Chris@774 196 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 197 <File
Chris@1503 198 Id="libstdcplusplus32"
Chris@626 199 Name="libstdc++-6.dll"
Chris@626 200 Source="release\libstdc++-6.dll"/>
Chris@1503 201 <File
Chris@1503 202 Id="libwinpthread32"
Chris@626 203 Name="libwinpthread-1.dll"
Chris@626 204 Source="release\libwinpthread-1.dll"/>
Chris@1503 205 </Component>
Chris@1503 206 <Component Id="Checker"
Chris@1503 207 Guid="DB09B035-0594-4876-B494-4D25CED43601">
Chris@1503 208 <File
Chris@1503 209 Id="checker"
Chris@1503 210 Name="vamp-plugin-load-checker.exe"
Chris@1503 211 Source="release\vamp-plugin-load-checker.exe"/>
Chris@1503 212 </Component>
Chris@1503 213 </Directory> <!-- helpers -->
Chris@1503 214 </Directory> <!-- sv -->
Chris@1503 215 </Directory> <!-- pfiles -->
Chris@626 216
Chris@626 217 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 218 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 219 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 220 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 221 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 222 </Component>
Chris@626 223 </Directory>
Chris@626 224 </Directory>
Chris@626 225
Chris@626 226 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 227
Chris@626 228 </Directory>
Chris@626 229
Chris@626 230 <Feature
Chris@1503 231 Id="Complete"
Chris@1503 232 Title="Required files"
Chris@1503 233 Description="Installs the required files for running Sonic Visualiser."
Chris@1503 234 AllowAdvertise="no"
Chris@1503 235 Absent="disallow"
Chris@1503 236 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@1503 237 Level="1">
Chris@626 238 <ComponentRef Id="VampPlugins"/>
Chris@626 239 <ComponentRef Id="MainExecutable"/>
Chris@626 240 <ComponentRef Id="SVFileAssociation"/>
Chris@626 241 <ComponentRef Id="Qt5"/>
Chris@626 242 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@1896 243 <ComponentRef Id="Qt5StylePlugins"/>
Chris@1503 244 <ComponentRef Id="Piper"/>
Chris@1503 245 <ComponentRef Id="Checker"/>
Chris@626 246 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 247 </Feature>
Chris@626 248
Chris@626 249 <UI>
Chris@626 250 <UIRef Id="WixUI_InstallDir" />
Chris@626 251 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 252 </UI>
Chris@904 253
Chris@626 254 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@904 255 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
Chris@626 256 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 257 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@1827 258 <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win32\License.rtf" />
Chris@626 259
Chris@1827 260 <Icon Id="winicon.ico" SourceFile="..\icons\sv-winicon.ico"/>
Chris@626 261 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@1827 262
Chris@1827 263 <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win32\top.bmp"/>
Chris@1827 264 <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win32\main.bmp"/>
Chris@1591 265
Chris@626 266 </Product>
Chris@626 267 </Wix>
Chris@626 268