aboutsummaryrefslogtreecommitdiff
path: root/src/ext/caDecor.wxi
blob: 236b2154062a10a627b43ad0bfc38596a1dd5bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!-- 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. -->


<Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
    <?ifdef Prefix ?>
        <?undef Prefix ?>
    <?endif?>

    <?define Prefix="Wix4" ?>

    <?ifdef Prefix5 ?>
        <?undef Prefix5 ?>
    <?endif?>

    <?define Prefix5="Wix5" ?>

    <?ifdef Prefix6 ?>
    <?undef Prefix6 ?>
    <?endif?>
    <?define Prefix6="Wix6" ?>

    <?ifndef platform ?>
        <?define platform="x86" ?>
    <?endif?>

    <?if $(var.platform)="" ?>
        <?undef platform ?>
        <?define platform="x86" ?>
    <?endif?>

    <?ifdef Suffix ?>
        <?undef Suffix ?>
    <?endif?>

    <?if $(var.platform)~="x86" ?>
        <?define Suffix="_X86" ?>
    <?endif?>

    <?if $(var.platform)~="x64" ?>
        <?define Suffix="_X64" ?>
    <?endif?>

    <?if $(var.platform)~="arm" ?>
        <?define Suffix="_A32" ?>
    <?endif?>

    <?if $(var.platform)~="arm64" ?>
        <?define Suffix="_A64" ?>
    <?endif?>
</Include>