misc-post-1366-20040804
[openafs.git] / src / WINNT / install / wix / config.wxi
1 \feff<?xml version="1.0"?>
2
3 <Include>
4     <!--
5      config.wxi defines the following variables :
6       General:
7        NumericVersion : Version number of the form a.b.c
8        VersionMajor   : a
9        VersionMinor   : b
10        VersionPatch   : c
11        PackageCode    : Package code
12        Debug          : Whether or not to include debugging information
13        ReleaseType    : AFS release type
14        InstallTimestamp: Timestamp for when the installer was generated.
15        
16        CellName       : Default cell name
17        CellDbFile     : Path to default CellServDB file
18        
19        RemoveLoopback : Defined if we want to remove the loopback adapter
20        
21       
22       Directory specs: (all dir. specs end in a '\')
23        MediaDllDir    : Installer Dlls
24        MediaBinDir    : Installer Exes
25        SrcDir         : openafs\src\
26        DestDir        : $(DEST)\
27        BinDir         : $(DEST)\bin\
28        LibDir         : $(DEST)\lib\
29        IncDir         : $(DEST)\include\
30        EtcDir         : $(DEST)\etc\
31        ClientDir      : $(DEST)\root.client\usr\vice\etc\
32        ServerDir      : $(DEST)\root.server\usr\afs\bin\
33        
34        SystemDir      : %SystemRoot%\System32\
35      -->
36
37         <!-- Configuration options, allow for commandline specification -->
38     <?ifndef CellName?>
39         <?define CellName="openafs.org"?>
40     <?endif?>
41     <?ifndef LogonOptions?>
42                 <?define LogonOptions="1"?>
43     <?endif?>
44     <?ifndef FreelanceMode?>
45                 <?define FreelanceMode="1"?>
46     <?endif?>
47     <?ifndef UseDNS?>
48                 <?define UseDNS="1"?>
49     <?endif?>
50     <?ifndef NoFindLanaByName?>
51                 <?define NoFindLanaByName="1"?>
52     <?endif?>
53     <?ifndef MountRoot?>
54                 <?define MountRoot="/afs"?>
55     <?endif?>
56     <?ifndef NetbiosName?>
57                 <?define NetbiosName="AFS"?>
58     <?endif?>
59     <?ifndef RxMaxMTU?>
60                 <?define RxMaxMTU="1260"?>
61     <?endif?>
62     <?ifndef HideDotFiles?>
63                 <?define HideDotFiles="1"?>
64     <?endif?>
65     <?ifndef SecurityLevel?>
66                 <?define SecurityLevel="1"?>
67     <?endif?>
68     <?ifndef SMBAuthType?>
69                 <?define SMBAuthType="2"?>
70     <?endif?>
71
72     <?define InstallTimestamp="[Date] [Time]"?>
73     
74     <!-- The following general parameters may be specified on the commandline to candle -->
75     <?ifndef NumericVersion?>
76         <?error NumericVersion should have been specified on the commandline?>
77     <?endif?>
78     <!-- We can't currently break down a numeric version into components in here,
79          so we also need the major, minor and patch on the command line as well
80     -->
81     <?ifndef VersionMajor?>
82         <?error VersionMajor should have been specified on the commandline?>
83     <?endif?>
84     <?ifndef VersionMinor?>
85         <?error VersionMinor should be specified on the commandline?>
86     <?endif?>
87     <?ifndef VersionPatch?>
88         <?error VersionRevision should be specified on the commandline?>
89     <?endif?>
90
91     <!-- define some packagecode, though we aren't really using it.  See openafs.wxs -->
92     <?ifndef PackageCode?>
93         <?define PackageCode="6086552D-3EFA-436C-A0BD-25668849F0DB"?>
94     <?endif?>
95     <?if $(env.AFSDEV_BUILDTYPE) = "CHECKED"?>
96         <?define Debug?>
97         <?define ReleaseType="DT"?>
98     <?elseif $(env.AFSDEV_BUILDTYPE) = "FREE"?>
99         <?define ReleaseType="GA"?>
100     <?else?>
101         <?error AFSDEV_BUILDTYPE is not set in the environment.?>
102     <?endif?>
103
104     <!-- We are including debug symbols anyway.  Undefine this for a leaner installer witout debug syms. -->
105     <?define DebugSyms?>
106     
107     <!-- Use the afsloopback.dll instead of instloop.exe -->
108     <?define UseDllLoopbackInstaller?>
109
110     <!-- Note that if the follwing file does not exist, the build will fail -->
111     <?ifndef CellDbFile?>
112         <?define CellDbFile="CellServDB"?>
113     <?endif?>
114     
115     <!-- Directories -->
116     <!-- DestDir must be specified -->
117     <?ifndef DestDir?>
118         <?define DestDir="$(env.AFSROOT)\dest\"?>
119     <?endif?>
120     <?ifndef SrcDir?>
121         <?define SrcDir="$(env.AFSROOT)\src\"?>
122     <?endif?>
123     <?ifndef MediaDllDir?>
124         <?define MediaDllDir="$(var.DestDir)WinInstall\Dll\"?>
125     <?endif?>
126     <?ifndef MediaBinDir?>
127         <?define MediaBinDir="$(var.DestDir)WinInstall\Config\"?>
128     <?endif?>
129     <?ifndef BinDir?>
130         <?define BinDir="$(var.DestDir)bin\"?>
131     <?endif?>
132     <?ifndef LibDir?>
133         <?define LibDir="$(var.DestDir)lib\"?>
134     <?endif?>
135     <?ifndef IncDir?>
136         <?define IncDir="$(var.DestDir)include\"?>
137     <?endif?>
138     <?ifndef EtcDir?>
139         <?define EtcDir="$(var.DestDir)etc\"?>
140     <?endif?>
141     <?ifndef ClientDir?>
142         <?define ClientDir="$(var.DestDir)root.client\usr\vice\etc\"?>
143     <?endif?>
144     <?ifndef ServerDir?>
145         <?define ServerDir="$(var.DestDir)root.server\usr\afs\bin\"?>
146     <?endif?>
147     
148     <!-- We need the following to locate the proper runtime libraries -->
149     <?ifndef env.AFSVER_CL?>
150                 <?error AFSVER_CL needs to be set to the compiler version?>
151     <?endif?>
152     <?define SystemDir="$(env.SystemRoot)\System32\"?>
153 </Include>