1 \feff<?xml version="1.0"?>
5 config.wxi defines the following variables :
7 NumericVersion : Version number of the form a.b.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.
16 CellName : Default cell name
17 CellDbFile : Path to default CellServDB file
19 RemoveLoopback : Defined if we want to remove the loopback adapter
22 Directory specs: (all dir. specs end in a '\')
23 MediaDllDir : Installer Dlls
24 MediaBinDir : Installer Exes
29 IncDir : $(DEST)\include\
31 ClientDir : $(DEST)\root.client\usr\vice\etc\
32 ServerDir : $(DEST)\root.server\usr\afs\bin\
34 SystemDir : %SystemRoot%\System32\
37 <!-- Configuration options, allow for commandline specification -->
39 <?define CellName="openafs.org"?>
41 <?ifndef LogonOptions?>
42 <?define LogonOptions="1"?>
44 <?ifndef FreelanceMode?>
45 <?define FreelanceMode="1"?>
50 <?ifndef NoFindLanaByName?>
51 <?define NoFindLanaByName="1"?>
54 <?define MountRoot="/afs"?>
56 <?ifndef NetbiosName?>
57 <?define NetbiosName="AFS"?>
60 <?define RxMaxMTU="1260"?>
62 <?ifndef HideDotFiles?>
63 <?define HideDotFiles="1"?>
65 <?ifndef SecurityLevel?>
66 <?define SecurityLevel="1"?>
68 <?ifndef SMBAuthType?>
69 <?define SMBAuthType="2"?>
72 <?define InstallTimestamp="[Date] [Time]"?>
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?>
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
81 <?ifndef VersionMajor?>
82 <?error VersionMajor should have been specified on the commandline?>
84 <?ifndef VersionMinor?>
85 <?error VersionMinor should be specified on the commandline?>
87 <?ifndef VersionPatch?>
88 <?error VersionRevision should be specified on the commandline?>
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"?>
95 <?if $(env.AFSDEV_BUILDTYPE) = "CHECKED"?>
97 <?define ReleaseType="DT"?>
98 <?elseif $(env.AFSDEV_BUILDTYPE) = "FREE"?>
99 <?define ReleaseType="GA"?>
101 <?error AFSDEV_BUILDTYPE is not set in the environment.?>
104 <!-- We are including debug symbols anyway. Undefine this for a leaner installer witout debug syms. -->
107 <!-- Use the afsloopback.dll instead of instloop.exe -->
108 <?define UseDllLoopbackInstaller?>
110 <!-- Note that if the follwing file does not exist, the build will fail -->
111 <?ifndef CellDbFile?>
112 <?define CellDbFile="CellServDB"?>
116 <!-- DestDir must be specified -->
118 <?define DestDir="$(env.AFSROOT)\dest\"?>
121 <?define SrcDir="$(env.AFSROOT)\src\"?>
123 <?ifndef MediaDllDir?>
124 <?define MediaDllDir="$(var.DestDir)WinInstall\Dll\"?>
126 <?ifndef MediaBinDir?>
127 <?define MediaBinDir="$(var.DestDir)WinInstall\Config\"?>
130 <?define BinDir="$(var.DestDir)bin\"?>
133 <?define LibDir="$(var.DestDir)lib\"?>
136 <?define IncDir="$(var.DestDir)include\"?>
139 <?define EtcDir="$(var.DestDir)etc\"?>
142 <?define ClientDir="$(var.DestDir)root.client\usr\vice\etc\"?>
145 <?define ServerDir="$(var.DestDir)root.server\usr\afs\bin\"?>
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?>
152 <?define SystemDir="$(env.SystemRoot)\System32\"?>