|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<?if $(var.Platform) = x64 ?> |
3 |
| - <?define bitness = "(64 bit)" ?> |
4 |
| -<?else ?> |
5 |
| - <?define bitness = "(32 bit)" ?> |
6 |
| -<?endif ?> |
| 2 | +<?define bitness = "(64 bit)" ?> |
7 | 3 |
|
8 | 4 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
9 | 5 | xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension">
|
|
26 | 22 | <UIRef Id="WixUI_ErrorProgressText"/>
|
27 | 23 | <UIRef Id="SarUi"/>
|
28 | 24 |
|
29 |
| - <Feature Id="Main" Title="Synchronous Audio Router" Level="1"> |
30 |
| - <?if $(var.Platform) = x64 ?> |
| 25 | + <Feature Id="Main" Title="Synchronous Audio Router" Level="1"> |
31 | 26 | <ComponentRef Id="KsDriver64"/>
|
32 |
| - <?else ?> |
33 |
| - <ComponentRef Id="KsDriver32"/> |
34 |
| - <?endif ?> |
35 |
| - |
36 |
| - <?if $(var.Platform) = x64 ?> |
37 | 27 | <ComponentRef Id="AsioDriver64"/>
|
38 | 28 | <ComponentRef Id="AsioDriver64_32"/>
|
39 | 29 | <ComponentRef Id="SarConfigure64"/>
|
40 |
| - <?else ?> |
41 |
| - <ComponentRef Id="AsioDriver32"/> |
42 |
| - <ComponentRef Id="SarConfigure32"/> |
43 |
| - <?endif ?> |
44 |
| - |
45 |
| - <ComponentRef Id="ApplicationShortcut"/> |
46 |
| - </Feature> |
| 30 | + <ComponentRef Id="ApplicationShortcut"/> |
| 31 | + </Feature> |
47 | 32 |
|
48 |
| - <?if $(var.Platform) = x64 ?> |
49 |
| - <Binary Id="SarInstallerActions" |
50 |
| - SourceFile="..\x64\Release\SarInstallerActions.dll"/> |
51 |
| - <?else ?> |
52 |
| - <Binary Id="SarInstallerActions" |
53 |
| - SourceFile="..\Release\SarInstallerActions.dll"/> |
54 |
| - <?endif ?> |
| 33 | + <Binary Id="SarInstallerActions" |
| 34 | + SourceFile="..\x64\Release\SarInstallerActions.dll"/> |
55 | 35 |
|
56 | 36 | <CustomAction Id="CreateDeviceNode.SetProperty"
|
57 | 37 | Return="check"
|
|
94 | 74 | </Directory>
|
95 | 75 | </Directory>
|
96 | 76 |
|
97 |
| - <?if $(var.Platform) = x64 ?> |
98 | 77 | <DirectoryRef Id="INSTALLDIR64">
|
99 | 78 | <Component Id="KsDriver64"
|
100 | 79 | Guid="{48C7E358-9797-42F7-B86D-5AA1DD3E0E44}"
|
|
247 | 226 | KeyPath="yes"/>
|
248 | 227 | </Component>
|
249 | 228 | </DirectoryRef>
|
250 |
| - <?else ?> |
251 |
| - <DirectoryRef Id="INSTALLDIR"> |
252 |
| - <Component Id="KsDriver32" |
253 |
| - Guid="{865DF004-18BD-448C-A63B-BF3B758CAE99}" |
254 |
| - Win64="no"> |
255 |
| - <File Id="SynchronousAudioRouter.sys" |
256 |
| - Name="SynchronousAudioRouter.sys" |
257 |
| - Source="..\Release\SynchronousAudioRouter.sys" |
258 |
| - KeyPath="yes"/> |
259 |
| - <File Id="SynchronousAudioRouter.cat" |
260 |
| - Name="SynchronousAudioRouter.cat" |
261 |
| - Source="..\Release\SynchronousAudioRouter\SynchronousAudioRouter.cat" |
262 |
| - KeyPath="no"/> |
263 |
| - <File Id="SynchronousAudioRouter.inf" |
264 |
| - Name="SynchronousAudioRouter.inf" |
265 |
| - Source="..\Release\SynchronousAudioRouter\SynchronousAudioRouter.inf" |
266 |
| - KeyPath="no"/> |
267 |
| - <difx:Driver PlugAndPlayPrompt="no"/> |
268 |
| - </Component> |
269 |
| - |
270 |
| - <Component Id="AsioDriver32" |
271 |
| - Guid="{FFBEFDDB-FBC6-4CE5-9187-267DE9BB93D9}" |
272 |
| - Win64="no"> |
273 |
| - <File Id="SarAsio.dll" |
274 |
| - Name="SarAsio.dll" |
275 |
| - Source="..\Release\SarAsio.dll" |
276 |
| - KeyPath="yes"/> |
277 |
| - <!--<File Id="SarCtl.exe" Source="..\x64\Release\SarCtl.exe" KeyPath="no"/>--> |
278 |
| - <RegistryValue Root="HKCR" |
279 |
| - Key="CLSID\{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}\InProcServer32" |
280 |
| - Value="[#SarAsio.dll]" |
281 |
| - Type="string" |
282 |
| - Action="write" /> |
283 |
| - <RegistryValue Root="HKCR" |
284 |
| - Key="CLSID\{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}\InProcServer32" |
285 |
| - Name="ThreadingModel" |
286 |
| - Value="Apartment" |
287 |
| - Type="string" |
288 |
| - Action="write" /> |
289 |
| - <RegistryValue Root="HKCR" |
290 |
| - Key="CLSID\{9FB96668-9EDD-4574-AD77-76BD89659D5D}\InProcServer32" |
291 |
| - Value="[#SarAsio.dll]" |
292 |
| - Type="string" |
293 |
| - Action="write" /> |
294 |
| - <RegistryValue Root="HKCR" |
295 |
| - Key="CLSID\{9FB96668-9EDD-4574-AD77-76BD89659D5D}\InProcServer32" |
296 |
| - Name="ThreadingModel" |
297 |
| - Value="both" |
298 |
| - Type="string" |
299 |
| - Action="write" /> |
300 |
| - <RegistryValue Root="HKCR" |
301 |
| - Key="CLSID\{739191CC-CCBE-45D8-8D24-828D8E989E8E}\InProcServer32" |
302 |
| - Value="[#SarAsio.dll]" |
303 |
| - Type="string" |
304 |
| - Action="write" /> |
305 |
| - <RegistryValue Root="HKCR" |
306 |
| - Key="CLSID\{739191CC-CCBE-45D8-8D24-828D8E989E8E}\InProcServer32" |
307 |
| - Name="ThreadingModel" |
308 |
| - Value="free" |
309 |
| - Type="string" |
310 |
| - Action="write" /> |
311 |
| - <RegistryValue Root="HKCR" |
312 |
| - Key="CLSID\{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}\ProgID" |
313 |
| - Value="SynchronousAudioRouter.1" |
314 |
| - Type="string" |
315 |
| - Action="write" /> |
316 |
| - <RegistryValue Root="HKCR" |
317 |
| - Key="CLSID\{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}" |
318 |
| - Value="Synchronous Audio Router ASIO" |
319 |
| - Type="string" |
320 |
| - Action="write" /> |
321 |
| - <RegistryValue Root="HKLM" Key="SOFTWARE\ASIO\Synchronous Audio Router" |
322 |
| - Name="CLSID" Value="{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}" |
323 |
| - Type="string" |
324 |
| - Action="write" /> |
325 |
| - <RegistryValue Root="HKLM" |
326 |
| - Key="SOFTWARE\ASIO\Synchronous Audio Router" |
327 |
| - Name="Description" |
328 |
| - Value="Synchronous Audio Router" |
329 |
| - Type="string" |
330 |
| - Action="write" /> |
331 |
| - </Component> |
332 |
| - <Component Id="SarConfigure32" |
333 |
| - Guid="{768F46C3-E17B-41C0-88BA-BCA4C6526A78}" |
334 |
| - Win64="no"> |
335 |
| - <File Id="SarConfigure.exe" |
336 |
| - Name="SarConfigure.exe" |
337 |
| - Source="..\Release\SarConfigure.exe" |
338 |
| - KeyPath="yes"/> |
339 |
| - </Component> |
340 |
| - </DirectoryRef> |
341 |
| - <?endif ?> |
342 | 229 |
|
343 | 230 | <DirectoryRef Id="ApplicationProgramsFolder">
|
344 | 231 | <Component Id="ApplicationShortcut" Guid="{BB519534-E09F-4424-BE20-48116DF6B8E8}">
|
|
0 commit comments