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
30 IncDir : $(DEST)\include\
32 ClientDir : $(DEST)\root.client\usr\vice\etc\
33 ServerDir : $(DEST)\root.server\usr\afs\bin\
35 SystemDir : %SystemRoot%\System32\
38 <!-- Configuration options, allow for commandline specification -->
40 <?define CellName="<enter.your.cell>"?>
42 <?ifndef LogonOptions?>
43 <?define LogonOptions="0"?>
45 <?ifndef FreelanceMode?>
46 <?define FreelanceMode="1"?>
51 <?ifndef NoFindLanaByName?>
52 <?define NoFindLanaByName="1"?>
55 <?define MountRoot="/afs"?>
57 <?ifndef NetbiosName?>
58 <?define NetbiosName="AFS"?>
61 <?define RxMaxMTU="0"?>
63 <?ifndef HideDotFiles?>
64 <?define HideDotFiles="1"?>
66 <?ifndef SecurityLevel?>
67 <?define SecurityLevel="1"?>
69 <?ifndef SMBAuthType?>
70 <?define SMBAuthType="2"?>
73 <?define InstallTimestamp="[Date] [Time]"?>
75 <!-- The following general parameters may be specified on the commandline to candle -->
76 <?ifndef NumericVersion?>
77 <?error NumericVersion should have been specified on the commandline?>
79 <!-- We can't currently break down a numeric version into components in here,
80 so we also need the major, minor and patch on the command line as well
82 <?ifndef VersionMajor?>
83 <?error VersionMajor should have been specified on the commandline?>
85 <?ifndef VersionMinor?>
86 <?error VersionMinor should be specified on the commandline?>
88 <?ifndef VersionPatch?>
89 <?error VersionRevision should be specified on the commandline?>
92 <!-- define some packagecode, though we aren't really using it. See openafs.wxs -->
93 <?ifndef PackageCode?>
94 <?define PackageCode="6086552D-3EFA-436C-A0BD-25668849F0DB"?>
96 <?if $(env.AFSDEV_BUILDTYPE) = "CHECKED"?>
97 <?define Debug = "yes"?>
98 <?define ReleaseType="DT"?>
99 <?elseif $(env.AFSDEV_BUILDTYPE) = "FREE"?>
100 <?define ReleaseType="GA"?>
102 <?error AFSDEV_BUILDTYPE is not set in the environment.?>
105 <!-- Are we building a lite installer? then don't include debug symbols -->
106 <?ifdef LiteClient ?>
107 <?define NoDebugSyms ?>
110 <!-- Default to including debug symbols unless someone defines
112 <?ifndef NoDebugSyms ?>
113 <?define DebugSyms = "yes"?>
116 <!-- Parameters for the features containing debug symbols -->
119 <?define DebugSymInstallDefault="followParent"?>
120 <?define DebugSymLowLevel="30"?>
121 <?define DebugSymHighLevel="130"?>
123 <?define DebugSymInstallDefault="followParent"?>
124 <?define DebugSymLowLevel="130"?>
125 <?define DebugSymHighLevel="130"?>
129 <!-- Build type specifications -->
131 <?error CPU is not set ?>
133 <?if $(env.CPU) = "i386"?>
134 <?define InstallerVersion="110"?>
135 <?define Platform="Intel"?>
136 <?define Win64="no"?>
137 <?define Arch="x86"?>
138 <?elseif $(env.CPU) = "AMD64"?>
139 <?define InstallerVersion="200"?>
140 <?define Platform="x64"?>
141 <?define Win64="yes"?>
142 <?define Arch="amd64"?>
144 <?error Unknown build type?>
147 <!-- Use the afsloopback.dll instead of instloop.exe -->
148 <?define UseDllLoopbackInstaller = "yes"?>
150 <!-- Note that if the follwing file does not exist, the build will fail -->
151 <?ifndef CellDbFile?>
152 <?define CellDbFile="CellServDB"?>
156 <!-- DestDir must be specified -->
158 <?define DestDir="$(env.AFSROOT)\dest\"?>
161 <?define SrcDir="$(env.AFSROOT)\src\"?>
164 <?define DocDir="$(env.AFSROOT)\doc\"?>
166 <?ifndef MediaDllDir?>
167 <?define MediaDllDir="$(var.DestDir)WinInstall\Dll\"?>
169 <?ifndef MediaBinDir?>
170 <?define MediaBinDir="$(var.DestDir)WinInstall\Config\"?>
173 <?define BinDir="$(var.DestDir)bin\"?>
176 <?define LibDir="$(var.DestDir)lib\"?>
179 <?define IncDir="$(var.DestDir)include\"?>
182 <?define EtcDir="$(var.DestDir)etc\"?>
185 <?define ClientDir="$(var.DestDir)root.client\usr\vice\etc\"?>
188 <?define ServerDir="$(var.DestDir)root.server\usr\afs\bin\"?>
191 <!-- We need the following to locate the proper runtime libraries -->
192 <?ifndef env.AFSVER_CL?>
193 <?error AFSVER_CL needs to be set to the compiler version?>
195 <?define SystemDir="$(env.SystemRoot)\System32\"?>