summaryrefslogtreecommitdiffstats
path: root/src/windows/installer/wix/config.wxi
blob: 806fe36f21d124487b2f9d736cb267458ff0c259 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="utf-8"?>
<!--

  Copyright (C) 2004, 2005, 2006 by the Massachusetts Institute of Technology.
  All rights reserved.
 
  Export of this software from the United States of America may
    require a specific license from the United States Government.
    It is the responsibility of any person or organization contemplating
    export to obtain such a license before exporting.
 
  WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  distribute this software and its documentation for any purpose and
  without fee is hereby granted, provided that the above copyright
  notice appear in all copies and that both that copyright notice and
  this permission notice appear in supporting documentation, and that
  the name of M.I.T. not be used in advertising or publicity pertaining
  to distribution of the software without specific, written prior
  permission.  Furthermore if you modify this software you must label
  your software as modified software and not distribute it in such a
  fashion that it might be confused with the original M.I.T. software.
  M.I.T. makes no representations about the suitability of
  this software for any purpose.  It is provided "as is" without express
  or implied warranty.
  
  -->
<Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi">

    <!-- include site sepecific customizations -->
    <?include site-local.wxi?>
    
    <!-- Sanity checks -->
    <?ifndef var.CL1600?>
        <?error Must define CL1600 (MSVC10.0)?>
    <?endif?>

    <!-- Build type specifications -->
    <?ifndef env.CPU?>
        <?error CPU is not set ?>
    <?endif?>
    <?define BinDir="$(env.KRB_INSTALL_DIR)\bin\"?>
    <?define LibDir="$(env.KRB_INSTALL_DIR)\lib\"?>
    <?define InstallerVersion="300"?>
    <?if $(env.CPU) = "i386"?>
        <?define Platform="Intel"?>
        <?define Win64="no"?>
    <?elseif $(env.CPU) = "AMD64"?>
        <?define Platform="x64"?>
        <?define Win64="yes"?>
    <?else?>
        <?error Unknown build type?>
    <?endif?>
    
    <?define KfwRegRoot="SOFTWARE\MIT\Kerberos"?>

    <?define DocDir="$(var.TargetDir)doc\"?>
    <?define IncDir="$(var.TargetDir)include\"?>
    <?define SrcDir="$(var.TargetDir)"?>
    <?define InstallDir="$(var.TargetDir)windows\installer\"?>
    <?define SampleDir="$(var.TargetDir)sample\"?>
    <?define ConfigDir=".\"?>
    <?define SystemDir="$(env.SystemRoot)\System32\"?>

    <?include lang\config_$(var.BuildLang).wxi?>
    
    <!-- Parameters for the features containing debug symbols -->
    <?ifdef env.NODEBUG?>
         <?ifdef env.DEBUG_SYMBOL?>
              <?define DebugSyms?>
         <?endif?>
    <?else?>
         <?define Debug?>
         <?define DebugSyms?>
    <?endif?>
    <?ifdef DebugSyms?>
         <?ifdef Debug?>
             <?define DebugSymInstallDefault="followParent"?>
             <?define DebugSymLowLevel="30"?>
             <?define DebugSymHighLevel="130"?>
         <?else?>
             <?define DebugSymInstallDefault="followParent"?>
             <?define DebugSymLowLevel="130"?>
             <?define DebugSymHighLevel="130"?>
         <?endif?>
    <?endif?>
    
    <!-- Configuration macros -->
    <?ifndef LeashAfsStatus?>
        <?define LeashAfsStatus="1"?>
    <?endif?>
    <?ifndef LeashCreateMissingConfig?>
        <?define LeashCreateMissingConfig="0"?>
    <?endif?>
    <?ifndef LeashAutoRenewTickets?>
        <?define LeashAutoRenewTickets="1"?>
    <?endif?>
    <?ifndef LeashLockFileLocations?>
        <?define LeashLockFileLocations="0"?>
    <?endif?>
    <?ifndef LeashMsLsaImport?>
        <?define LeashMsLsaImport="2"?>
    <?endif?>
    <?ifndef LeashLifetime?>
        <?define LeashLifetime="0"?>
    <?endif?>
    <?ifndef LeashRenewTill?>
        <?define LeashRenewTill="0"?>
    <?endif?>
    <?ifndef LeashRenewable?>
        <?define LeashRenewable="0"?>
    <?endif?>
    <?ifndef LeashForwardable?>
        <?define LeashForwardable="1"?>
    <?endif?>
    <?ifndef LeashNoAddresses?>
        <?define LeashNoAddresses="1"?>
    <?endif?>
    <?ifndef LeashProxiable?>
        <?define LeashProxiable="0"?>
    <?endif?>
    <?ifndef LeashPublicIp?>
        <?define LeashPublicIp="0"?>
    <?endif?>
    <?ifndef LeashUseKrb4?>
        <?define LeashUseKrb4="1"?>
    <?endif?>
    <?ifndef LeashHideKinitOptions?>
        <?define LeashHideKinitOptions="0"?>
    <?endif?>
    <?ifndef LeashLifeMin?>
        <?define LeashLifeMin="5"?>
    <?endif?>
    <?ifndef LeashLifeMax?>
        <?define LeashLifeMax="1440"?>
    <?endif?>
    <?ifndef LeashRenewMin?>
        <?define LeashRenewMin="600"?>
    <?endif?>
    <?ifndef LeashRenewMax?>
        <?define LeashRenewMax="43200"?>
    <?endif?>
    <?ifndef LeashUppercaseRealm?>
        <?define LeashUppercaseRealm="1"?>
    <?endif?>
    <?ifndef LeashTimeHost?>
        <?define LeashTimeHost="time"?>
    <?endif?>
    <?ifndef LeashPreserveKinitOptions?>
        <?define LeashPreserveKinitOptions="0"?>
    <?endif?>
    <!-- These actually have no defaults. -->
    <?ifndef Krb4KrbRealms?>
        <?define Krb4KrbRealms=""?>
    <?endif?>
    <?ifndef Krb4KrbConf?>
        <?define Krb4KrbConf=""?>
    <?endif?>
    <?ifndef Krb4ConfigDir?>
        <?define Krb4ConfigDir=""?>
    <?endif?>
    <?ifndef Krb4TicketFile?>
        <?define Krb4TicketFile=""?>
    <?endif?>
    <?ifndef Krb5Config?>
        <?define Krb5Config=""?>
    <?endif?>
    <?ifndef Krb5CcName?>
        <?define Krb5CcName=""?>
    <?endif?>
    <?ifndef Krb5PreserveIdentity?>
        <?define Krb5PreserveIdentity="1"?>
    <?endif?>

    <!-- If neither NetIDMgr or Leash is specified, we default to NetIDMgr -->
    <?ifndef UseNetIDMgr?>
        <?ifndef UseLeash?>
             <?define UseNetIDMgr="1"?>
        <?endif?>
    <?endif?>
</Include>