windows-install-20090527
[openafs.git] / src / WINNT / install / wix / feature.wxi
index 7a56537..da42ec2 100644 (file)
@@ -1,55 +1,74 @@
-\feff<?xml version="1.0" ?>
+<?xml version="1.0" ?>
 <Include>
-
-               <?ifdef DebugSyms?>
-                       <?ifdef Debug?>
-                               <?define DebugSymFollowParent="yes"?>
-                               <?define DebugSymLowLevel="30"?>
-                               <?define DebugSymHighLevel="130"?>
-                       <?else?>
-                               <?define DebugSymFollowParent="no"?>
-                               <?define DebugSymLowLevel="130"?>
-                               <?define DebugSymHighLevel="130"?>
-                       <?endif?>
-               <?endif?>
-
         <Feature Id="feaOpenAFS" AllowAdvertise="no" Absent="disallow" ConfigurableDirectory="AFSDIR"
             Description="$(loc.StrAFSProdDesc)" Display="expand" InstallDefault="local" Level="30"
             Title="OpenAFS">
+           <ComponentRef Id="efl_desktop_INI" />
+
+  <?ifndef BinsOnly ?>
+           <ComponentRef Id="efl_replace_afs_CMD" />
+           <ComponentRef Id="efl_uninstall_EXE" />
+
+           <ComponentRef Id="cmp_Release_Notes_en_US" />
+  <?endif?>
+
+  <?ifndef BinsOnly ?>
             <Feature Id="feaClient" AllowAdvertise="no" Description="$(loc.StrAFSClientLongDesc)" Display="expand"
-                FollowParent="yes" InstallDefault="local" Level="30" Title="$(loc.StrAFSClientDesc)">
+                InstallDefault="followParent" Level="30" Title="$(loc.StrAFSClientDesc)">
                 
-                <Feature Id="feaLoopback" FollowParent="yes" AllowAdvertise="no" Description="$(loc.StrLoopbackLongDesc)"
-                    Display="expand" InstallDefault="local" Level="30" Title="$(loc.StrLoopbackDesc)">
+                <Feature Id="feaLoopback" AllowAdvertise="no" Description="$(loc.StrLoopbackLongDesc)"
+                    Display="expand" InstallDefault="followParent" Level="30" Title="$(loc.StrLoopbackDesc)">
                     <ComponentRef Id="rcm_Loopback"/>
                 </Feature>
 
-                               <Feature Id="feaKB301673" AllowAdvertise="no" Absent="disallow" Display="hidden" InstallDefault="local" Level="0" FollowParent="yes">
-                                       <ComponentRef Id="rcm_KB301673" />
-                                       <Condition Level="30">VersionNT = 500 And ServicePackLevel &lt; 3</Condition>
-                               </Feature>
+            <Feature Id="feaNetIDMgrPlugin" AllowAdvertise="no" Description="$(loc.StrNIDMPluginLongDesc)"
+                    Display="expand" InstallDefault="followParent" Level="30" Title="$(loc.StrNIDMPluginDesc)">
+                    <ComponentRef Id="_afscreds_plugin" />
+                    <ComponentRef Id="_afscreds_en_us" />
+                    <ComponentRef Id="_afscreds_chm" />
+           <?ifdef DebugSyms?>
+                    <Feature Id="DebugSyms" Title="$(loc.StrNIDMDebugDesc)" InstallDefault="$(var.DebugSymInstallDefault)"
+                       Level="$(var.DebugSymLowLevel)" Display="expand" Description="$(loc.StrNIDMDebugLongDesc)">
+                       <ComponentRef Id="_afscreds_debugsym" />
+                    </Feature>
+           <?endif?>
+            </Feature>
+
+               <Feature Id="feaKB301673" AllowAdvertise="no" Absent="disallow" Display="hidden" InstallDefault="followParent" Level="0">
+                       <ComponentRef Id="rcm_KB301673" />
+                       <Condition Level="30">VersionNT = 500 And ServicePackLevel &lt; 3</Condition>
+               </Feature>
                                
-                               <Feature Id="feaCredsStartup" AllowAdvertise="no" FollowParent="yes" Display="hidden" InstallDefault="local" Level="30">
-                                       <ComponentRef Id="cmp_credsStartup" />
-                               </Feature>
+               <Feature Id="feaCredsStartup" AllowAdvertise="no" Display="hidden" InstallDefault="followParent" Level="30">
+                       <ComponentRef Id="cmp_credsStartup" />
+                       <Condition Level="130">CREDSSTARTUP = 0</Condition>
+               </Feature>
                                
-                       <?ifdef DebugSyms?>
-                               <Feature Id="feaClientDebug" AllowAdvertise="no" Description="$(loc.StrAFSClientDebugLongDesc)" Display="expand"
-                                       FollowParent="$(var.DebugSymFollowParent)" InstallDefault="local" Level="$(var.DebugSymLowLevel)" Title="$(loc.StrAFSClientDebugDesc)">
-                    <ComponentRef Id="cmp_ClientProgramDebug" />
-                    <ComponentRef Id="cmp_CommonCommonDebug" />
-                    <ComponentRef Id="cmp_ClientCommonDebug" />
-                    <?include runtime_debug.wxi?>
-                               </Feature>
-                       <?endif?>
+               <?ifdef DebugSyms?>
+                       <Feature Id="feaClientDebug" AllowAdvertise="no" Description="$(loc.StrAFSClientDebugLongDesc)" Display="expand"
+                               InstallDefault="$(var.DebugSymInstallDefault)" Level="$(var.DebugSymLowLevel)" Title="$(loc.StrAFSClientDebugDesc)">
+                               <ComponentRef Id="cmp_ClientProgramDebug" />
+                               <ComponentRef Id="cmp_CommonCommonDebug" />
+                               <ComponentRef Id="cmp_ClientCommonDebug" />
+                               <ComponentRef Id="cmp_ClientSystemDebug" />
+                               <?include runtime_debug.wxi?>
+                       </Feature>
+               <?endif?>
+
+               <ComponentRef Id="rcm_Client" />
+                <ComponentRef Id="rcm_ClientCacheSize" />
+                <ComponentRef Id="rcm_ClientCachePath" />
+                <ComponentRef Id="rcm_StoreAnsiFilenames" />
 
-                               <ComponentRef Id="rcm_Client" />
-                               <ComponentRef Id="cmp_CommonDir" />
+               <ComponentRef Id="cmp_CommonDir" />
 
-                <ComponentRef Id="efl_Readme_TXT_$(var.Language)" />
-                <ComponentRef Id="efl_afsdcell_INI" />
+                <ComponentRef Id="efl_CellServDB" />
+                <ComponentRef Id="cpf_CellServDB" />
                 <ComponentRef Id="cmf_afs_cpa_CPL" />
 
+                <ComponentRef Id="cmf_afsadminutil_DLL" />
+                <ComponentRef Id="cmf_afsclientadmin_DLL" />
+                <ComponentRef Id="cmf_afsvosadmin_DLL" />
                 <ComponentRef Id="cmf_afsrpc_DLL" />
                 <ComponentRef Id="cmf_afsauthent2_DLL" />
                 <ComponentRef Id="cmf_afspthread_DLL" />
@@ -64,6 +83,7 @@
                 <ComponentRef Id="cmf_afs_cpa_$(var.LanguageCode)_DLL" />
                 <ComponentRef Id="cmf_afs_shl_ext_$(var.LanguageCode)_DLL" />
 
+                <ComponentRef Id="cmf_instloop_EXE" />
                 <ComponentRef Id="cmf_afsshare_EXE" />
                 <ComponentRef Id="cmf_libosi_DLL" />
                 <ComponentRef Id="cmf_libafsconf_DLL" />
                 <ComponentRef Id="cmf_tokens_EXE" />
                 <ComponentRef Id="cmf_unlog_EXE" />
                 <ComponentRef Id="cmf_fs_EXE" />
+                <ComponentRef Id="cmf_afsdacl_EXE" />
                 <ComponentRef Id="cmf_afscreds_EXE" />
                 <ComponentRef Id="cmf_afs_shl_ext_DLL" />
                 <ComponentRef Id="cmf_afsd_service_EXE" />
                 <ComponentRef Id="cmf_afslogon_DLL" />
+                <ComponentRef Id="cmf_afscpcc_EXE" />
                 <ComponentRef Id="cmf_symlink_EXE" />
                 <ComponentRef Id="cmf_kpasswd_EXE" />
                 <ComponentRef Id="cmf_pts_EXE" />
                 <ComponentRef Id="cmf_translate_et_EXE" />
                 <ComponentRef Id="cmf_rxdebug_EXE" />
                 <ComponentRef Id="cmf_backup_EXE" />
-                <ComponentRef Id="cmf_aklog_EXE" />
-
+               <ComponentRef Id="cmf_aklog_EXE" />
+                <ComponentRef Id="cmf_cmdebug_EXE" />
+                
                 <!-- Runtime -->
                 <?include runtime.wxi?>
             </Feature>
             
             <Feature Id="feaServer" AllowAdvertise="no" Description="$(loc.StrAFSServerLongDesc)" Display="expand"
-                FollowParent="yes" InstallDefault="local" Level="130" Title="$(loc.StrAFSServerDesc)">
+                InstallDefault="followParent" Level="130" Title="$(loc.StrAFSServerDesc)">
 
-                               <ComponentRef Id="rcm_Server" />
-                               <ComponentRef Id="cmp_CommonDir" />
+               <ComponentRef Id="rcm_Server" />
+               <ComponentRef Id="cmp_CommonDir" />
 
                 <ComponentRef Id="cmf_afsserver_CPL" />
                 <ComponentRef Id="cmf_afsbosadmin_DLL" />
                 <ComponentRef Id="cmf_afs_nt_HLP_$(var.Language)" />
                 <ComponentRef Id="cmp_Lang_$(var.Language)" />
             
-                <ComponentRef Id="efl_Readme_TXT_$(var.Language)" />
-
                 <ComponentRef Id="cmf_vlserver_EXE" />
                 <ComponentRef Id="cmf_volinfo_EXE" />
                 <ComponentRef Id="cmf_volserver_EXE" />
                 <ComponentRef Id="cmf_afskill_EXE" />
                 <ComponentRef Id="cmf_afssvrcfg_EXE" />
+                <ComponentRef Id="cmf_asetkey_EXE" />
                 <ComponentRef Id="cmf_bosctlsvc_EXE" />
                 <ComponentRef Id="cmf_bosserver_EXE" />
                 <ComponentRef Id="cmf_buserver_EXE" />
                 <ComponentRef Id="cmf_butc_EXE" />
                 <ComponentRef Id="cmf_kaserver_EXE" />
                 <ComponentRef Id="cmf_ptserver_EXE" />
+                <ComponentRef Id="cmf_ptclient_EXE" />
+                <ComponentRef Id="cmf_pt_util_EXE" />
                 <ComponentRef Id="cmf_salvager_EXE" />
                 <ComponentRef Id="cmf_upclient_EXE" />
                 <ComponentRef Id="cmf_upserver_EXE" />
 
             <?ifdef DebugSyms?>
                                <Feature Id="feaServerDebug" AllowAdvertise="no" Description="$(loc.StrAFSServerDebugLongDesc)" Display="expand"
-                                       FollowParent="$(var.DebugSymFollowParent)" InstallDefault="local" Level="$(var.DebugSymHighLevel)" Title="$(loc.StrAFSServerDebugDesc)">
+                                       InstallDefault="$(var.DebugSymInstallDefault)" Level="$(var.DebugSymHighLevel)" Title="$(loc.StrAFSServerDebugDesc)">
                                        <ComponentRef Id="cmp_Server_Program_Debug" />
                                        <ComponentRef Id="cmp_ServerCommonDebug" />
                                        <ComponentRef Id="cmp_CommonCommonDebug" />
                 <?include runtime.wxi?>
             </Feature>
             <Feature Id="feaControlCenter" AllowAdvertise="no" Description="$(loc.StrAFSCCLongDesc)"
-                Display="expand" FollowParent="yes" InstallDefault="local" Level="130" Title="$(loc.StrAFSCCDesc)">
+                Display="expand" InstallDefault="followParent" Level="130" Title="$(loc.StrAFSCCDesc)">
                 
                 <ComponentRef Id="rcm_Control_Center" />
                 <ComponentRef Id="cmp_CommonDir" />
 
             <?ifdef DebugSyms?>
                                <Feature Id="feaControlCenterDebug" AllowAdvertise="no" Description="$(loc.StrAFSCCDebugLongDesc)"
-                                       Display="expand" FollowParent="$(var.DebugSymFollowParent)" InstallDefault="local" Level="$(var.DebugSymHighLevel)" Title="$(loc.StrAFSCCDebugDesc)">
+                                       Display="expand" InstallDefault="$(var.DebugSymInstallDefault)" Level="$(var.DebugSymHighLevel)" Title="$(loc.StrAFSCCDebugDesc)">
                                        <ComponentRef Id="cmp_Control_CenterDebug" />
                                        <ComponentRef Id="cmp_ServerCommonDebug" />
                                        <ComponentRef Id="cmp_CommonCommonDebug" />
                                </Feature>
             <?endif?>
             
-                <ComponentRef Id="efl_Readme_TXT_$(var.Language)" />
-                
                 <!-- Runtime -->
                 <?include runtime.wxi?>
             </Feature>
             <Feature Id="feaSDK" AllowAdvertise="no" Description="$(loc.StrAFSSDKLongDesc)" Display="expand"
-                FollowParent="yes" InstallDefault="local" Level="130" Title="$(loc.StrAFSSDKDesc)">
+                InstallDefault="followParent" Level="130" Title="$(loc.StrAFSSDKDesc)">
 
                                <ComponentRef Id="rcm_SDK" />
 
-                <ComponentRef Id="efl_Readme_TXT_$(var.Language)" />                
                                <ComponentRef Id="cmp_SDK_Sample" />
                                <ComponentRef Id="cmp_SDK_Include" />
                                <ComponentRef Id="cmp_SDK_Include_afs" />
                                <ComponentRef Id="cmp_SDK_Include_Winnt" />
                                <ComponentRef Id="cmp_SDK_Lib" />
                                <ComponentRef Id="cmp_SDK_Lib_Afs" />
+                <?ifdef CygwinArchives ?>
+                <ComponentRef Id="cmp_SDK_Lib_Cygwin" />
+                <ComponentRef Id="cmp_SDK_Lib_Afs_Cygwin" />
+                <?endif?>
 
                        <?ifdef DebugSyms?>
                                <Feature Id="feaSDKDebug" AllowAdvertise="no" Description="$(loc.StrAFSSDKDebugLongDesc)" Display="expand"
-                                       FollowParent="$(var.DebugSymFollowParent)" InstallDefault="local" Level="$(var.DebugSymHighLevel)" Title="$(loc.StrAFSSDKDebugDesc)">
+                                       InstallDefault="$(var.DebugSymInstallDefault)" Level="$(var.DebugSymHighLevel)" Title="$(loc.StrAFSSDKDebugDesc)">
                                        <?include runtime_debug.wxi?>
                                </Feature>
                        <?endif?>
             </Feature>
             
             <Feature Id="feaDocumentation" AllowAdvertise="no" Description="$(loc.StrAFSDocLongDesc)"
-                Display="expand" FollowParent="yes" InstallDefault="local" Level="130" Title="$(loc.StrAFSDocDesc)">
+                Display="expand" InstallDefault="followParent" Level="130" Title="$(loc.StrAFSDocDesc)">
+
+               <ComponentRef Id="rcm_Documentation" />
+                <ComponentRef Id="cmp_Cmd_Ref_en_US" />
+                <ComponentRef Id="cmp_Cmd_Ref_1_en_US" />
+                <ComponentRef Id="cmp_Cmd_Ref_5_en_US" />
+                <ComponentRef Id="cmp_Cmd_Ref_8_en_US" />
+                <ComponentRef Id="cmp_Sys_Admin_Guide_en_US" />
+                <ComponentRef Id="cmp_User_Guide_en_US" />
+
+                <ComponentRef Id="cmf_afs_nt_HLP_en_US" />
+                <ComponentRef Id="cmp_Lang_en_US" />
+               
+            </Feature>
+  <?else?>
+            <Feature Id="feaBinaries" AllowAdvertise="no" Description="$(loc.StrBinsOnlyLongDesc)"
+                Display="expand" InstallDefault="followParent" Level="100" Title="$(loc.StrBinsOnlyDesc)">
+
+               <?ifdef DebugSyms?>
+                       <Feature Id="feaClientDebug" AllowAdvertise="no" Description="$(loc.StrAFSClientDebugLongDesc)" Display="expand"
+                               InstallDefault="$(var.DebugSymInstallDefault)" Level="$(var.DebugSymLowLevel)" Title="$(loc.StrAFSClientDebugDesc)">
+                    <ComponentRef Id="cmp_ClientProgramDebug" />
+                    <ComponentRef Id="cmp_CommonCommonDebug" />
+                    <?include runtime_debug.wxi?>
+                               </Feature>
+                       <?endif?>
+
+            <Feature Id="feaNetIDMgrPlugin" AllowAdvertise="no" Description="$(loc.StrNIDMPluginLongDesc)"
+                    Display="expand" InstallDefault="followParent" Level="30" Title="$(loc.StrNIDMPluginDesc)">
+                    <ComponentRef Id="_afscreds_plugin" />
+                    <ComponentRef Id="_afscreds_en_us" />
+                    <ComponentRef Id="_afscreds_chm" />
+           <?ifdef DebugSyms?>
+                    <Feature Id="DebugSyms" Title="$(loc.StrNIDMDebugDesc)" InstallDefault="$(var.DebugSymInstallDefault)"
+                       Level="$(var.DebugSymLowLevel)" Display="expand" Description="$(loc.StrNIDMDebugLongDesc)">
+                       <ComponentRef Id="_afscreds_debugsym" />
+                    </Feature>
+           <?endif?>
+            </Feature>
 
-                               <ComponentRef Id="rcm_Documentation" />
+               <ComponentRef Id="cmp_CommonDir" />
+
+                <ComponentRef Id="cmf_afsrpc_DLL" />
+                <ComponentRef Id="cmf_afsadminutil_DLL" />
+                <ComponentRef Id="cmf_afsclientadmin_DLL" />
+                <ComponentRef Id="cmf_afsvosadmin_DLL" />
+                <ComponentRef Id="cmf_afsauthent2_DLL" />
+                <ComponentRef Id="cmf_afspthread_DLL" />
+                <ComponentRef Id="cmf_TaAfsAppLib_DLL" />
+                <ComponentRef Id="cmf_afsprocmgmt_DLL" />
+
+                <ComponentRef Id="cmf_instloop_EXE" />
+                <ComponentRef Id="cmf_afsshare_EXE" />
+                <ComponentRef Id="cmf_libosi_DLL" />
+                <ComponentRef Id="cmf_libafsconf_DLL" />
+                <ComponentRef Id="cmf_klog_EXE" />
+                <ComponentRef Id="cmf_tokens_EXE" />
+                <ComponentRef Id="cmf_unlog_EXE" />
+                <ComponentRef Id="cmf_fs_EXE" />
+                <ComponentRef Id="cmf_afsdacl_EXE" />
+                <ComponentRef Id="cmf_symlink_EXE" />
+                <ComponentRef Id="cmf_kpasswd_EXE" />
+                <ComponentRef Id="cmf_pts_EXE" />
+                <ComponentRef Id="cmf_bos_EXE" />
+                <ComponentRef Id="cmf_kas_EXE" />
+                <ComponentRef Id="cmf_vos_EXE" />
+                <ComponentRef Id="cmf_udebug_EXE" />
+                <ComponentRef Id="cmf_translate_et_EXE" />
+                <ComponentRef Id="cmf_rxdebug_EXE" />
+                <ComponentRef Id="cmf_backup_EXE" />
+                <ComponentRef Id="cmf_afs_shl_ext_DLL" />
+                <ComponentRef Id="cmf_afs_shl_ext_$(var.LanguageCode)_DLL" />
+
+                <ComponentRef Id="rcm_BinsOnly_Parm" />
+               <ComponentRef Id="cmf_aklog_EXE" />
+                <ComponentRef Id="cmf_cmdebug_EXE" />
                 
-                <ComponentRef Id="efl_Readme_TXT_$(var.Language)" />                
-                <ComponentRef Id="cmf_index2_HTM_en_US" />
-                               <ComponentRef Id="efl_DocHtml_en_US" />
-                               <ComponentRef Id="cmp_Cmd_Ref_en_US" />
-                               <ComponentRef Id="cmp_Install_Guide_en_US" />
-                               <ComponentRef Id="cmp_Sys_Admin_Guide_en_US" />
-                               <ComponentRef Id="cmp_Release_Notes_en_US" />
-                               <ComponentRef Id="cmf_afs_nt_HLP_en_US" />
-                               <ComponentRef Id="cmp_Lang_en_US" />
-                               
+                <!-- Runtime -->
+                <?include runtime.wxi?>
+
             </Feature>
+  <?endif?>
         </Feature>
 </Include>