diff --git a/NTMakefile b/NTMakefile
index dd6e1df0c7..36872bea3a 100644
--- a/NTMakefile
+++ b/NTMakefile
@@ -713,10 +713,18 @@ wix: loopback man-pages documentation
$(NTMAKE)
$(CD) ..\..\..\..
+wix-lite: loopback man-pages documentation
+ @echo ***** Making Wix MSI Installer (Lite)
+ $(DOCD) $(SRC)\WINNT\install\wix
+ $(CD) $(SRC)\WINNT\install\wix
+ $(NTMAKE) LITECLIENT=1
+ $(CD) ..\..\..\..
+
media: install NSIS wix
install-nsis: install NSIS
install-wix: install wix
+install-wix-lite: install wix-lite
diff --git a/src/NTMakefile b/src/NTMakefile
index a7d7042522..579000f698 100644
--- a/src/NTMakefile
+++ b/src/NTMakefile
@@ -713,10 +713,18 @@ wix: loopback man-pages documentation
$(NTMAKE)
$(CD) ..\..\..\..
+wix-lite: loopback man-pages documentation
+ @echo ***** Making Wix MSI Installer (Lite)
+ $(DOCD) $(SRC)\WINNT\install\wix
+ $(CD) $(SRC)\WINNT\install\wix
+ $(NTMAKE) LITECLIENT=1
+ $(CD) ..\..\..\..
+
media: install NSIS wix
install-nsis: install NSIS
install-wix: install wix
+install-wix-lite: install wix-lite
diff --git a/src/WINNT/install/wix/NTMakefile b/src/WINNT/install/wix/NTMakefile
index 8fa8b7f07c..0212c15ae1 100644
--- a/src/WINNT/install/wix/NTMakefile
+++ b/src/WINNT/install/wix/NTMakefile
@@ -12,9 +12,15 @@ RELDIR=WINNT\install\wix
MEDIADIR = $(DESTDIR)\WinInstall
MEDIABINDIR = $(MEDIADIR)\Dll
-MSIFILE = $(MEDIADIR)\openafs-$(LANG).msi
+!IFDEF LITECLIENT
+LITE=-lite
+!ELSE
+LITE=
+!ENDIF
+
+MSIFILE = $(MEDIADIR)\openafs-$(LANG)$(LITE).msi
!IF ("$(CPU)" == "i386")
-BINMSIFILE = $(MEDIADIR)\openafs-32bit-tools-$(LANG).msi
+BINMSIFILE = $(MEDIADIR)\openafs-32bit-tools-$(LANG)$(LITE).msi
!ENDIF
!IFNDEF MSIDNNLS
@@ -31,9 +37,9 @@ WIXINCLUDES = \
registry.wxi \
lang\$(LANG)\ui.wxi
-WIXOBJ = $(OUT)\openafs-$(LANG).wixobj
+WIXOBJ = $(OUT)\openafs-$(LANG)$(LITE).wixobj
!IF ("$(CPU)" == "i386")
-BINWIXOBJ = $(OUT)\openafs-32bit-tools-$(LANG).wixobj
+BINWIXOBJ = $(OUT)\openafs-32bit-tools-$(LANG)$(LITE).wixobj
!ENDIF
!IFNDEF NOCYGWIN
WIXCYGOPT=-dCygwinArchives
@@ -53,9 +59,16 @@ languages:
# )
$(MAKE) /f NTMakefile /nologo LANG=en_US lang
-
lang:: lang_clean $(MSIFILE) $(BINMSIFILE)
+lang_clean:
+ -$(DEL) $(WIXOBJ)
+ -$(DEL) $(MSIFILE)
+!IF ("$(CPU)" == "i386")
+ -$(DEL) $(BINWIXOBJ)
+ -$(DEL) $(BINMSIFILE)
+!ENDIF
+
uninst:
$(CD) uninstall
$(MAKE) /f NTMakefile /nologo install
@@ -86,6 +99,9 @@ $(WIXOBJ): openafs.wxs $(WIXINCLUDES)
"-dDestDir=$(DESTDIR)\\" \
-dCellDbFile=CellServDB \
"-dIDNMRedistDir=$(MSIDNNLS)\\REDIST" \
+!IFDEF LITECLIENT
+ -dLiteClient=1 \
+!ENDIF
-v0 \
-w0 \
$(WIXCYGOPT) $(AFSDEV_AUXWIXDEFINES) openafs.wxs
@@ -101,6 +117,9 @@ $(BINWIXOBJ): oafwbins.wxs $(WIXINCLUDES)
-dVersionPatch=$(AFSPRODUCT_VER_PATCH) \
"-dDestDir=$(DESTDIR)\\" \
-dCellDbFile=CellServDB \
+!IFDEF LITECLIENT
+ -dLiteClient=1 \
+!ENDIF
-v0 \
-w0 \
$(WIXCYGOPT) $(AFSDEV_AUXWIXDEFINES) oafwbins.wxs
@@ -113,6 +132,12 @@ $(BINMSIFILE): $(BINWIXOBJ)
dir $(BINMSIFILE)
!ENDIF
+# Pseudotarget for building lite installer.
+!IFNDEF LITECLIENT
+lite:
+ $(MAKE) /f NTMakefile /nologo install LITECLIENT=1
+!ENDIF
+
# Cleanup
clean::
for %l in ( $(LANGUAGES) ) do \
@@ -124,13 +149,5 @@ clean::
$(MAKE) /f NTMakefile /nologo clean
$(CD) ..
-lang_clean:
- -$(DEL) $(WIXOBJ)
- -$(DEL) $(MSIFILE)
-!IF ("$(CPU)" == "i386")
- -$(DEL) $(BINWIXOBJ)
- -$(DEL) $(BINMSIFILE)
-!ENDIF
-
diff --git a/src/WINNT/install/wix/config.wxi b/src/WINNT/install/wix/config.wxi
index bf4da813f1..7e04296495 100644
--- a/src/WINNT/install/wix/config.wxi
+++ b/src/WINNT/install/wix/config.wxi
@@ -102,8 +102,16 @@
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/WINNT/install/wix/feature.wxi b/src/WINNT/install/wix/feature.wxi
index da42ec2a14..036065ad2e 100644
--- a/src/WINNT/install/wix/feature.wxi
+++ b/src/WINNT/install/wix/feature.wxi
@@ -113,7 +113,8 @@
-
+
+
@@ -172,10 +173,11 @@
-
+
+
@@ -227,6 +229,8 @@
+
+
@@ -253,6 +257,7 @@
+
diff --git a/src/WINNT/install/wix/files.wxi b/src/WINNT/install/wix/files.wxi
index 8e0a434f17..4862d3699f 100644
--- a/src/WINNT/install/wix/files.wxi
+++ b/src/WINNT/install/wix/files.wxi
@@ -31,6 +31,7 @@
+
@@ -43,6 +44,7 @@
+
@@ -99,6 +101,7 @@
+
@@ -111,12 +114,13 @@
-
-
-
+
+
+
+
@@ -295,7 +299,8 @@
-
+
+
@@ -319,6 +324,7 @@
+
@@ -1268,6 +1274,7 @@
+
@@ -1384,7 +1391,9 @@
-
+
+
+
@@ -1721,6 +1730,7 @@
+
diff --git a/src/WINNT/install/wix/registry.wxi b/src/WINNT/install/wix/registry.wxi
index 98dc9a8d02..210a974a44 100644
--- a/src/WINNT/install/wix/registry.wxi
+++ b/src/WINNT/install/wix/registry.wxi
@@ -4,6 +4,7 @@
This file will be included as a child of the root Directory tag.
-->
+
@@ -61,6 +62,7 @@
+
@@ -166,6 +168,7 @@
+
@@ -192,6 +195,7 @@
+