xref: /freebsd/crypto/krb5/src/windows/installer/wix/site-local.wxi (revision f1c4c3daccbaf3820f0e2224de53df12fc952fcc)
1<?xml version="1.0" encoding="utf-8"?>
2<Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
3
4    <!-- User configurable options -->
5
6    <!-- Items enclosed in double percent marks will be substituted by
7        the build script. -->
8
9    <!-- TargetDir should point to build target directory and must end with
10         a backslash.  If not specified, assume we are in TargetDir\install -->
11
12    <!-- <?define TargetDir="%TARGETDIR%\"?> -->
13
14    <!-- ConfigDir should point to directory containing configuration files
15         (krb5.ini, krb.con, krbrealm.con) to be bundled with the installer.
16         The directory name should end with a backslash. -->
17
18    <!-- <?define ConfigDir="%CONFIGDIR-WIX%\"?> -->
19
20    <!-- VersionMajor, VersionMinor and VersionPatch must all be specified, or
21         none should be specified (in which case, the defaults will be
22         selected below. -->
23
24    <!-- version defs go here -->
25    <!--    <?define VersionMajor="%VERSION_MAJOR%"?>
26        <?define VersionMinor="%VERSION_MINOR%"?>
27        <?define VersionPatch="%VERSION_PATCH%"?> -->
28
29    <!-- BuildLang is the language code for the installation.  If you are
30         changing this, you should also change the ProductCode below. -->
31    <?ifndef BuildLang?>
32        <?define BuildLang="1033"?>
33    <?endif?>
34
35    <!-- ProductCode is an uppercase GUID.  Each release should have its
36         own ProductCode.  If one is not defined, we generate a random one. -->
37    <?ifndef ProductCode?>
38        <?define ProductCode="????????-????-????-????-????????????"?>
39    <?endif?>
40
41    <!-- One of the following must be defined and must correspond to the
42         version of compiler used for building Kerberos for Windows -->
43
44    <!-- <?define CL1200?> -->
45    <!-- <?define CL1300?> -->
46    <!-- <?define CL1310?> -->
47    <!-- <?define CL1400?> -->
48    <?define CL1600?>
49
50    <!-- At most one of the following could be defined and must correspond
51         to the type of build performed. -->
52    <!--<?define Release?>-->
53
54    <!-- Optional defines -->
55    <!-- <?define Beta="1"?>  --> <!-- Numeric Beta identifier -->
56    <!-- <?define OldHelp?> --> <!-- Specifies the use of the old leash32.hlp file
57                           instead of the new leash32.chm file -->
58
59
60    <!-- End of user configurable options -->
61
62    <!-- Assert that required options are defined, or select defaults if
63         they weren't -->
64
65    <?ifndef TargetDir?>
66        <?define TargetDir="$(sys.SOURCEFILEDIR)..\..\..\"?>
67    <?endif?>
68
69    <?ifndef VersionMajor?>
70        <?define VersionMajor="4"?>
71        <?define VersionMinor="1"?>
72        <?define VersionPatch="0"?>
73    <?else?>
74        <?if Not ($(var.VersionMinor) And $(var.VersionPatch))?>
75            <?error VersionMajor, VersionMinor and VersionPatch should be specified together?>
76        <?endif?>
77    <?endif?>
78
79    <?ifndef ProductCode?>
80        <?error Must define ProductCode?>
81    <?endif?>
82
83    <?ifndef BuildLang?>
84        <?error Must define BuildLang?>
85    <?endif?>
86
87    <!-- The build makefile defines 'Date' and 'Time' which are strings that
88         identify the time at which the build was performed. -->
89</Include>
90