main
wxi 45 lines 1.02 KB
Raw
1 <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
2
3
4 <Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
5 <?ifdef Prefix ?>
6 <?undef Prefix ?>
7 <?endif?>
8
9 <?define Prefix="Wix4" ?>
10
11 <?ifdef Prefix5 ?>
12 <?undef Prefix5 ?>
13 <?endif?>
14
15 <?define Prefix5="Wix5" ?>
16
17 <?ifndef platform ?>
18 <?define platform="x86" ?>
19 <?endif?>
20
21 <?if $(var.platform)="" ?>
22 <?undef platform ?>
23 <?define platform="x86" ?>
24 <?endif?>
25
26 <?ifdef Suffix ?>
27 <?undef Suffix ?>
28 <?endif?>
29
30 <?if $(var.platform)~="x86" ?>
31 <?define Suffix="_X86" ?>
32 <?endif?>
33
34 <?if $(var.platform)~="x64" ?>
35 <?define Suffix="_X64" ?>
36 <?endif?>
37
38 <?if $(var.platform)~="arm" ?>
39 <?define Suffix="_A32" ?>
40 <?endif?>
41
42 <?if $(var.platform)~="arm64" ?>
43 <?define Suffix="_A64" ?>
44 <?endif?>
45 </Include>