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="0"?>
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"?>
96 <?define Debug = "yes"?>
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 without debug syms. -->
105 <?define DebugSyms = "yes"?>
107 <!-- Parameters for the features containing debug symbols -->
110 <?define DebugSymInstallDefault="followParent"?>
111 <?define DebugSymLowLevel="30"?>
112 <?define DebugSymHighLevel="130"?>
114 <?define DebugSymInstallDefault="followParent"?>
115 <?define DebugSymLowLevel="130"?>
116 <?define DebugSymHighLevel="130"?>
120 <!-- Build type specifications -->
122 <?error CPU is not set ?>
124 <?if $(env.CPU) = "i386"?>
125 <?define InstallerVersion="110"?>
126 <?define Platform="Intel"?>
127 <?define Win64="no"?>
128 <?elseif $(env.CPU) = "AMD64"?>
129 <?define InstallerVersion="200"?>
130 <?define Platform="x64"?>
131 <?define Win64="yes"?>
133 <?error Unknown build type?>
136 <!-- Use the afsloopback.dll instead of instloop.exe -->
137 <?define UseDllLoopbackInstaller = "yes"?>
139 <!-- Note that if the follwing file does not exist, the build will fail -->
140 <?ifndef CellDbFile?>
141 <?define CellDbFile="CellServDB"?>
145 <!-- DestDir must be specified -->
147 <?define DestDir="$(env.AFSROOT)\dest\"?>
150 <?define SrcDir="$(env.AFSROOT)\src\"?>
152 <?ifndef MediaDllDir?>
153 <?define MediaDllDir="$(var.DestDir)WinInstall\Dll\"?>
155 <?ifndef MediaBinDir?>
156 <?define MediaBinDir="$(var.DestDir)WinInstall\Config\"?>
159 <?define BinDir="$(var.DestDir)bin\"?>
162 <?define LibDir="$(var.DestDir)lib\"?>
165 <?define IncDir="$(var.DestDir)include\"?>
168 <?define EtcDir="$(var.DestDir)etc\"?>
171 <?define ClientDir="$(var.DestDir)root.client\usr\vice\etc\"?>
174 <?define ServerDir="$(var.DestDir)root.server\usr\afs\bin\"?>
177 <!-- We need the following to locate the proper runtime libraries -->
178 <?ifndef env.AFSVER_CL?>
179 <?error AFSVER_CL needs to be set to the compiler version?>
181 <?define SystemDir="$(env.SystemRoot)\System32\"?>