annotate deploy/win32/sonic-visualiser.wxs @ 2265:d33dff02b39b sandbox-notarize

Work on sandboxing (possibly) and using the hardened runtime for notarization. Supply appropriate bundle ID for helpers as well as main application, and request inherited sandbox entitlements. Currently works with sandboxing (apparently) but not yet with the hardened runtime, where we can't load plugins signed by third parties even with the com.apple.security.cs.disable-library-validation entitlement because their team IDs don't match the host. Possibly that exception is supposed to be requested some other way?
author Chris Cannam
date Thu, 25 Apr 2019 16:46:02 +0100
parents 8b71d9894f1b
children 8f794c4876fa 446006ea9099
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@1980 8 Version="3.2"
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@2217 84 <File
Chris@2217 85 Id="CITATION"
Chris@2217 86 Name="CITATION.txt"
Chris@2217 87 Source="..\CITATION"/>
Chris@626 88
Chris@1503 89 <File
Chris@1503 90 Id="winicon.ico"
Chris@1503 91 Name="sv-winicon.ico"
Chris@1827 92 Source="..\icons/sv-winicon.ico"/>
Chris@1503 93 </Component>
Chris@1503 94
Chris@1503 95 <Component
Chris@626 96 Id="SVFileAssociation"
Chris@626 97 Guid="DC6B3DD1-46DE-47FC-90FB-D8ACD5D1A88A">
Chris@1503 98
Chris@1839 99 <CreateFolder/>
Chris@1839 100
Chris@1503 101 <ProgId
Chris@626 102 Id='SonicVisualiser.svfile'
Chris@626 103 Description='Sonic Visualiser project file'
Chris@626 104 Icon="SVExecutable">
Chris@1503 105 <Extension
Chris@626 106 Id='sv'
Chris@626 107 ContentType='application/sonicvisualiser'>
Chris@1503 108 <Verb
Chris@626 109 Id='open'
Chris@626 110 Command='Open'
Chris@626 111 TargetFile='SVExecutable'
Chris@626 112 Argument='"%1"' />
Chris@1503 113 </Extension>
Chris@1503 114 </ProgId>
Chris@1503 115
Chris@1503 116 </Component>
Chris@1503 117
Chris@1503 118 <Component
Chris@1503 119 Id="Qt5"
Chris@1503 120 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
Chris@1503 121 <File
Chris@1503 122 Id="QtCore"
Chris@1503 123 Name="Qt5Core.dll"
Chris@1503 124 Source="release\Qt5Core.dll"
Chris@1503 125 KeyPath="yes"/>
Chris@1503 126 <File
Chris@1503 127 Id="QtGui"
Chris@1503 128 Name="Qt5Gui.dll"
Chris@1503 129 Source="release\Qt5Gui.dll"/>
Chris@1503 130 <File
Chris@1503 131 Id="QtNetwork"
Chris@1503 132 Name="Qt5Network.dll"
Chris@1503 133 Source="release\Qt5Network.dll"/>
Chris@1503 134 <File
Chris@1503 135 Id="QtWidgets"
Chris@1503 136 Name="Qt5Widgets.dll"
Chris@1503 137 Source="release\Qt5Widgets.dll"/>
Chris@1503 138 <File
Chris@1503 139 Id="QtXml"
Chris@1503 140 Name="Qt5Xml.dll"
Chris@1503 141 Source="release\Qt5Xml.dll"/>
Chris@1503 142 <File
Chris@1503 143 Id="QtSvg"
Chris@1503 144 Name="Qt5Svg.dll"
Chris@1503 145 Source="release\Qt5Svg.dll"/>
Chris@1503 146 <File
Chris@1503 147 Id="libgcc"
Chris@1503 148 Name="libgcc_s_dw2-1.dll"
Chris@1503 149 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 150 <File
Chris@1503 151 Id="libstdcplusplus"
Chris@1503 152 Name="libstdc++-6.dll"
Chris@1503 153 Source="release\libstdc++-6.dll"/>
Chris@1503 154 <File
Chris@1503 155 Id="libwinpthread"
Chris@1503 156 Name="libwinpthread-1.dll"
Chris@1503 157 Source="release\libwinpthread-1.dll"/>
Chris@1503 158 </Component>
Chris@1503 159
Chris@1503 160 <Directory Id="Platforms" Name="platforms">
Chris@1503 161 <Component
Chris@1503 162 Id="Qt5PlatformPlugins"
Chris@1503 163 Guid="1EDCEA4B-C83F-430B-B09D-CB113DFD4E77">
Chris@1503 164 <File
Chris@1503 165 Id="qminimal"
Chris@1503 166 Name="qminimal.dll"
Chris@1503 167 Source="release\qminimal.dll"/>
Chris@1503 168 <File
Chris@1503 169 Id="qwindows"
Chris@1503 170 Name="qwindows.dll"
Chris@1503 171 Source="release\qwindows.dll"/>
Chris@1896 172 </Component>
Chris@1896 173 </Directory>
Chris@1896 174
Chris@1896 175 <Directory Id="Styles" Name="styles">
Chris@1896 176 <Component
Chris@1896 177 Id="Qt5StylePlugins"
Chris@1896 178 Guid="049AD156-CBC3-457A-980F-3C01FF89C054">
Chris@1891 179 <File
Chris@1891 180 Id="qwindowsvistastyle"
Chris@1891 181 Name="qwindowsvistastyle.dll"
Chris@1891 182 Source="release\qwindowsvistastyle.dll"/>
Chris@626 183 </Component>
Chris@1503 184 </Directory>
Chris@1503 185
Chris@1503 186 <Directory Id="Helpers" Name="helpers">
Chris@1503 187 <Component Id="Piper"
Chris@1503 188 Guid="17F2AAFF-7B7B-4F20-B345-DEF0A54A84B1">
Chris@1503 189 <File
Chris@1503 190 Id="piperconv"
Chris@1503 191 Name="piper-convert.exe"
Chris@1503 192 Source="release\piper-convert.exe"/>
Chris@1503 193 <File
Chris@1503 194 Id="piper"
Chris@1503 195 Name="piper-vamp-simple-server.exe"
Chris@1503 196 Source="release\piper-vamp-simple-server.exe"/>
Chris@1503 197 <File
Chris@1503 198 Id="libgcc32"
Chris@774 199 Name="libgcc_s_dw2-1.dll"
Chris@774 200 Source="release\libgcc_s_dw2-1.dll"/>
Chris@1503 201 <File
Chris@1503 202 Id="libstdcplusplus32"
Chris@626 203 Name="libstdc++-6.dll"
Chris@626 204 Source="release\libstdc++-6.dll"/>
Chris@1503 205 <File
Chris@1503 206 Id="libwinpthread32"
Chris@626 207 Name="libwinpthread-1.dll"
Chris@626 208 Source="release\libwinpthread-1.dll"/>
Chris@1503 209 </Component>
Chris@1503 210 <Component Id="Checker"
Chris@1503 211 Guid="DB09B035-0594-4876-B494-4D25CED43601">
Chris@1503 212 <File
Chris@1503 213 Id="checker"
Chris@1503 214 Name="vamp-plugin-load-checker.exe"
Chris@1503 215 Source="release\vamp-plugin-load-checker.exe"/>
Chris@1503 216 </Component>
Chris@1503 217 </Directory> <!-- helpers -->
Chris@1503 218 </Directory> <!-- sv -->
Chris@1503 219 </Directory> <!-- pfiles -->
Chris@626 220
Chris@626 221 <Directory Id="ProgramMenuFolder" Name="Programs">
Chris@626 222 <Directory Id="ProgramMenuDir" Name="Sonic Visualiser">
Chris@626 223 <Component Id="ProgramMenuDir" Guid="C1980FF3-D135-46F8-8542-F937748721E6">
Chris@626 224 <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
Chris@626 225 <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
Chris@626 226 </Component>
Chris@626 227 </Directory>
Chris@626 228 </Directory>
Chris@626 229
Chris@626 230 <Directory Id="DesktopFolder" Name="Desktop"/>
Chris@626 231
Chris@626 232 </Directory>
Chris@626 233
Chris@626 234 <Feature
Chris@1503 235 Id="Complete"
Chris@1503 236 Title="Required files"
Chris@1503 237 Description="Installs the required files for running Sonic Visualiser."
Chris@1503 238 AllowAdvertise="no"
Chris@1503 239 Absent="disallow"
Chris@1503 240 ConfigurableDirectory="APPLICATIONFOLDER"
Chris@1503 241 Level="1">
Chris@626 242 <ComponentRef Id="VampPlugins"/>
Chris@626 243 <ComponentRef Id="MainExecutable"/>
Chris@626 244 <ComponentRef Id="SVFileAssociation"/>
Chris@626 245 <ComponentRef Id="Qt5"/>
Chris@626 246 <ComponentRef Id="Qt5PlatformPlugins"/>
Chris@1896 247 <ComponentRef Id="Qt5StylePlugins"/>
Chris@1503 248 <ComponentRef Id="Piper"/>
Chris@1503 249 <ComponentRef Id="Checker"/>
Chris@626 250 <ComponentRef Id="ProgramMenuDir"/>
Chris@626 251 </Feature>
Chris@626 252
Chris@626 253 <UI>
Chris@626 254 <UIRef Id="WixUI_InstallDir" />
Chris@626 255 <UIRef Id="WixUI_ErrorProgressText" />
Chris@626 256 </UI>
Chris@904 257
Chris@626 258 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
Chris@904 259 <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
Chris@626 260 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
Chris@626 261 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
Chris@1827 262 <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win32\License.rtf" />
Chris@626 263
Chris@1827 264 <Icon Id="winicon.ico" SourceFile="..\icons\sv-winicon.ico"/>
Chris@626 265 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
Chris@1827 266
Chris@1827 267 <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win32\top.bmp"/>
Chris@1827 268 <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win32\main.bmp"/>
Chris@1591 269
Chris@626 270 </Product>
Chris@626 271 </Wix>
Chris@626 272