xref: /freebsd/crypto/krb5/src/windows/installer/wix/files.wxi (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert<?xml version="1.0" encoding="utf-8"?>
2*7f2fe78bSCy Schubert<!--
3*7f2fe78bSCy Schubert
4*7f2fe78bSCy Schubert  Copyright (C) 2004, 2005, 2006 by the Massachusetts Institute of Technology.
5*7f2fe78bSCy Schubert  All rights reserved.
6*7f2fe78bSCy Schubert
7*7f2fe78bSCy Schubert  Export of this software from the United States of America may
8*7f2fe78bSCy Schubert    require a specific license from the United States Government.
9*7f2fe78bSCy Schubert    It is the responsibility of any person or organization contemplating
10*7f2fe78bSCy Schubert    export to obtain such a license before exporting.
11*7f2fe78bSCy Schubert
12*7f2fe78bSCy Schubert  WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13*7f2fe78bSCy Schubert  distribute this software and its documentation for any purpose and
14*7f2fe78bSCy Schubert  without fee is hereby granted, provided that the above copyright
15*7f2fe78bSCy Schubert  notice appear in all copies and that both that copyright notice and
16*7f2fe78bSCy Schubert  this permission notice appear in supporting documentation, and that
17*7f2fe78bSCy Schubert  the name of M.I.T. not be used in advertising or publicity pertaining
18*7f2fe78bSCy Schubert  to distribution of the software without specific, written prior
19*7f2fe78bSCy Schubert  permission.  Furthermore if you modify this software you must label
20*7f2fe78bSCy Schubert  your software as modified software and not distribute it in such a
21*7f2fe78bSCy Schubert  fashion that it might be confused with the original M.I.T. software.
22*7f2fe78bSCy Schubert  M.I.T. makes no representations about the suitability of
23*7f2fe78bSCy Schubert  this software for any purpose.  It is provided "as is" without express
24*7f2fe78bSCy Schubert  or implied warranty.
25*7f2fe78bSCy Schubert
26*7f2fe78bSCy Schubert  -->
27*7f2fe78bSCy Schubert<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
28*7f2fe78bSCy Schubert  <Property Id="DISABLEADVTSHORTCUTS" Value="1" />
29*7f2fe78bSCy Schubert  <Property Id="SYSTEMKRB5INI">
30*7f2fe78bSCy Schubert    <DirectorySearch Id="WindowsFolder" Path="[WindowsFolder]">
31*7f2fe78bSCy Schubert      <FileSearch Name="krb5.ini"/>
32*7f2fe78bSCy Schubert    </DirectorySearch>
33*7f2fe78bSCy Schubert  </Property>
34*7f2fe78bSCy Schubert
35*7f2fe78bSCy Schubert  <Directory Id="TARGETDIR" Name="SourceDir">
36*7f2fe78bSCy Schubert    <Directory Id="DesktopFolder" Name="Desktop"/>
37*7f2fe78bSCy Schubert    <Directory Id="$(var.PISystemFolder)" SourceName="System">
38*7f2fe78bSCy Schubert        <Component Id="cmf_kfwlogon_DLL" Guid="$(var.cmf_kfwlogon_DLL_guid)">
39*7f2fe78bSCy Schubert            <File Id="filekfwlogon_DLL" Name="kfwlogon.dll" KeyPath="yes" DiskId="1" Source="$(var.BinDir)kfwlogon.dll" />
40*7f2fe78bSCy Schubert            <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\MIT_KFW" Action="createAndRemoveOnUninstall">
41*7f2fe78bSCy Schubert                <RegistryValue Name="Asynchronous" Type="integer" Value="0" />
42*7f2fe78bSCy Schubert                <RegistryValue Name="Impersonate" Type="integer" Value="0" />
43*7f2fe78bSCy Schubert                <RegistryValue Name="DLLName" Type="string" Value="[#filekfwlogon_DLL]" />
44*7f2fe78bSCy Schubert                <RegistryValue Name="Logon" Type="string" Value="KFW_Logon_Event" />
45*7f2fe78bSCy Schubert            </RegistryKey>
46*7f2fe78bSCy Schubert          <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\MIT Kerberos\NetworkProvider" Action="createAndRemoveOnUninstall">
47*7f2fe78bSCy Schubert            <RegistryValue Name="AuthentProviderPath" Type="expandable" Value="[$(var.PISystemFolder)]kfwlogon.dll"/>
48*7f2fe78bSCy Schubert            <RegistryValue Name="VerboseLogging" Type="integer" Value="10"/>
49*7f2fe78bSCy Schubert            <RegistryValue Name="ProviderPath" Type="expandable" Value="[$(var.PISystemFolder)]kfwlogon.dll"/>
50*7f2fe78bSCy Schubert            <RegistryValue Name="Class" Type="integer" Value="2" />
51*7f2fe78bSCy Schubert            <RegistryValue Name="Name" Type="string" Value="MIT Kerberos"/>
52*7f2fe78bSCy Schubert          </RegistryKey>
53*7f2fe78bSCy Schubert         </Component>
54*7f2fe78bSCy Schubert         <Component Id="cmf_kfwcpcc_EXE" Guid="$(var.cmf_kfwcpcc_EXE_guid)">
55*7f2fe78bSCy Schubert             <File Id="filekfwcpcc_EXE"  Name="kfwcpcc.exe"  DiskId="1" Source="$(var.BinDir)kfwcpcc.exe" />
56*7f2fe78bSCy Schubert         </Component>
57*7f2fe78bSCy Schubert     <?ifdef DebugSyms?>
58*7f2fe78bSCy Schubert         <Component Id="cmp_ClientSystemDebug" Guid="$(var.cmp_ClientSystemDebug_guid)">
59*7f2fe78bSCy Schubert		<File Id="filekfwlogon_PDB" Name="kfwlogon.pdb" KeyPath="yes" DiskId="1" Source="$(var.BinDir)kfwlogon.pdb" />
60*7f2fe78bSCy Schubert		<File Id="filekfwcpcc_PDB" Name="kfwcpcc.pdb" DiskId="1" Source="$(var.BinDir)kfwcpcc.pdb" />
61*7f2fe78bSCy Schubert         </Component>
62*7f2fe78bSCy Schubert     <?endif?>
63*7f2fe78bSCy Schubert     </Directory>
64*7f2fe78bSCy Schubert    <Directory Id="$(var.PIProgramFilesFolder)">
65*7f2fe78bSCy Schubert        <Directory Id="dirMIT" Name="MIT" SourceName=".">
66*7f2fe78bSCy Schubert            <Directory Id="KERBEROSDIR" Name="Kerberos">
67*7f2fe78bSCy Schubert                <Directory Id="dirbin" Name="bin" FileSource="$(var.BinDir)">
68*7f2fe78bSCy Schubert
69*7f2fe78bSCy Schubert		    <!-- Kerberos V options -->
70*7f2fe78bSCy Schubert		    <Component Id="rcm_krb5_1" Guid="$(var.rcm_krb5_1_guid)" DiskId="1">
71*7f2fe78bSCy Schubert			<RegistryValue Id="reg_krb5_1" Root="HKLM" Key="Software\MIT\kerberos5" Name="config" Type="string" Value="[KRB5CONFIG]" KeyPath="yes" />
72*7f2fe78bSCy Schubert		    	<Condition>KRB5CONFIG</Condition>
73*7f2fe78bSCy Schubert		    </Component>
74*7f2fe78bSCy Schubert		    <Component Id="rcm_krb5_2" Guid="$(var.rcm_krb5_2_guid)" DiskId="1">
75*7f2fe78bSCy Schubert			<RegistryValue Id="reg_krb5_2" Root="HKLM" Key="Software\MIT\kerberos5" Name="ccname" Type="string" Value="[KRB5CCNAME]" KeyPath="yes" />
76*7f2fe78bSCy Schubert		    	<Condition>KRB5CCNAME</Condition>
77*7f2fe78bSCy Schubert		    </Component>
78*7f2fe78bSCy Schubert		    <Component Id="rcm_krb5_3" Guid="$(var.rcm_krb5_3_guid)" DiskId="1">
79*7f2fe78bSCy Schubert			<RegistryValue Id="reg_krb5_3" Root="HKLM" Key="Software\MIT\kerberos5" Name="PreserveInitialTicketIdentity" Type="integer" Value="[KRB5PRESERVEIDENTITY]" KeyPath="yes" />
80*7f2fe78bSCy Schubert		    	<Condition>KRB5PRESERVEIDENTITY</Condition>
81*7f2fe78bSCy Schubert		    </Component>
82*7f2fe78bSCy Schubert
83*7f2fe78bSCy Schubert                    <Component Id="cmf_comerr32_dll" Guid="$(var.cmf_comerr32_dll_guid)" DiskId="1">
84*7f2fe78bSCy Schubert	                    <File Id="fil_comerr32_dll" Name="$(var.cmf_comerr32_dll_name)" KeyPath="yes" />
85*7f2fe78bSCy Schubert                    </Component>
86*7f2fe78bSCy Schubert                    <Component Id="cmf_gss_client_exe" Guid="$(var.cmf_gss_client_exe_guid)" DiskId="1">
87*7f2fe78bSCy Schubert	                    <File Id="fil_gss_client_exe" Name="gss-client.exe" KeyPath="yes" />
88*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_gss_client_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-client" Action="createAndRemoveOnUninstall" />
89*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_gss_client_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-client" Name="Flags" Type="integer" Value="1032" />
90*7f2fe78bSCy Schubert                    </Component>
91*7f2fe78bSCy Schubert                    <Component Id="cmf_gss_server_exe" Guid="$(var.cmf_gss_server_exe_guid)" DiskId="1">
92*7f2fe78bSCy Schubert	                    <File Id="fil_gss_server_exe" Name="gss-server.exe" KeyPath="yes" />
93*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_gss_server_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-server" Action="createAndRemoveOnUninstall" />
94*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_gss_server_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-server" Name="Flags" Type="integer" Value="1032" />
95*7f2fe78bSCy Schubert                    </Component>
96*7f2fe78bSCy Schubert                    <Component Id="cmf_gssapi32_dll" Guid="$(var.cmf_gssapi32_dll_guid)" DiskId="1">
97*7f2fe78bSCy Schubert	                    <File Id="fil_gssapi32_dll" Name="$(var.cmf_gssapi32_dll_name)" KeyPath="yes" />
98*7f2fe78bSCy Schubert                    </Component>
99*7f2fe78bSCy Schubert                    <Component Id="cmf_kdestroy_exe" Guid="$(var.cmf_kdestroy_exe_guid)" DiskId="1">
100*7f2fe78bSCy Schubert	                    <File Id="fil_kdestroy_exe" Name="kdestroy.exe" KeyPath="yes" />
101*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_kdestroy_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kdestroy" Action="createAndRemoveOnUninstall" />
102*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_kdestroy_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kdestroy" Name="Flags" Type="integer" Value="1032" />
103*7f2fe78bSCy Schubert                    </Component>
104*7f2fe78bSCy Schubert                    <Component Id="cmf_kcpytkt_exe" Guid="$(var.cmf_kcpytkt_exe_guid)" DiskId="1">
105*7f2fe78bSCy Schubert	                    <File Id="fil_kcpytkt_exe" Name="kcpytkt.exe" KeyPath="yes" />
106*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_kcpytkt_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kcpytkt" Action="createAndRemoveOnUninstall" />
107*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_kcpytkt_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kcpytkt" Name="Flags" Type="integer" Value="1032" />
108*7f2fe78bSCy Schubert                    </Component>
109*7f2fe78bSCy Schubert                    <Component Id="cmf_kdeltkt_exe" Guid="$(var.cmf_kdeltkt_exe_guid)" DiskId="1">
110*7f2fe78bSCy Schubert	                    <File Id="fil_kdeltkt_exe" Name="kdeltkt.exe" KeyPath="yes" />
111*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_kdeltkt_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kdeltkt" Action="createAndRemoveOnUninstall" />
112*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_kdeltkt_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kdeltkt" Name="Flags" Type="integer" Value="1032" />
113*7f2fe78bSCy Schubert                    </Component>
114*7f2fe78bSCy Schubert                    <Component Id="cmf_kinit_exe" Guid="$(var.cmf_kinit_exe_guid)" DiskId="1">
115*7f2fe78bSCy Schubert	                    <File Id="fil_kinit_exe" Name="kinit.exe" KeyPath="yes" />
116*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_kinit_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kinit" Action="createAndRemoveOnUninstall" />
117*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_kinit_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kinit" Name="Flags" Type="integer" Value="1032" />
118*7f2fe78bSCy Schubert                    </Component>
119*7f2fe78bSCy Schubert                    <Component Id="cmf_klist_exe" Guid="$(var.cmf_klist_exe_guid)" DiskId="1">
120*7f2fe78bSCy Schubert	                    <File Id="fil_klist_exe" Name="klist.exe" KeyPath="yes" />
121*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_klist_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\klist" Action="createAndRemoveOnUninstall" />
122*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_klist_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\klist" Name="Flags" Type="integer" Value="1032" />
123*7f2fe78bSCy Schubert                    </Component>
124*7f2fe78bSCy Schubert                    <Component Id="cmf_kpasswd_exe" Guid="$(var.cmf_kpasswd_exe_guid)" DiskId="1">
125*7f2fe78bSCy Schubert	                    <File Id="fil_kpasswd_exe" Name="kpasswd.exe" KeyPath="yes" />
126*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_kpasswd_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kpasswd" Action="createAndRemoveOnUninstall" />
127*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_kpasswd_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kpasswd" Name="Flags" Type="integer" Value="1032" />
128*7f2fe78bSCy Schubert                    </Component>
129*7f2fe78bSCy Schubert                    <Component Id="cmf_kswitch_exe" Guid="$(var.cmf_kswitch_exe_guid)" DiskId="1">
130*7f2fe78bSCy Schubert                      <File Id="fil_kswitch_exe" Name="kswitch.exe" KeyPath="yes" />
131*7f2fe78bSCy Schubert                      <RegistryKey Id="reg_ts_kswitch_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kswitch" Action="createAndRemoveOnUninstall" />
132*7f2fe78bSCy Schubert                      <RegistryValue Id="reg_ts_kswitch_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kswitch" Name="Flags" Type="integer" Value="1032" />
133*7f2fe78bSCy Schubert                    </Component>
134*7f2fe78bSCy Schubert                    <Component Id="cmf_kvno_exe" Guid="$(var.cmf_kvno_exe_guid)" DiskId="1">
135*7f2fe78bSCy Schubert	                    <File Id="fil_kvno_exe" Name="kvno.exe" KeyPath="yes" />
136*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_kvno_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kvno" Action="createAndRemoveOnUninstall" />
137*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_kvno_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kvno" Name="Flags" Type="integer" Value="1032" />
138*7f2fe78bSCy Schubert                    </Component>
139*7f2fe78bSCy Schubert                    <Component Id="cmf_krb5_32_dll" Guid="$(var.cmf_krb5_32_dll_guid)" DiskId="1">
140*7f2fe78bSCy Schubert	                    <File Id="fil_krb5_32_dll" Name="$(var.cmf_krb5_32_dll_name)" KeyPath="yes" />
141*7f2fe78bSCy Schubert	                    <Environment Id="env_kclient_path" Action="set" Name="PATH" Part="last" System="yes" Value="[KERBEROSDIR]bin" />
142*7f2fe78bSCy Schubert	                    <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\ATHENA.MIT.EDU">
143*7f2fe78bSCy Schubert	                      <RegistryValue Name="KdcNames" Type="multiString">
144*7f2fe78bSCy Schubert	                        <MultiStringValue>kerberos.mit.edu</MultiStringValue>
145*7f2fe78bSCy Schubert	                        <MultiStringValue>kerberos-1.mit.edu</MultiStringValue>
146*7f2fe78bSCy Schubert	                        <MultiStringValue>kerberos-2.mit.edu</MultiStringValue>
147*7f2fe78bSCy Schubert	                      </RegistryValue>
148*7f2fe78bSCy Schubert	                    </RegistryKey>
149*7f2fe78bSCy Schubert	                    <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\CSAIL.MIT.EDU">
150*7f2fe78bSCy Schubert	                      <RegistryValue Name="KdcNames" Type="multiString">
151*7f2fe78bSCy Schubert	                        <MultiStringValue>kerberos-1.csail.mit.edu</MultiStringValue>
152*7f2fe78bSCy Schubert	                        <MultiStringValue>kerberos-2.csail.mit.edu</MultiStringValue>
153*7f2fe78bSCy Schubert	                      </RegistryValue>
154*7f2fe78bSCy Schubert	                    </RegistryKey>
155*7f2fe78bSCy Schubert                    </Component>
156*7f2fe78bSCy Schubert                    <Component Id="cmf_k5sprt32_dll" Guid="$(var.cmf_k5sprt32_dll_guid)" DiskId="1">
157*7f2fe78bSCy Schubert	                    <File Id="fil_k5sprt32_dll" Name="$(var.cmf_k5sprt32_dll_name)" />
158*7f2fe78bSCy Schubert                    </Component>
159*7f2fe78bSCy Schubert                    <Component Id="cmf_krbcc32_dll" Guid="$(var.cmf_krbcc32_dll_guid)" DiskId="1">
160*7f2fe78bSCy Schubert	                    <File Id="fil_krbcc32_dll" Name="$(var.cmf_krbcc32_dll_name)" KeyPath="yes" />
161*7f2fe78bSCy Schubert                    </Component>
162*7f2fe78bSCy Schubert                    <Component Id="cmf_ccapiserver_exe" Guid="$(var.cmf_ccapiserver_exe_guid)" DiskId="1">
163*7f2fe78bSCy Schubert	                    <File Id="fil_ccapiserver_exe" Name="$(var.cmf_ccapiserver_exe_name)" KeyPath="yes" />
164*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_krbcc32s_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\ccapiserver" Action="createAndRemoveOnUninstall" />
165*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_krbcc32s_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\ccapiserver" Name="Flags" Type="integer" Value="1032" />
166*7f2fe78bSCy Schubert                    </Component>
167*7f2fe78bSCy Schubert                    <Component Id="cmf_leash_exe" Guid="$(var.cmf_leash_exe_guid)" DiskId="1">
168*7f2fe78bSCy Schubert                      <File Id="fil_leash_exe" Name="MIT Kerberos.exe" KeyPath="yes">
169*7f2fe78bSCy Schubert                      </File>
170*7f2fe78bSCy Schubert                      <RegistryKey Id="reg_ts_leash32_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\leash32" Action="createAndRemoveOnUninstall" />
171*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_leash32_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\leash32" Name="Flags" Type="integer" Value="1032" />
172*7f2fe78bSCy Schubert                    </Component>
173*7f2fe78bSCy Schubert
174*7f2fe78bSCy Schubert<!--                    <Component Id="csc_leash32_exe" Guid="$(var.csc_leash32_exe_guid)" DiskId="1">
175*7f2fe78bSCy Schubert                        <CreateFolder Directory="dirShortcut" />
176*7f2fe78bSCy Schubert                        <Condition>USELEASH</Condition>
177*7f2fe78bSCy Schubert                    </Component> -->
178*7f2fe78bSCy Schubert
179*7f2fe78bSCy Schubert                    <!-- Leash32 configuration -->
180*7f2fe78bSCy Schubert                    <Component Id="rcm_leash_2" Guid="$(var.rcm_leash_2_guid)" DiskId="1">
181*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leash_2" Root="HKLM" Key="Software\MIT\Leash32\Settings" Name="createmissingconfig" Type="integer" Value="[LEASHCREATEMISSINGCONFIG]" KeyPath="yes"/>
182*7f2fe78bSCy Schubert	                    <Condition>LEASHCREATEMISSINGCONFIG</Condition>
183*7f2fe78bSCy Schubert                    </Component>
184*7f2fe78bSCy Schubert                    <Component Id="rcm_leash_3" Guid="$(var.rcm_leash_3_guid)" DiskId="1">
185*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leash_3" Root="HKLM" Key="Software\MIT\Leash32\Settings" Name="AutoRenewTickets" Type="integer" Value="[LEASHAUTORENEWTICKETS]" KeyPath="yes"/>
186*7f2fe78bSCy Schubert	                    <Condition>LEASHAUTORENEWTICKETS</Condition>
187*7f2fe78bSCy Schubert                    </Component>
188*7f2fe78bSCy Schubert                    <Component Id="csc_LeashStartup" Guid="$(var.csc_LeashStartup_guid)" DiskId="1">
189*7f2fe78bSCy Schubert                        <RegistryValue Id="reg_sc_leash_marker" Root="HKCU" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="LeashAutoStart" Type="integer" Value="1" KeyPath="yes" />
190*7f2fe78bSCy Schubert                        <Shortcut Id="sc_leash_exe_startup" Advertise="no" Directory="StartupFolder" Name="MIT Kerberos.lnk" Arguments="[LEASHAUTOINIT]" Target="[dirbin]MIT Kerberos.exe" Show="minimized" />
191*7f2fe78bSCy Schubert                    </Component>
192*7f2fe78bSCy Schubert
193*7f2fe78bSCy Schubert                    <Component Id="cmf_leash32_chm" Guid="$(var.cmf_leash32_chm_guid)" DiskId="1">
194*7f2fe78bSCy Schubert	                    <File Id="fil_leash32_chm" Name="MIT Kerberos.chm" KeyPath="yes" />
195*7f2fe78bSCy Schubert                    </Component>
196*7f2fe78bSCy Schubert
197*7f2fe78bSCy Schubert                    <Component Id="cmf_leashw32_dll" Guid="$(var.cmf_leashw32_dll_guid)" DiskId="1">
198*7f2fe78bSCy Schubert	                    <File Id="fil_leashw32_dll" Name="$(var.cmf_leashw32_dll_name)" KeyPath="yes" />
199*7f2fe78bSCy Schubert                    </Component>
200*7f2fe78bSCy Schubert
201*7f2fe78bSCy Schubert                    <!-- Leash DLL configuration -->
202*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_1" Guid="$(var.rcm_leashdll_1_guid)" DiskId="1">
203*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_1" Root="HKLM" Key="Software\MIT\Leash" Name="lifetime" Type="integer" Value="[LEASHLIFETIME]" KeyPath="yes"/>
204*7f2fe78bSCy Schubert	                    <Condition>LEASHLIFETIME</Condition>
205*7f2fe78bSCy Schubert                    </Component>
206*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_2" Guid="$(var.rcm_leashdll_2_guid)" DiskId="1">
207*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_2" Root="HKLM" Key="Software\MIT\Leash" Name="renew_till" Type="integer" Value="[LEASHRENEWTILL]" KeyPath="yes"/>
208*7f2fe78bSCy Schubert	                    <Condition>LEASHRENEWTILL</Condition>
209*7f2fe78bSCy Schubert                    </Component>
210*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_3" Guid="$(var.rcm_leashdll_3_guid)" DiskId="1">
211*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_3" Root="HKLM" Key="Software\MIT\Leash" Name="renewable" Type="integer" Value="[LEASHRENEWABLE]" KeyPath="yes"/>
212*7f2fe78bSCy Schubert	                    <Condition>LEASHRENEWABLE</Condition>
213*7f2fe78bSCy Schubert                    </Component>
214*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_4" Guid="$(var.rcm_leashdll_4_guid)" DiskId="1">
215*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_4" Root="HKLM" Key="Software\MIT\Leash" Name="forwardable" Type="integer" Value="[LEASHFORWARDABLE]" KeyPath="yes"/>
216*7f2fe78bSCy Schubert	                    <Condition>LEASHFORWARDABLE</Condition>
217*7f2fe78bSCy Schubert                    </Component>
218*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_5" Guid="$(var.rcm_leashdll_5_guid)" DiskId="1">
219*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_5" Root="HKLM" Key="Software\MIT\Leash" Name="noaddresses" Type="integer" Value="[LEASHNOADDRESSES]" KeyPath="yes"/>
220*7f2fe78bSCy Schubert	                    <Condition>LEASHNOADDRESSES</Condition>
221*7f2fe78bSCy Schubert                    </Component>
222*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_6" Guid="$(var.rcm_leashdll_6_guid)" DiskId="1">
223*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_6" Root="HKLM" Key="Software\MIT\Leash" Name="proxiable" Type="integer" Value="[LEASHPROXIABLE]" KeyPath="yes"/>
224*7f2fe78bSCy Schubert	                    <Condition>LEASHPROXIABLE</Condition>
225*7f2fe78bSCy Schubert                    </Component>
226*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_7" Guid="$(var.rcm_leashdll_7_guid)" DiskId="1">
227*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_7" Root="HKLM" Key="Software\MIT\Leash" Name="publicip" Type="integer" Value="[LEASHPUBLICIP]" KeyPath="yes"/>
228*7f2fe78bSCy Schubert	                    <Condition>LEASHPUBLICIP</Condition>
229*7f2fe78bSCy Schubert                    </Component>
230*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_9" Guid="$(var.rcm_leashdll_9_guid)" DiskId="1">
231*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_9" Root="HKLM" Key="Software\MIT\Leash" Name="hide_kinit_options" Type="integer" Value="[LEASHHIDEKINITOPTIONS]" KeyPath="yes"/>
232*7f2fe78bSCy Schubert	                    <Condition>LEASHHIDEKINITOPTIONS</Condition>
233*7f2fe78bSCy Schubert                    </Component>
234*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_10" Guid="$(var.rcm_leashdll_10_guid)" DiskId="1">
235*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_10" Root="HKLM" Key="Software\MIT\Leash" Name="life_min" Type="integer" Value="[LEASHLIFEMIN]" KeyPath="yes"/>
236*7f2fe78bSCy Schubert	                    <Condition>LEASHLIFEMIN</Condition>
237*7f2fe78bSCy Schubert                    </Component>
238*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_11" Guid="$(var.rcm_leashdll_11_guid)" DiskId="1">
239*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_11" Root="HKLM" Key="Software\MIT\Leash" Name="life_max" Type="integer" Value="[LEASHLIFEMAX]" KeyPath="yes"/>
240*7f2fe78bSCy Schubert	                    <Condition>LEASHLIFEMAX</Condition>
241*7f2fe78bSCy Schubert                    </Component>
242*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_12" Guid="$(var.rcm_leashdll_12_guid)" DiskId="1">
243*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_12" Root="HKLM" Key="Software\MIT\Leash" Name="renew_min" Type="integer" Value="[LEASHRENEWMIN]" KeyPath="yes"/>
244*7f2fe78bSCy Schubert	                    <Condition>LEASHRENEWMIN</Condition>
245*7f2fe78bSCy Schubert                    </Component>
246*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_13" Guid="$(var.rcm_leashdll_13_guid)" DiskId="1">
247*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_13" Root="HKLM" Key="Software\MIT\Leash" Name="renew_max" Type="integer" Value="[LEASHRENEWMAX]" KeyPath="yes"/>
248*7f2fe78bSCy Schubert	                    <Condition>LEASHRENEWMAX</Condition>
249*7f2fe78bSCy Schubert                    </Component>
250*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_15" Guid="$(var.rcm_leashdll_15_guid)" DiskId="1">
251*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_15" Root="HKLM" Key="Software\MIT\Leash32\Settings" Name="uppercaserealm" Type="integer" Value="[LEASHUPPERCASEREALM]" KeyPath="yes"/>
252*7f2fe78bSCy Schubert	                    <Condition>LEASHUPPERCASEREALM</Condition>
253*7f2fe78bSCy Schubert                    </Component>
254*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_16" Guid="$(var.rcm_leashdll_16_guid)" DiskId="1">
255*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_16" Root="HKLM" Key="Software\MIT\Leash32\Settings" Name="timehost" Type="string" Value="[LEASHTIMEHOST]" KeyPath="yes"/>
256*7f2fe78bSCy Schubert	                    <Condition>LEASHTIMEHOST</Condition>
257*7f2fe78bSCy Schubert                    </Component>
258*7f2fe78bSCy Schubert                    <Component Id="rcm_leashdll_17" Guid="$(var.rcm_leashdll_17_guid)" DiskId="1">
259*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_leashdll_17" Root="HKLM" Key="Software\MIT\Leash" Name="preserve_kinit_options" Type="integer" Value="[LEASHPRESERVEKINITOPTIONS]" KeyPath="yes"/>
260*7f2fe78bSCy Schubert	                    <Condition>LEASHPRESERVEKINITOPTIONS</Condition>
261*7f2fe78bSCy Schubert                    </Component>
262*7f2fe78bSCy Schubert
263*7f2fe78bSCy Schubert                    <Component Id="cmf_ms2mit_exe" Guid="$(var.cmf_ms2mit_exe_guid)" DiskId="1">
264*7f2fe78bSCy Schubert	                    <File Id="fil_ms2mit_exe" Name="ms2mit.exe" KeyPath="yes" />
265*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_ms2mit_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\ms2mit" Action="createAndRemoveOnUninstall" />
266*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_ms2mit_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\ms2mit" Name="Flags" Type="integer" Value="1032" />
267*7f2fe78bSCy Schubert                    </Component>
268*7f2fe78bSCy Schubert                    <Component Id="cmf_mit2ms_exe" Guid="$(var.cmf_mit2ms_exe_guid)" DiskId="1">
269*7f2fe78bSCy Schubert	                    <File Id="fil_mit2ms_exe" Name="mit2ms.exe" KeyPath="yes" />
270*7f2fe78bSCy Schubert	                    <RegistryKey Id="reg_ts_mit2ms_0" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\mit2ms" Action="createAndRemoveOnUninstall" />
271*7f2fe78bSCy Schubert	                    <RegistryValue Id="reg_ts_mit2ms_1" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\mit2ms" Name="Flags" Type="integer" Value="1032" />
272*7f2fe78bSCy Schubert                    </Component>
273*7f2fe78bSCy Schubert                    <Component Id="cmf_xpprof32_dll" Guid="$(var.cmf_xpprof32_dll_guid)" DiskId="1">
274*7f2fe78bSCy Schubert	                    <File Id="fil_xpprof32_dll" Name="$(var.cmf_xpprof32_dll_name)" KeyPath="yes" />
275*7f2fe78bSCy Schubert                    </Component>
276*7f2fe78bSCy Schubert                  <?if $(sys.BUILDARCH) = "x64"?>
277*7f2fe78bSCy Schubert                    <Component Id="cmf_krb5_64_dll" Guid="$(var.cmf_krb5_64_dll_guid)" DiskId="1">
278*7f2fe78bSCy Schubert                      <File Id="fil_krb5_64_dll" Name="$(var.cmf_krb5_64_dll_name)" KeyPath="yes" />
279*7f2fe78bSCy Schubert                    </Component>
280*7f2fe78bSCy Schubert                    <Component Id="cmf_k5sprt64_dll" Guid="$(var.cmf_k5sprt64_dll_guid)" DiskId="1">
281*7f2fe78bSCy Schubert                      <File Id="fil_k5sprt64_dll" Name="$(var.cmf_k5sprt64_dll_name)" />
282*7f2fe78bSCy Schubert                    </Component>
283*7f2fe78bSCy Schubert                    <Component Id="cmf_krbcc64_dll" Guid="$(var.cmf_krbcc64_dll_guid)" DiskId="1">
284*7f2fe78bSCy Schubert                      <File Id="fil_krbcc64_dll" Name="$(var.cmf_krbcc64_dll_name)" KeyPath="yes" />
285*7f2fe78bSCy Schubert                    </Component>
286*7f2fe78bSCy Schubert                    <Component Id="cmf_gssapi64_dll" Guid="$(var.cmf_gssapi64_dll_guid)" DiskId="1">
287*7f2fe78bSCy Schubert                      <File Id="fil_gssapi64_dll" Name="$(var.cmf_gssapi64_dll_name)" KeyPath="yes" />
288*7f2fe78bSCy Schubert                    </Component>
289*7f2fe78bSCy Schubert                    <Component Id="cmf_comerr64_dll" Guid="$(var.cmf_comerr64_dll_guid)" DiskId="1">
290*7f2fe78bSCy Schubert                      <File Id="fil_comerr64_dll" Name="$(var.cmf_comerr64_dll_name)" KeyPath="yes" />
291*7f2fe78bSCy Schubert                    </Component>
292*7f2fe78bSCy Schubert                    <Component Id="cmf_leashw64_dll" Guid="$(var.cmf_leashw64_dll_guid)" DiskId="1">
293*7f2fe78bSCy Schubert                      <File Id="fil_leashw64_dll" Name="$(var.cmf_leashw64_dll_name)" KeyPath="yes" />
294*7f2fe78bSCy Schubert                    </Component>
295*7f2fe78bSCy Schubert                    <Component Id="cmf_xpprof64_dll" Guid="$(var.cmf_xpprof64_dll_guid)" DiskId="1">
296*7f2fe78bSCy Schubert                      <File Id="fil_xpprof64_dll" Name="$(var.cmf_xpprof64_dll_name)" KeyPath="yes" />
297*7f2fe78bSCy Schubert                    </Component>
298*7f2fe78bSCy Schubert                  <?endif?>
299*7f2fe78bSCy Schubert
300*7f2fe78bSCy Schubert                  <!-- Debug symbols -->
301*7f2fe78bSCy Schubert                <?ifdef DebugSyms?>
302*7f2fe78bSCy Schubert                    <Component Id="cmf_bin_debug" Guid="$(var.cmf_bin_debug_guid)" DiskId="1">
303*7f2fe78bSCy Schubert                        <?if $(sys.BUILDARCH) = "x86" ?>
304*7f2fe78bSCy Schubert	                    <File Id="fil_comerr32_pdb" Name="comerr32.pdb" />
305*7f2fe78bSCy Schubert	                    <File Id="fil_gssapi32_pdb" Name="gssapi32.pdb" />
306*7f2fe78bSCy Schubert	                    <File Id="fil_krb5_32_pdb" Name="krb5_32.pdb" KeyPath="yes" />
307*7f2fe78bSCy Schubert	                    <File Id="fil_k5sprt32_pdb" Name="k5sprt32.pdb" />
308*7f2fe78bSCy Schubert	                    <File Id="fil_krbcc32_pdb" Name="krbcc32.pdb" />
309*7f2fe78bSCy Schubert	                    <File Id="fil_leashw32_pdb" Name="leashw32.pdb" />
310*7f2fe78bSCy Schubert	                    <File Id="fil_xpprof32_pdb" Name="xpprof32.pdb" />
311*7f2fe78bSCy Schubert                        <?else?>
312*7f2fe78bSCy Schubert	                    <File Id="fil_comerr64_pdb" Name="comerr64.pdb" />
313*7f2fe78bSCy Schubert	                    <File Id="fil_gssapi64_pdb" Name="gssapi64.pdb" />
314*7f2fe78bSCy Schubert	                    <File Id="fil_krb5_64_pdb" Name="krb5_64.pdb" KeyPath="yes" />
315*7f2fe78bSCy Schubert	                    <File Id="fil_k5sprt64_pdb" Name="k5sprt64.pdb" />
316*7f2fe78bSCy Schubert	                    <File Id="fil_krbcc64_pdb" Name="krbcc64.pdb" />
317*7f2fe78bSCy Schubert	                    <File Id="fil_leashw64_pdb" Name="leashw64.pdb" />
318*7f2fe78bSCy Schubert	                    <File Id="fil_xpprof64_pdb" Name="xpprof64.pdb" />
319*7f2fe78bSCy Schubert                        <?endif?>
320*7f2fe78bSCy Schubert                      <File Id="fil_leash_pdb" Name="leash.pdb" />
321*7f2fe78bSCy Schubert                      <File Id="fil_ccapiserver_pdb" Name="ccapiserver.pdb" />
322*7f2fe78bSCy Schubert                      <File Id="fil_gss_client_pdb" Name="gss-client.pdb" />
323*7f2fe78bSCy Schubert	                    <File Id="fil_gss_server_pdb" Name="gss-server.pdb" />
324*7f2fe78bSCy Schubert	                    <File Id="fil_kdestroy_pdb" Name="kdestroy.pdb" />
325*7f2fe78bSCy Schubert	                    <File Id="fil_kcpytkt_pdb" Name="kcpytkt.pdb" />
326*7f2fe78bSCy Schubert	                    <File Id="fil_kdeltkt_pdb" Name="kdeltkt.pdb" />
327*7f2fe78bSCy Schubert	                    <File Id="fil_kinit_pdb" Name="kinit.pdb" />
328*7f2fe78bSCy Schubert	                    <File Id="fil_klist_pdb" Name="klist.pdb" />
329*7f2fe78bSCy Schubert	                    <File Id="fil_kpasswd_pdb" Name="kpasswd.pdb" />
330*7f2fe78bSCy Schubert                      <File Id="fil_kswitch_pdb" Name="kswitch.pdb" />
331*7f2fe78bSCy Schubert                      <File Id="fil_kvno_pdb" Name="kvno.pdb" />
332*7f2fe78bSCy Schubert	                    <File Id="fil_ms2mit_pdb" Name="ms2mit.pdb" />
333*7f2fe78bSCy Schubert	                    <File Id="fil_mit2ms_pdb" Name="mit2ms.pdb" />
334*7f2fe78bSCy Schubert                    </Component>
335*7f2fe78bSCy Schubert                <?endif?>
336*7f2fe78bSCy Schubert
337*7f2fe78bSCy Schubert                  <Directory Id="dirplugins" Name="plugins">
338*7f2fe78bSCy Schubert                    <Directory Id="dirpreauth" Name="preauth" FileSource="$(var.PreauthDir)">
339*7f2fe78bSCy Schubert                      <Component Id="cmf_spake32_dll" Guid="$(var.cmf_spake32_dll_guid)" DiskId="1">
340*7f2fe78bSCy Schubert                        <File Id="fil_spake32_dll" Name="$(var.cmf_spake32_dll_name)" KeyPath="yes" />
341*7f2fe78bSCy Schubert                      </Component>
342*7f2fe78bSCy Schubert                      <?if $(sys.BUILDARCH) = "x64"?>
343*7f2fe78bSCy Schubert                        <Component Id="cmf_spake64_dll" Guid="$(var.cmf_spake64_dll_guid)" DiskId="1">
344*7f2fe78bSCy Schubert                          <File Id="fil_spake64_dll" Name="$(var.cmf_spake64_dll_name)" KeyPath="yes" />
345*7f2fe78bSCy Schubert                        </Component>
346*7f2fe78bSCy Schubert                      <?endif?>
347*7f2fe78bSCy Schubert                      <?ifdef DebugSyms?>
348*7f2fe78bSCy Schubert                        <Component Id="cmf_preauth_debug" Guid="$(var.cmf_preauth_debug_guid)" DiskId="1">
349*7f2fe78bSCy Schubert                          <?if $(sys.BUILDARCH) = "x86" ?>
350*7f2fe78bSCy Schubert                            <File Id="fil_spake32_pdb" Name="spake32.pdb" />
351*7f2fe78bSCy Schubert                          <?else?>
352*7f2fe78bSCy Schubert                            <File Id="fil_spake32_pdb" Name="spake64.pdb" />
353*7f2fe78bSCy Schubert                          <?endif?>
354*7f2fe78bSCy Schubert                        </Component>
355*7f2fe78bSCy Schubert                      <?endif?>
356*7f2fe78bSCy Schubert                    </Directory> <!-- /preauth -->
357*7f2fe78bSCy Schubert                  </Directory> <!-- /plugins -->
358*7f2fe78bSCy Schubert                </Directory> <!-- /bin -->
359*7f2fe78bSCy Schubert
360*7f2fe78bSCy Schubert                <Directory Id="dirinc" Name="include" FileSource="$(var.IncDir)">
361*7f2fe78bSCy Schubert                        <Directory Id="dirinc_krb5_gssapi" Name="gssapi" FileSource="$(var.IncDir)gssapi\">
362*7f2fe78bSCy Schubert                            <Component Id="cmp_dirinc_krb5_gssapi" Guid="BD3C190B-1EBB-4d14-81DD-B2000DC4EAC7" DiskId="1">
363*7f2fe78bSCy Schubert                                <File Id="fil_gssapi_h" Name="gssapi.h" KeyPath="yes" />
364*7f2fe78bSCy Schubert                                <File Id="fil_gssapi_alloc_h" Name="gssapi_alloc.h" />
365*7f2fe78bSCy Schubert                                <File Id="fil_gssapi_ext_h" Name="gssapi_ext.h" />
366*7f2fe78bSCy Schubert                                <File Id="fil_gssapi_generic_h" Name="gssapi_generic.h" />
367*7f2fe78bSCy Schubert                                <File Id="fil_gssapi_krb5_h" Name="gssapi_krb5.h" />
368*7f2fe78bSCy Schubert                            </Component>
369*7f2fe78bSCy Schubert                        </Directory>
370*7f2fe78bSCy Schubert                        <Directory Id="dirinc_krb5_krb5" Name="krb5" FileSource="$(var.IncDir)krb5\">
371*7f2fe78bSCy Schubert                            <Component Id="cmp_dirinc_krb5_krb5" Guid="D1E4E3D8-EF04-4DD6-B01E-F87876509869" DiskId="1">
372*7f2fe78bSCy Schubert                                <File Id="fil_krb5_h_inc" Name="krb5.h" KeyPath="yes" />
373*7f2fe78bSCy Schubert                            </Component>
374*7f2fe78bSCy Schubert                        </Directory>
375*7f2fe78bSCy Schubert                        <Component Id="cmp_dirinc_krb5" Guid="7FD8008B-2F46-4613-8A09-989F643258F1" DiskId="1">
376*7f2fe78bSCy Schubert                            <File Id="fil_com_err_.h" Name="com_err.h" />
377*7f2fe78bSCy Schubert                            <File Id="fil_krb5_.h" Name="krb5.h" KeyPath="yes" />
378*7f2fe78bSCy Schubert                            <File Id="fil_profile_.h" Name="profile.h" />
379*7f2fe78bSCy Schubert                            <File Id="fil_win_mac_.h" Name="win-mac.h" />
380*7f2fe78bSCy Schubert                        </Component>
381*7f2fe78bSCy Schubert                    <Directory Id="dirinc_windows" Name="windows" FileSource="$(var.SrcDir)windows\include\">
382*7f2fe78bSCy Schubert<!-- TODO: CredentialCache.h?
383*7f2fe78bSCy Schubert                        <Component Id="cmp_dirinc_krbcc" Guid="2CE4B708-7D45-41e4-8A53-BF2D78451A81" DiskId="1">
384*7f2fe78bSCy Schubert                            <File Id="fil_cacheapi_h" Name="cacheapi.h" KeyPath="yes" />
385*7f2fe78bSCy Schubert                        </Component> -->
386*7f2fe78bSCy Schubert                        <Component Id="cmp_dirinc_leash" Guid="FCF269AB-D9BC-49bd-B9F3-D6EA9697D8D7" DiskId="1">
387*7f2fe78bSCy Schubert                            <File Id="fil_leasherr_h" Name="leasherr.h" />
388*7f2fe78bSCy Schubert                            <File Id="fil_leashinfo_h" Name="leashinfo.h" />
389*7f2fe78bSCy Schubert                            <File Id="fil_leashwin_h" Name="leashwin.h" KeyPath="yes" />
390*7f2fe78bSCy Schubert                        </Component>
391*7f2fe78bSCy Schubert                        <Component Id="cmp_dirinc_loadfuncs" Guid="C8E59D05-4502-498b-A107-1DF65C3A27D3" DiskId="1">
392*7f2fe78bSCy Schubert                            <File Id="fil_loadfuncs_com_err_h" Name="loadfuncs-com_err.h" />
393*7f2fe78bSCy Schubert                            <File Id="fil_loadfuncs_krb5_h" Name="loadfuncs-krb5.h" />
394*7f2fe78bSCy Schubert                            <File Id="fil_loadfuncs_leash_h" Name="loadfuncs-leash.h" />
395*7f2fe78bSCy Schubert                            <File Id="fil_loadfuncs_lsa_h" Name="loadfuncs-lsa.h" />
396*7f2fe78bSCy Schubert                            <File Id="fil_loadfuncs_profile_h" Name="loadfuncs-profile.h" />
397*7f2fe78bSCy Schubert<!--                            <File Id="fil_loadfuncs_c" Name="loadfuncs.c" /> -->
398*7f2fe78bSCy Schubert                            <File Id="fil_loadfuncs_h" Name="loadfuncs.h" KeyPath="yes" />
399*7f2fe78bSCy Schubert                        </Component>
400*7f2fe78bSCy Schubert                    </Directory>
401*7f2fe78bSCy Schubert                </Directory>
402*7f2fe78bSCy Schubert
403*7f2fe78bSCy Schubert                <Directory Id="dirlib" Name="lib" FileSource="$(var.LibDir)">
404*7f2fe78bSCy Schubert                   <?if $(sys.BUILDARCH) = "x86" ?>
405*7f2fe78bSCy Schubert                    <Directory Id="dirlib_i386" Name="i386" FileSource="$(var.LibDir)">
406*7f2fe78bSCy Schubert                        <Component Id="cmp_dirlib_i386" Guid="CFEE3ED4-92D4-49e1-BB78-8BCBC60C3E57" DiskId="1">
407*7f2fe78bSCy Schubert                            <File Id="fil_comerr32_lib" Name="comerr32.lib" />
408*7f2fe78bSCy Schubert                            <File Id="fil_gssapi32_lib" Name="gssapi32.lib" />
409*7f2fe78bSCy Schubert                            <File Id="fil_krb5_32_lib" Name="krb5_32.lib" KeyPath="yes" />
410*7f2fe78bSCy Schubert                            <File Id="fil_krbcc32_lib" Name="krbcc32.lib" />
411*7f2fe78bSCy Schubert                            <File Id="fil_leashw32_lib" Name="leashw32.lib" />
412*7f2fe78bSCy Schubert                            <File Id="fil_xpprof32_lib" Name="xpprof32.lib" />
413*7f2fe78bSCy Schubert                        </Component>
414*7f2fe78bSCy Schubert                    </Directory>
415*7f2fe78bSCy Schubert                    <?endif?>
416*7f2fe78bSCy Schubert                    <?if $(sys.BUILDARCH) = "x64" ?>
417*7f2fe78bSCy Schubert                    <Directory Id="dirlib_amd64" Name="amd64" FileSource="$(var.LibDir)">
418*7f2fe78bSCy Schubert                        <Component Id="cmp_dirlib_amd64" Guid="F9A54201-FFD6-4a45-B021-276D9F6C40A2" DiskId="1">
419*7f2fe78bSCy Schubert                            <File Id="fil_comerr64_lib" Name="comerr64.lib" />
420*7f2fe78bSCy Schubert                            <File Id="fil_gssapi64_lib" Name="gssapi64.lib" />
421*7f2fe78bSCy Schubert                            <File Id="fil_krb5_64_lib" Name="krb5_64.lib" KeyPath="yes" />
422*7f2fe78bSCy Schubert                            <File Id="fil_krbcc64_lib" Name="krbcc64.lib" />
423*7f2fe78bSCy Schubert                            <File Id="fil_leashw64_lib" Name="leashw64.lib" />
424*7f2fe78bSCy Schubert                            <File Id="fil_xpprof64_lib" Name="xpprof64.lib" />
425*7f2fe78bSCy Schubert                        </Component>
426*7f2fe78bSCy Schubert                    </Directory>
427*7f2fe78bSCy Schubert                    <?endif?>
428*7f2fe78bSCy Schubert                </Directory>
429*7f2fe78bSCy Schubert            </Directory> <!-- /Kerberos -->
430*7f2fe78bSCy Schubert        </Directory> <!-- /MIT -->
431*7f2fe78bSCy Schubert    </Directory> <!-- /Program Files -->
432*7f2fe78bSCy Schubert    <Directory Id="CommonAppDataFolder" Name="CommonAppDataFolder">
433*7f2fe78bSCy Schubert      <Directory Id="APPDATAMITDIR" Name="MIT">
434*7f2fe78bSCy Schubert        <Directory Id="APPDATAKERBEROS5DIR" Name="Kerberos5">
435*7f2fe78bSCy Schubert          <Component Id="cmf_krb5_ini" Guid="C1AF0670-BBF1-4AA6-B2A6-6C8B1584A1F4" NeverOverwrite="yes" Permanent="yes" DiskId="1">
436*7f2fe78bSCy Schubert            <File Id="fil_krb5_ini" Name="krb5.ini" Source="$(var.ConfigDir)krb5.ini" KeyPath="yes" />
437*7f2fe78bSCy Schubert            <CreateFolder/>
438*7f2fe78bSCy Schubert          </Component>
439*7f2fe78bSCy Schubert        </Directory>
440*7f2fe78bSCy Schubert      </Directory>
441*7f2fe78bSCy Schubert    </Directory>
442*7f2fe78bSCy Schubert
443*7f2fe78bSCy Schubert    <!-- Start Menu shortcut -->
444*7f2fe78bSCy Schubert    <Directory Id="ProgramMenuFolder">
445*7f2fe78bSCy Schubert        <Directory Id="dirShortcut" Name="$(var.BaseProductName)" />
446*7f2fe78bSCy Schubert    </Directory>
447*7f2fe78bSCy Schubert
448*7f2fe78bSCy Schubert    <Directory Id="StartupFolder">
449*7f2fe78bSCy Schubert    </Directory>
450*7f2fe78bSCy Schubert
451*7f2fe78bSCy Schubert    <Component Id="rcm_common" Guid="486D84B6-CCE5-4b95-B8E2-7DFBDB4CF9A2">
452*7f2fe78bSCy Schubert        <RegistryKey Id="reg_common0" Root="HKLM" Key="$(var.KfwRegRoot)" Action="createAndRemoveOnUninstall" />
453*7f2fe78bSCy Schubert        <RegistryValue Id="reg_common2" Root="HKLM" Key="$(var.KfwRegRoot)" Name="InstallDir" Type="string" Value="[KERBEROSDIR]" KeyPath="yes" />
454*7f2fe78bSCy Schubert    <?ifdef Debug?>
455*7f2fe78bSCy Schubert        <RegistryKey Id="reg_common3" Root="HKLM" Key="$(var.KfwRegRoot)\CurrentVersion" Action="createAndRemoveOnUninstall"/>
456*7f2fe78bSCy Schubert        <RegistryValue Id="reg_common4" Root="HKLM" Key="$(var.KfwRegRoot)\CurrentVersion" Name="Debug" Type="integer" Value="1"/>
457*7f2fe78bSCy Schubert        <RegistryKey Id="reg_common5" Root="HKLM" Key="$(var.KfwRegRoot)\$(var.VersionString)" Action="createAndRemoveOnUninstall"/>
458*7f2fe78bSCy Schubert        <RegistryValue Id="reg_common6" Root="HKLM" Key="$(var.KfwRegRoot)\$(var.VersionString)" Name="Debug" Type="integer" Value="1"/>
459*7f2fe78bSCy Schubert    <?else?>
460*7f2fe78bSCy Schubert        <RemoveRegistryKey Id="reg_common7" Root="HKLM" Key="$(var.KfwRegRoot)\CurrentVersion" Action="removeOnInstall"/>
461*7f2fe78bSCy Schubert        <RemoveRegistryKey Id="reg_common8" Root="HKLM" Key="$(var.KfwRegRoot)\$(var.VersionString)" Action="removeOnInstall"/>
462*7f2fe78bSCy Schubert    <?endif?>
463*7f2fe78bSCy Schubert    <?if $(sys.BUILDARCH) = "x64"?>
464*7f2fe78bSCy Schubert        <RegistryKey Id="reg_common0_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)" Action="createAndRemoveOnUninstall" />
465*7f2fe78bSCy Schubert        <!-- Cannot set KeyPath twice in one Component -->
466*7f2fe78bSCy Schubert        <RegistryValue Id="reg_common2_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)" Name="InstallDir" Type="string" Value="[KERBEROSDIR]"/>
467*7f2fe78bSCy Schubert    <?ifdef Debug?>
468*7f2fe78bSCy Schubert        <RegistryKey Id="reg_common3_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)\CurrentVersion" Action="createAndRemoveOnUninstall"/>
469*7f2fe78bSCy Schubert        <RegistryValue Id="reg_common4_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)\CurrentVersion" Name="Debug" Type="integer" Value="1"/>
470*7f2fe78bSCy Schubert        <RegistryKey Id="reg_common5_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)\$(var.VersionString)" Action="createAndRemoveOnUninstall"/>
471*7f2fe78bSCy Schubert        <RegistryValue Id="reg_common6_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)\$(var.VersionString)" Name="Debug" Type="integer" Value="1"/>
472*7f2fe78bSCy Schubert    <?else?>
473*7f2fe78bSCy Schubert        <RemoveRegistryKey Id="reg_common7_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)\CurrentVersion" Action="removeOnInstall"/>
474*7f2fe78bSCy Schubert        <RemoveRegistryKey Id="reg_common8_32" Root="HKLM" Key="$(var.KfwRegWow6432Root)\$(var.VersionString)" Action="removeOnInstall"/>
475*7f2fe78bSCy Schubert    <?endif?>
476*7f2fe78bSCy Schubert    <?endif?>
477*7f2fe78bSCy Schubert    </Component>
478*7f2fe78bSCy Schubert
479*7f2fe78bSCy Schubert    <Component Id="rcm_client" Guid="901179B2-7369-43b1-ACF3-4C7F37482CC7">
480*7f2fe78bSCy Schubert        <RegistryKey Id="reg_client0" Root="HKLM" Key="$(var.KfwRegRoot)\Client" Action="createAndRemoveOnUninstall"/>
481*7f2fe78bSCy Schubert
482*7f2fe78bSCy Schubert        <RegistryKey Id="reg_client1" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Action="createAndRemoveOnUninstall"/>
483*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client3" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="VersionString" Type="string" Value="$(var.VersionString)" />
484*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client4" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="Title" Type="string" Value="KfW" />
485*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client5" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="Description" Type="string" Value="$(var.ProductFullName)" />
486*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client6" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="PathName" Type="string" Value="[KERBEROSDIR]" />
487*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client7" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="Software Type" Type="string" Value="Authentication" />
488*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client8" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="MajorVersion" Type="integer" Value="$(var.VersionMajor)" />
489*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client9" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="MinorVersion" Type="integer" Value="$(var.VersionMinor)" />
490*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client10" Root="HKLM" Key="$(var.KfwRegRoot)\Client\CurrentVersion" Name="PatchLevel" Type="integer" Value="$(var.VersionPatch)" />
491*7f2fe78bSCy Schubert
492*7f2fe78bSCy Schubert        <RegistryKey Id="reg_client11" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Action="createAndRemoveOnUninstall"/>
493*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client13" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="VersionString" Type="string" Value="$(var.VersionString)" KeyPath="yes" />
494*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client14" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="Title" Type="string" Value="KfW" />
495*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client15" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="Description" Type="string" Value="$(var.ProductFullName)" />
496*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client16" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="PathName" Type="string" Value="[KERBEROSDIR]" />
497*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client17" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="Software Type" Type="string" Value="Authentication" />
498*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client18" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="MajorVersion" Type="integer" Value="$(var.VersionMajor)" />
499*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client19" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="MinorVersion" Type="integer" Value="$(var.VersionMinor)" />
500*7f2fe78bSCy Schubert        <RegistryValue Id="reg_client20" Root="HKLM" Key="$(var.KfwRegRoot)\Client\$(var.VersionString)" Name="PatchLevel" Type="integer" Value="$(var.VersionPatch)" />
501*7f2fe78bSCy Schubert    </Component>
502*7f2fe78bSCy Schubert
503*7f2fe78bSCy Schubert    <Component Id="rcm_sdk" Guid="96AA90C7-8C60-4341-A15B-3DEDF29DA9F1">
504*7f2fe78bSCy Schubert        <RegistryKey Id="reg_sdk0" Root="HKLM" Key="$(var.KfwRegRoot)\SDK" Action="createAndRemoveOnUninstall"/>
505*7f2fe78bSCy Schubert
506*7f2fe78bSCy Schubert        <RegistryKey Id="reg_sdk1" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Action="createAndRemoveOnUninstall"/>
507*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk3" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="VersionString" Type="string" Value="$(var.VersionString)" />
508*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk4" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="Title" Type="string" Value="KfW" />
509*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk5" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="Description" Type="string" Value="$(var.ProductFullName)" />
510*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk6" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="PathName" Type="string" Value="[KERBEROSDIR]" />
511*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk7" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="Software Type" Type="string" Value="Authentication" />
512*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk8" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="MajorVersion" Type="integer" Value="$(var.VersionMajor)" />
513*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk9" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="MinorVersion" Type="integer" Value="$(var.VersionMinor)" />
514*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk10" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\CurrentVersion" Name="PatchLevel" Type="integer" Value="$(var.VersionPatch)" />
515*7f2fe78bSCy Schubert
516*7f2fe78bSCy Schubert        <RegistryKey Id="reg_sdk11" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Action="createAndRemoveOnUninstall"/>
517*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk13" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="VersionString" Type="string" Value="$(var.VersionString)" KeyPath="yes" />
518*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk14" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="Title" Type="string" Value="KfW" />
519*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk15" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="Description" Type="string" Value="$(var.ProductFullName)" />
520*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk16" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="PathName" Type="string" Value="[KERBEROSDIR]" />
521*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk17" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="Software Type" Type="string" Value="Authentication" />
522*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk18" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="MajorVersion" Type="integer" Value="$(var.VersionMajor)" />
523*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk19" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="MinorVersion" Type="integer" Value="$(var.VersionMinor)" />
524*7f2fe78bSCy Schubert        <RegistryValue Id="reg_sdk20" Root="HKLM" Key="$(var.KfwRegRoot)\SDK\$(var.VersionString)" Name="PatchLevel" Type="integer" Value="$(var.VersionPatch)" />
525*7f2fe78bSCy Schubert    </Component>
526*7f2fe78bSCy Schubert
527*7f2fe78bSCy Schubert    <Component Id="rcm_docs" Guid="C7EADA0F-8FF7-4e7b-9372-5553BDD5812F">
528*7f2fe78bSCy Schubert        <RegistryKey Id="reg_docs0" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation" Action="createAndRemoveOnUninstall"/>
529*7f2fe78bSCy Schubert
530*7f2fe78bSCy Schubert        <RegistryKey Id="reg_docs1" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Action="createAndRemoveOnUninstall"/>
531*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs3" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="VersionString" Type="string" Value="$(var.VersionString)" />
532*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs4" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="Title" Type="string" Value="KfW" />
533*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs5" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="Description" Type="string" Value="$(var.ProductFullName)" />
534*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs6" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="PathName" Type="string" Value="[KERBEROSDIR]" />
535*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs7" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="Software Type" Type="string" Value="Authentication" />
536*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs8" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="MajorVersion" Type="integer" Value="$(var.VersionMajor)" />
537*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs9" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="MinorVersion" Type="integer" Value="$(var.VersionMinor)" />
538*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs10" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\CurrentVersion" Name="PatchLevel" Type="integer" Value="$(var.VersionPatch)" />
539*7f2fe78bSCy Schubert
540*7f2fe78bSCy Schubert        <RegistryKey Id="reg_docs11" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Action="createAndRemoveOnUninstall"/>
541*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs13" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="VersionString" Type="string" Value="$(var.VersionString)" KeyPath="yes" />
542*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs14" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="Title" Type="string" Value="KfW" />
543*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs15" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="Description" Type="string" Value="$(var.ProductFullName)" />
544*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs16" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="PathName" Type="string" Value="[KERBEROSDIR]" />
545*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs17" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="Software Type" Type="string" Value="Authentication" />
546*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs18" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="MajorVersion" Type="integer" Value="$(var.VersionMajor)" />
547*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs19" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="MinorVersion" Type="integer" Value="$(var.VersionMinor)" />
548*7f2fe78bSCy Schubert        <RegistryValue Id="reg_docs20" Root="HKLM" Key="$(var.KfwRegRoot)\Documentation\$(var.VersionString)" Name="PatchLevel" Type="integer" Value="$(var.VersionPatch)" />
549*7f2fe78bSCy Schubert    </Component>
550*7f2fe78bSCy Schubert
551*7f2fe78bSCy Schubert    <!-- Shared assembly runtime for VS 2010 -->
552*7f2fe78bSCy Schubert    <!-- Note that these cause numerous LGHT1055 and ICE82 warnings.  They are unavoidable but innocuous.  -->
553*7f2fe78bSCy Schubert    <?ifdef CL1600?>
554*7f2fe78bSCy Schubert      <?ifdef env.VCToolsRedistDir?>
555*7f2fe78bSCy Schubert        <?define MM="$(env.VCToolsRedistDir)MergeModules"?>
556*7f2fe78bSCy Schubert      <?else?>
557*7f2fe78bSCy Schubert        <?ifdef (env.CommonProgramFiles6432)?>
558*7f2fe78bSCy Schubert          <?define MM="$(env.CommonProgramFiles(x86)/Merge Modules"?>
559*7f2fe78bSCy Schubert        <?else?>
560*7f2fe78bSCy Schubert          <?define MM="$(env.CommonProgramFiles)/Merge Modules"?>
561*7f2fe78bSCy Schubert	<?endif?>
562*7f2fe78bSCy Schubert      <?endif?>
563*7f2fe78bSCy Schubert      <?if $(sys.BUILDARCH) = "x64" ?>
564*7f2fe78bSCy Schubert        <?ifndef Debug?>
565*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MEM64" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_CRT_x64.msm"/>
566*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFC64" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFC_x64.msm"/>
567*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFL64" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFCLOC_x64.msm"/>
568*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MEM86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_CRT_x86.msm"/>
569*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFC86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFC_x86.msm"/>
570*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFL86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFCLOC_x86.msm"/>
571*7f2fe78bSCy Schubert        <?else?>
572*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MEM64" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_DebugCRT_x64.msm"/>
573*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFC64" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_DebugMFC_x64.msm"/>
574*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFL64" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFCLOC_x64.msm"/>
575*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MEM86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_DebugCRT_x86.msm"/>
576*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFC86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_DebugMFC_x86.msm"/>
577*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFL86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFCLOC_x86.msm"/>
578*7f2fe78bSCy Schubert        <?endif?>
579*7f2fe78bSCy Schubert      <?else?>
580*7f2fe78bSCy Schubert        <?ifndef Debug?>
581*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MEM86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_CRT_x86.msm"/>
582*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFC86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFC_x86.msm"/>
583*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFL86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFCLOC_x86.msm"/>
584*7f2fe78bSCy Schubert        <?else?>
585*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MEM86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_DebugCRT_x86.msm"/>
586*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFC86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_DebugMFC_x86.msm"/>
587*7f2fe78bSCy Schubert          <Merge Id="MSVCRT$(var.VCVer)MFL86" DiskId="1" Language="0" SourceFile="$(var.MM)\Microsoft_VC$(var.VCVer)_MFCLOC_x86.msm"/>
588*7f2fe78bSCy Schubert        <?endif?>
589*7f2fe78bSCy Schubert      <?endif?>
590*7f2fe78bSCy Schubert    <?endif?>
591*7f2fe78bSCy Schubert
592*7f2fe78bSCy Schubert</Directory>
593*7f2fe78bSCy Schubert
594*7f2fe78bSCy Schubert<!-- Start Menu shortcut -->
595*7f2fe78bSCy Schubert<DirectoryRef Id="dirShortcut">
596*7f2fe78bSCy Schubert    <Component Id="SMshortcut" Guid="FBB3BCED-16B7-4C5F-AE39-425B3E62503A">
597*7f2fe78bSCy Schubert        <Shortcut Id="sc_leash_exe" Name="MIT Kerberos Ticket Manager.lnk" Target="[KERBEROSDIR]\bin\MIT Kerberos.exe" WorkingDirectory="dirbin" Arguments="[LEASHAUTOINIT]" />
598*7f2fe78bSCy Schubert        <RemoveFolder Id="removeFolder" On ="uninstall" />
599*7f2fe78bSCy Schubert        <RegistryValue Root="HKCU" Key="Software\MIT\Kerberos5" Name="installedStartMenu" Type="integer" Value="1" KeyPath="yes"/>
600*7f2fe78bSCy Schubert    </Component>
601*7f2fe78bSCy Schubert</DirectoryRef>
602*7f2fe78bSCy Schubert<!-- Desktop shortcut -->
603*7f2fe78bSCy Schubert<DirectoryRef Id="DesktopFolder">
604*7f2fe78bSCy Schubert    <Component Id="Dshortcut" Guid="B1713C3F-956D-4301-A38E-3E3EFFCF6990">
605*7f2fe78bSCy Schubert        <Shortcut Id="sc_leash_desktop_exe" Name="MIT Kerberos Ticket Manager.lnk" Target="[KERBEROSDIR]\bin\MIT Kerberos.exe" WorkingDirectory="dirbin" Arguments="[LEASHAUTOINIT]" />
606*7f2fe78bSCy Schubert        <RemoveFolder Id="rem_fol_desktop" On="uninstall" />
607*7f2fe78bSCy Schubert        <RegistryValue Root="HKCU" Key="Software\MIT\Kerberos5" Name="installedDesktop" Type="integer" Value="1" KeyPath="yes" />
608*7f2fe78bSCy Schubert    </Component>
609*7f2fe78bSCy Schubert</DirectoryRef>
610*7f2fe78bSCy Schubert
611*7f2fe78bSCy Schubert</Include>
612