xref: /freebsd/crypto/krb5/src/windows/installer/wix/features.wxi (revision 9f0f30bc1f5f08d25243952bad3fdc6e13a75c2a)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3
4  Copyright (C) 2004, 2005, 2006 by the Massachusetts Institute of Technology.
5  All rights reserved.
6
7  Export of this software from the United States of America may
8    require a specific license from the United States Government.
9    It is the responsibility of any person or organization contemplating
10    export to obtain such a license before exporting.
11
12  WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13  distribute this software and its documentation for any purpose and
14  without fee is hereby granted, provided that the above copyright
15  notice appear in all copies and that both that copyright notice and
16  this permission notice appear in supporting documentation, and that
17  the name of M.I.T. not be used in advertising or publicity pertaining
18  to distribution of the software without specific, written prior
19  permission.  Furthermore if you modify this software you must label
20  your software as modified software and not distribute it in such a
21  fashion that it might be confused with the original M.I.T. software.
22  M.I.T. makes no representations about the suitability of
23  this software for any purpose.  It is provided "as is" without express
24  or implied warranty.
25
26  -->
27<Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
28    <Feature
29        Id="feaKfw"
30        AllowAdvertise="no"
31        Description="!(loc.KerberosDesc)"
32        InstallDefault="local"
33        Title="!(loc.KerberosTitle)"
34        ConfigurableDirectory="KERBEROSDIR"
35        Level="30">
36        <Feature
37            Id="feaKfwClient"
38            AllowAdvertise="no"
39            Description="!(loc.KerberosClientDesc)"
40            InstallDefault="local"
41            Title="!(loc.KerberosClientTitle)"
42            Level="30">
43
44            <?ifdef DebugSyms?>
45	    	<Feature
46                    Id="feaKfwClientDebug"
47                    AllowAdvertise="no"
48                    Description="!(loc.StrKerberosClientDebugDesc)"
49                    Display="expand"
50		    InstallDefault="$(var.DebugSymInstallDefault)"
51                    Level="$(var.DebugSymLowLevel)"
52                    Title="!(loc.StrKerberosClientDebugTitle)">
53                    <ComponentRef Id="cmf_bin_debug"/>
54                    <ComponentRef Id="cmf_preauth_debug"/>
55		    <ComponentRef Id="cmp_ClientSystemDebug"/>
56                    <?include runtime_debug.wxi?>
57	        </Feature>
58	    <?endif?>
59      <?if $(sys.BUILDARCH)="x64"?>
60          <ComponentRef Id="cmf_comerr64_dll" />
61          <ComponentRef Id="cmf_gssapi64_dll" />
62          <ComponentRef Id="cmf_k5sprt64_dll" />
63          <ComponentRef Id="cmf_krb5_64_dll" />
64          <ComponentRef Id="cmf_krbcc64_dll" />
65          <ComponentRef Id="cmf_leashw64_dll" />
66          <ComponentRef Id="cmf_xpprof64_dll" />
67          <ComponentRef Id="cmf_spake64_dll" />
68       <?endif?>
69
70            <ComponentRef Id="cmf_comerr32_dll" />
71            <ComponentRef Id="cmf_gss_client_exe" />
72            <ComponentRef Id="cmf_gss_server_exe" />
73            <ComponentRef Id="cmf_gssapi32_dll" />
74            <ComponentRef Id="cmf_kdestroy_exe" />
75            <ComponentRef Id="cmf_kcpytkt_exe" />
76            <ComponentRef Id="cmf_kdeltkt_exe" />
77            <ComponentRef Id="cmf_kinit_exe" />
78            <ComponentRef Id="cmf_klist_exe" />
79            <ComponentRef Id="cmf_kpasswd_exe" />
80            <ComponentRef Id="cmf_kswitch_exe" />
81            <ComponentRef Id="cmf_kvno_exe" />
82            <ComponentRef Id="cmf_krb5_32_dll" />
83            <ComponentRef Id="cmf_k5sprt32_dll" />
84            <ComponentRef Id="cmf_krbcc32_dll" />
85            <ComponentRef Id="cmf_ccapiserver_exe" />
86            <ComponentRef Id="cmf_ms2mit_exe" />
87            <ComponentRef Id="cmf_mit2ms_exe" />
88            <ComponentRef Id="cmf_xpprof32_dll" />
89            <ComponentRef Id="cmf_spake32_dll" />
90
91            <ComponentRef Id="cmf_leashw32_dll" />
92
93            <ComponentRef Id="cmf_leash_exe" />
94<!--            <ComponentRef Id="csc_leash32_exe" /> -->
95	    <ComponentRef Id="cmf_kfwlogon_DLL" />
96            <ComponentRef Id="cmf_kfwcpcc_EXE" />
97
98            <!-- Kerberos V options -->
99            <ComponentRef Id="rcm_krb5_1" />
100            <ComponentRef Id="rcm_krb5_2" />
101            <ComponentRef Id="rcm_krb5_3" />
102
103            <!-- Leash config options -->
104            <ComponentRef Id="rcm_leash_2" />
105            <ComponentRef Id="rcm_leash_3" />
106
107            <ComponentRef Id="cmf_leash32_chm" />
108
109            <!-- Leash dll options -->
110            <ComponentRef Id="rcm_leashdll_1" />
111            <ComponentRef Id="rcm_leashdll_2" />
112            <ComponentRef Id="rcm_leashdll_3" />
113            <ComponentRef Id="rcm_leashdll_4" />
114            <ComponentRef Id="rcm_leashdll_5" />
115            <ComponentRef Id="rcm_leashdll_6" />
116            <ComponentRef Id="rcm_leashdll_7" />
117            <ComponentRef Id="rcm_leashdll_9" />
118            <ComponentRef Id="rcm_leashdll_10" />
119            <ComponentRef Id="rcm_leashdll_11" />
120            <ComponentRef Id="rcm_leashdll_12" />
121            <ComponentRef Id="rcm_leashdll_13" />
122            <ComponentRef Id="rcm_leashdll_15" />
123            <ComponentRef Id="rcm_leashdll_16" />
124            <ComponentRef Id="rcm_leashdll_17" />
125
126            <ComponentRef Id="cmf_krb5_ini" />
127
128            <ComponentRef Id="rcm_common" />
129            <ComponentRef Id="rcm_client" />
130
131            <Feature Id="feaKfwLeashStartup" AllowAdvertise="no" Display="hidden" Level="130">
132                <Condition Level="30">LEASHAUTOSTART = 1</Condition>
133                <ComponentRef Id="csc_LeashStartup" />
134            </Feature>
135            <ComponentRef Id="SMshortcut" />
136            <ComponentRef Id="Dshortcut" />
137            <?include runtime.wxi?>
138        </Feature> <!-- /feaKfwClient -->
139
140        <Feature
141            Id="feaKfwSDK"
142            AllowAdvertise="no"
143            Description="!(loc.KerberosSDKDesc)"
144            InstallDefault="local"
145            Level="130"
146            Title="!(loc.KerberosSDKTitle)">
147
148        <?if $(sys.BUILDARCH) = "x86" ?>
149            <ComponentRef Id="cmp_dirlib_i386" />
150        <?else?>
151            <ComponentRef Id="cmp_dirlib_amd64" />
152        <?endif?>
153            <ComponentRef Id="cmp_dirinc_krb5_gssapi" />
154            <ComponentRef Id="cmp_dirinc_krb5_krb5" />
155            <ComponentRef Id="cmp_dirinc_krb5" />
156<!--            <ComponentRef Id="cmp_dirinc_krbcc" /> -->
157            <ComponentRef Id="cmp_dirinc_leash" />
158            <ComponentRef Id="cmp_dirinc_loadfuncs" />
159            <ComponentRef Id="rcm_common" />
160            <ComponentRef Id="rcm_sdk" />
161        </Feature> <!-- /feaKfwSDK -->
162
163        <Feature
164            Id="feaKfwDocs"
165            AllowAdvertise="no"
166            Description="!(loc.KerberosDocDesc)"
167            InstallDefault="local"
168            Level="30"
169            Title="!(loc.KerberosDocTitle)">
170
171            <ComponentRef Id="rcm_common" />
172            <ComponentRef Id="rcm_docs" />
173        </Feature>
174
175    </Feature>
176</Include>
177