To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / deploy / win64 / sonic-lineup.wxs @ 361:fe0e9a1ffeda

History | View | Annotate | Download (9.49 KB)

1
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
2

    
3
  <Product
4
      Name="Sonic Lineup" 
5
      Id="*"
6
      Language="1033"
7
      Codepage="1252" 
8
      Version="1.0"
9
      UpgradeCode="a21e6cb2-df2e-43c0-aec3-22736add6a9c"
10
      Manufacturer="Queen Mary, University of London">
11
    
12
    <Package
13
        Id="*"
14
        Keywords="Installer"
15
        Description="Sonic Lineup Installer" 
16
        Comments="Copyright (c) 2019 Queen Mary, University of London and others."
17
        Manufacturer="Queen Mary, University of London" 
18
        InstallerVersion="200"
19
        Languages="1033" 
20
        Compressed="yes" 
21
        Platform="x64"
22
        SummaryCodepage="1252"/>
23

    
24
    <MajorUpgrade DowngradeErrorMessage="A later version of Sonic Lineup is already installed. Setup will now exit."/>
25

    
26
    <Media Id="1" Cabinet="SonicVector.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
27
    <Property Id="DiskPrompt" Value="Sonic Lineup Installation [1]"/>
28

    
29
    <Directory Id="TARGETDIR" Name="SourceDir">
30

    
31
      <Directory Id="ProgramFiles64Folder" Name="PFiles64">
32

    
33
        <Directory Id="APPLICATIONFOLDER" Name="Sonic Lineup">
34

    
35
          <Component Win64="yes"
36
              Id="MainExecutable"
37
              Guid="8c6e694c-1bbc-48ae-955d-cb5157e78f26">
38

    
39
            <File
40
                Id="SVExecutable"
41
                Name="Sonic Lineup.exe"
42
                Source="release\Sonic Lineup.exe"
43
                KeyPath="yes">
44

    
45
              <Shortcut
46
                  Id="SVStartEntry"
47
                  Directory="ProgramMenuDir"
48
                  Name="Sonic Lineup"
49
                  WorkingDirectory="APPLICATIONFOLDER"
50
                  Icon="winicon.ico"
51
                  IconIndex="0"
52
                  Advertise="yes"/>
53

    
54
              <Shortcut
55
                  Id="SVDesktop"
56
                  Directory="DesktopFolder"
57
                  Name="Sonic Lineup"
58
                  WorkingDirectory="APPLICATIONFOLDER"
59
                  Icon="winicon.ico"
60
                  IconIndex="0"
61
                  Advertise="yes"/>
62
            </File>
63

    
64
            <File
65
                Id="COPYING"
66
                Name="COPYING.txt"
67
                Source="..\COPYING"/>
68
            <File
69
                Id="README"
70
                Name="README.txt"
71
                Source="..\README.md"/>
72
            <File
73
                Id="CHANGELOG"
74
                Name="CHANGELOG.txt"
75
                Source="..\CHANGELOG"/>
76
            <File
77
                Id="winicon.ico"
78
                Name="sonic-lineup-icon.ico"
79
                Source="..\icons\sonic-lineup-icon.ico"/>
80
          </Component>
81
          
82
          <Component Win64="yes"
83
              Id="Plugins"
84
              Guid="4a11ba60-7d97-4cf3-aced-07ae9a16d956">
85
            <File
86
                Id="MATCH"
87
                Name="match-vamp-plugin.dll"
88
                Source="release\match-vamp-plugin.dll"
89
                KeyPath="yes"/>
90
            <File
91
                Id="Azi"
92
                Name="azi.dll"
93
                Source="release\azi.dll"/>
94
            <File
95
                Id="NNLSChroma"
96
                Name="nnls-chroma.dll"
97
                Source="release\nnls-chroma.dll"/>
98
            <File
99
                Id="pYIN"
100
                Name="pyin.dll"
101
                Source="release\pyin.dll"/>
102
            <File
103
                Id="QMVampPlugins"
104
                Name="qm-vamp-plugins.dll"
105
                Source="release\qm-vamp-plugins.dll"/>
106
            <File
107
                Id="TuningDifference"
108
                Name="tuning-difference.dll"
109
                Source="release\tuning-difference.dll"/>
110
          </Component>
111
          
112
          <Component Win64="yes"
113
              Id="Qt5"
114
              Guid="5e09d9ab-468d-4e64-b539-95c935248a7c">
115
            <File
116
                Id="QtCore"
117
                Name="Qt5Core.dll"
118
                Source="release\Qt5Core.dll"
119
		KeyPath="yes"/>
120
            <File
121
                Id="QtGui"
122
                Name="Qt5Gui.dll"
123
                Source="release\Qt5Gui.dll"/>
124
            <File
125
                Id="QtNetwork"
126
                Name="Qt5Network.dll"
127
                Source="release\Qt5Network.dll"/>
128
            <File
129
                Id="QtWidgets"
130
                Name="Qt5Widgets.dll"
131
                Source="release\Qt5Widgets.dll"/>
132
            <File
133
                Id="QtXml"
134
                Name="Qt5Xml.dll"
135
                Source="release\Qt5Xml.dll"/>
136
            <File
137
                Id="QtSvg"
138
                Name="Qt5Svg.dll"
139
                Source="release\Qt5Svg.dll"/>
140
          </Component>
141

    
142
          <Component Win64="yes"
143
                     Id="Sndfile"
144
                     Guid="dbcbb75c-16ae-4e80-9449-b6d3d72873a7">
145
            <File
146
                Id="libsndfile"
147
                Name="libsndfile-1.dll"
148
                Source="..\sv-dependency-builds\win64-msvc\lib\libsndfile-1.dll"
149
                KeyPath="yes"/>
150
          </Component>
151

    
152
          <Component Win64="yes"
153
               Id="VCRuntime"
154
               Guid="f212288f-e5a4-4fc2-b951-1396f61bc562">
155

    
156
            <!-- Redistributables are handled by the Visual Studio
157
                 installer (a separate program from VS itself) and are
158
                 installed into C:\Program Files (x86)\Microsoft
159
                 Visual Studio\2017\Community\VC\Redist\MSVC\...  NB
160
                 this is not the same thing as the Windows SDKs, which
161
                 consist of build tools etc - they have their own
162
                 installers and get installed by default to C:\Program
163
                 Files (x86)\Windows Kits\... -->
164
               
165
            <File
166
                Id="concrt140"
167
                Name="concrt140.dll"
168
                Source="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.22.27821\x64\Microsoft.VC142.CRT\concrt140.DLL"
169
                KeyPath="yes"/>
170
            <File
171
                Id="msvcp140"
172
                Name="msvcp140.dll"
173
                Source="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.22.27821\x64\Microsoft.VC142.CRT\msvcp140.DLL"/>
174
            <File
175
                Id="vccorlib140"
176
                Name="vccorlib140.dll"
177
                Source="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.22.27821\x64\Microsoft.VC142.CRT\vccorlib140.DLL"/>
178
            <File
179
                Id="vcruntime140"
180
                Name="vcruntime140.dll"
181
                Source="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.22.27821\x64\Microsoft.VC142.CRT\vcruntime140.DLL"/>
182
          </Component>
183

    
184
	  <Directory Id="Platforms" Name="platforms">
185
            <Component Win64="yes"
186
                Id="Qt5PlatformPlugins"
187
                Guid="07672a65-2be3-40f5-88d2-1fd6dd392427">
188
	      <File
189
                  Id="qminimal"
190
                  Name="qminimal.dll"
191
                  Source="release\qminimal.dll"/>
192
	      <File
193
                  Id="qwindows"
194
                  Name="qwindows.dll"
195
                  Source="release\qwindows.dll"/>
196
            </Component>
197
	  </Directory>
198

    
199
	  <Directory Id="Styles" Name="styles">
200
            <Component Win64="yes"
201
                Id="Qt5StylePlugins"
202
                Guid="e5731844-33a0-4be8-bf73-e106be653f1c">
203
	      <File
204
                  Id="qwindowsvistastyle"
205
                  Name="qwindowsvistastyle.dll"
206
                  Source="release\qwindowsvistastyle.dll"/>
207
            </Component>
208
	  </Directory>
209

    
210
	  <Directory Id="Helpers" Name="helpers">
211
            <Component Win64="yes"
212
                Id="Checker64"
213
                Guid="4d67a3ba-cf45-4a66-8700-c79c45f24d34">
214
	      <File
215
		  Id="checker64"
216
		  Name="vamp-plugin-load-checker.exe"
217
		  Source="release\vamp-plugin-load-checker.exe"/>
218
	    </Component>
219
	    
220
	  </Directory> <!-- helpers -->
221
	</Directory> <!-- sv -->
222
      </Directory> <!-- pfiles64 -->
223

    
224
      <Directory Id="ProgramMenuFolder" Name="Programs">
225
        <Directory Id="ProgramMenuDir" Name="Sonic Lineup">
226
          <Component Id="ProgramMenuDir" Guid="48569a61-8b45-4aa1-a99b-63977363559e">
227
            <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
228
            <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
229
          </Component>
230
        </Directory>
231
      </Directory>
232

    
233
      <Directory Id="DesktopFolder" Name="Desktop"/>
234

    
235
    </Directory>
236

    
237
    <Feature 
238
	Id="Complete"
239
	Title="Required files"
240
	Description="Installs the required files for running Sonic Lineup."
241
	AllowAdvertise="no"
242
	Absent="disallow"
243
	ConfigurableDirectory="APPLICATIONFOLDER"
244
	Level="1">
245
      <ComponentRef Id="MainExecutable"/>
246
      <ComponentRef Id="Plugins"/>
247
      <ComponentRef Id="Qt5"/>
248
      <ComponentRef Id="Sndfile"/>
249
      <ComponentRef Id="VCRuntime"/>
250
      <ComponentRef Id="Qt5PlatformPlugins"/>
251
      <ComponentRef Id="Qt5StylePlugins"/>
252
      <ComponentRef Id="Checker64"/>
253
      <ComponentRef Id="ProgramMenuDir"/>
254
    </Feature>
255

    
256
    <UI>
257
      <UIRef Id="WixUI_InstallDir" />
258
      <UIRef Id="WixUI_ErrorProgressText" />
259
    </UI>
260

    
261
    <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
262
    <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
263
    <Property Id="ApplicationFolderName" Value="Sonic Lineup" />
264
    <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
265
    <WixVariable Id="WixUILicenseRtf" Value="..\deploy\win64\License.rtf" />
266
    
267
    <Icon Id="winicon.ico" SourceFile="..\icons\sonic-lineup-icon.ico"/>
268
    <Property Id="ARPPRODUCTICON" Value="winicon.ico" />
269

    
270
    <WixVariable Id="WixUIBannerBmp" Value="..\deploy\win64\top.bmp"/>
271
    <WixVariable Id="WixUIDialogBmp" Value="..\deploy\win64\main.bmp"/>
272

    
273
  </Product> </Wix>