comparison deploy/win32/sonic-visualiser.wxs @ 626:b0f5fa844caf

Patch from Josias Matschulat to allow changing the installation location (and add licence and file association to installer)
author Chris Cannam
date Tue, 01 Oct 2013 11:08:07 +0100
parents 854668a6a33a
children 9680e1056ac6 2ea902f89da4
comparison
equal deleted inserted replaced
624:c0a20cd1a9ff 626:b0f5fa844caf
36 Name="README.txt" 36 Name="README.txt"
37 DiskId="1" 37 DiskId="1"
38 Source="deploy\win32\README-Vamp.txt"/> 38 Source="deploy\win32\README-Vamp.txt"/>
39 </Component> 39 </Component>
40 </Directory> 40 </Directory>
41 <Directory Id="INSTALLDIR" Name="Sonic Visualiser"> 41 <Directory Id="APPLICATIONFOLDER" Name="Sonic Visualiser">
42 42
43 <Component 43 <Component
44 Id="MainExecutable" 44 Id="MainExecutable"
45 Guid="2C02DFB7-3CDF-4F73-B9D1-846326EE417D"> 45 Guid="2C02DFB7-3CDF-4F73-B9D1-846326EE417D">
46 46
47 <File 47 <File
48 Id="SV" 48 Id="SVExecutable"
49 Name="Sonic Visualiser.exe" 49 Name="Sonic Visualiser.exe"
50 DiskId="1" 50 DiskId="1"
51 Source="release\Sonic Visualiser.exe" 51 Source="release\Sonic Visualiser.exe"
52 KeyPath="yes"> 52 KeyPath="yes">
53 53
54 <Shortcut 54 <Shortcut
55 Id="SVStartEntry" 55 Id="SVStartEntry"
56 Directory="ProgramMenuDir" 56 Directory="ProgramMenuDir"
57 Name="Sonic Visualiser" 57 Name="Sonic Visualiser"
58 WorkingDirectory="INSTALLDIR" 58 WorkingDirectory="APPLICATIONFOLDER"
59 Icon="winicon.ico" 59 Icon="winicon.ico"
60 IconIndex="0" 60 IconIndex="0"
61 Advertise="yes"/> 61 Advertise="yes"/>
62 62
63 <Shortcut 63 <Shortcut
64 Id="SVDesktop" 64 Id="SVDesktop"
65 Directory="DesktopFolder" 65 Directory="DesktopFolder"
66 Name="Sonic Visualiser" 66 Name="Sonic Visualiser"
67 WorkingDirectory="INSTALLDIR" 67 WorkingDirectory="APPLICATIONFOLDER"
68 Icon="winicon.ico" 68 Icon="winicon.ico"
69 IconIndex="0" 69 IconIndex="0"
70 Advertise="yes"/> 70 Advertise="yes"/>
71 </File> 71 </File>
72 72
90 Id="winicon.ico" 90 Id="winicon.ico"
91 Name="sv-winicon.ico" 91 Name="sv-winicon.ico"
92 DiskId="1" 92 DiskId="1"
93 Source="icons/sv-winicon.ico"/> 93 Source="icons/sv-winicon.ico"/>
94 </Component> 94 </Component>
95 95
96 <Component
97 Id="SVFileAssociation"
98 Guid="DC6B3DD1-46DE-47FC-90FB-D8ACD5D1A88A">
99
100 <ProgId
101 Id='SonicVisualiser.svfile'
102 Description='Sonic Visualiser project file'
103 Icon="SVExecutable">
104 <Extension
105 Id='sv'
106 ContentType='application/sonicvisualiser'>
107 <Verb
108 Id='open'
109 Command='Open'
110 TargetFile='SVExecutable'
111 Argument='"%1"' />
112 </Extension>
113 </ProgId>
114
115 </Component>
116
96 <Component 117 <Component
97 Id="Qt5" 118 Id="Qt5"
98 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F"> 119 Guid="316341D4-B7B2-411D-BCCE-879A11D5709F">
99 <File 120 <File
100 Id="QtCore" 121 Id="QtCore"
200 221
201 <Directory Id="DesktopFolder" Name="Desktop"/> 222 <Directory Id="DesktopFolder" Name="Desktop"/>
202 223
203 </Directory> 224 </Directory>
204 225
205 <Feature Id="Complete" Level="1"> 226 <Feature
227 Id="Complete"
228 Title="Required files"
229 Description="Installs the required files for running Sonic Visualiser."
230 AllowAdvertise="no"
231 Absent="disallow"
232 ConfigurableDirectory="APPLICATIONFOLDER"
233 Level="1">
206 <ComponentRef Id="VampPlugins"/> 234 <ComponentRef Id="VampPlugins"/>
207 <ComponentRef Id="MainExecutable"/> 235 <ComponentRef Id="MainExecutable"/>
236 <ComponentRef Id="SVFileAssociation"/>
237 <ComponentRef Id="SVFileAssociation"/>
208 <ComponentRef Id="Qt5"/> 238 <ComponentRef Id="Qt5"/>
209 <ComponentRef Id="Qt5PlatformPlugins"/> 239 <ComponentRef Id="Qt5PlatformPlugins"/>
210 <ComponentRef Id="ProgramMenuDir"/> 240 <ComponentRef Id="ProgramMenuDir"/>
211 </Feature> 241 </Feature>
212 242
213 <Icon 243 <UI>
214 Id="winicon.ico" 244 <UIRef Id="WixUI_InstallDir" />
215 SourceFile="icons/sv-winicon.ico"/> 245 <UIRef Id="WixUI_ErrorProgressText" />
216 246 </UI>
247
248 <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
249 <Property Id="ApplicationFolderName" Value="Sonic Visualiser" />
250 <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
251 <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
252
253 <Icon Id="winicon.ico" SourceFile="icons/sv-winicon.ico"/>
254 <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
255
217 </Product> 256 </Product>
218 </Wix> 257 </Wix>
258