diff --git a/src/WINNT/install/wix/NTMakefile b/src/WINNT/install/wix/NTMakefile index d1b75a20db..cd2bd29c51 100644 --- a/src/WINNT/install/wix/NTMakefile +++ b/src/WINNT/install/wix/NTMakefile @@ -13,6 +13,7 @@ MEDIADIR = $(DESTDIR)\WinInstall MEDIABINDIR = $(MEDIADIR)\Dll MSIFILE = $(MEDIADIR)\openafs-$(LANG).msi +BINMSIFILE = $(MEDIADIR)\openafs-32bit-tools-$(LANG).msi WIXINCLUDES = \ config.wxi \ @@ -24,6 +25,7 @@ WIXINCLUDES = \ lang\$(LANG)\ui.wxi WIXOBJ = $(OUT)\openafs-$(LANG).wixobj +BINWIXOBJ = $(OUT)\openafs-32bit-tools-$(LANG).wixobj LANGUAGES=en_US de_DE es_ES ja_JP ko_KR pt_BR zh_CN zh_TW @@ -36,8 +38,9 @@ languages: # $(MAKE) /f NTMakefile /nologo LANG=%l lang # ) $(MAKE) /f NTMakefile /nologo LANG=en_US lang + -lang:: lang_clean $(MSIFILE) +lang:: lang_clean $(MSIFILE) $(BINMSIFILE) uninst: $(CD) uninstall @@ -49,7 +52,7 @@ customactions: $(MAKE) /f NTMakefile /nologo install $(CD) .. -install: uninst customactions languages +install: uninst customactions languages $(MSIFILE): $(WIXOBJ) light -nologo -out $(MSIFILE) \ @@ -71,6 +74,26 @@ $(WIXOBJ): openafs.wxs $(WIXINCLUDES) -w0 \ $(AFSDEV_AUXWIXDEFINES) openafs.wxs +$(BINWIXOBJ): oafwbins.wxs $(WIXINCLUDES) + candle -nologo -out $@ \ + "-dCellName=$(CELLNAME_DEFAULT)" \ + -dLanguage=$(LANG) \ + -dNumericVersion=$(AFSPRODUCT_VERSION) \ + -dVersionMajor=$(AFSPRODUCT_VER_MAJOR) \ + -dVersionMinor=$(AFSPRODUCT_VER_MINOR) \ + -dVersionPatch=$(AFSPRODUCT_VER_PATCH) \ + "-dDestDir=$(DESTDIR)\\" \ + -dCellDbFile=CellServDB \ + -v0 \ + -w0 \ + $(AFSDEV_AUXWIXDEFINES) oafwbins.wxs + +$(BINMSIFILE): $(BINWIXOBJ) + light -nologo -out $(BINMSIFILE) \ + -loc lang\en_US\strings.wxl \ + $(BINWIXOBJ) + dir $(BINMSIFILE) + # Cleanup clean:: for %l in ( $(LANGUAGES) ) do \ @@ -81,7 +104,9 @@ clean:: $(CD) uninstall $(MAKE) /f NTMakefile /nologo clean $(CD) .. - + lang_clean: -$(DEL) $(WIXOBJ) -$(DEL) $(MSIFILE) + -$(DEL) $(BINWIXOBJ) + -$(DEL) $(BINMSIFILE) diff --git a/src/WINNT/install/wix/config.wxi b/src/WINNT/install/wix/config.wxi index 1d70324530..84c3a7744e 100644 --- a/src/WINNT/install/wix/config.wxi +++ b/src/WINNT/install/wix/config.wxi @@ -132,7 +132,7 @@ - + diff --git a/src/WINNT/install/wix/feature.wxi b/src/WINNT/install/wix/feature.wxi index 006a6fcd56..4d7555379e 100644 --- a/src/WINNT/install/wix/feature.wxi +++ b/src/WINNT/install/wix/feature.wxi @@ -1,9 +1,11 @@ - + + + @@ -12,7 +14,9 @@ + + @@ -256,5 +260,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/WINNT/install/wix/files.wxi b/src/WINNT/install/wix/files.wxi index 0bf67a4a61..4c99a6b577 100644 --- a/src/WINNT/install/wix/files.wxi +++ b/src/WINNT/install/wix/files.wxi @@ -1,5 +1,6 @@ + @@ -26,11 +27,13 @@ + + @@ -39,11 +42,14 @@ + + + @@ -65,6 +71,8 @@ + + @@ -80,11 +88,14 @@ + - + + + @@ -94,6 +105,7 @@ + @@ -101,11 +113,14 @@ + + + @@ -162,6 +177,7 @@ + @@ -310,7 +326,8 @@ - + + @@ -333,7 +350,9 @@ + + @@ -381,7 +400,9 @@ + + @@ -774,8 +795,10 @@ + + OLDCELLSERVDB = "" @@ -785,6 +808,7 @@ OLDCELLSERVDB <> "" + @@ -810,6 +834,7 @@ + @@ -844,6 +869,7 @@ + @@ -882,10 +908,12 @@ + + @@ -895,9 +923,6 @@ - - - @@ -912,10 +937,15 @@ + + + + + - + @@ -1232,8 +1262,10 @@ + + @@ -1343,9 +1375,12 @@ + + + @@ -1353,6 +1388,7 @@ + diff --git a/src/WINNT/install/wix/lang/en_US/strings.wxl b/src/WINNT/install/wix/lang/en_US/strings.wxl index 30303afd1a..72a2843a4e 100644 --- a/src/WINNT/install/wix/lang/en_US/strings.wxl +++ b/src/WINNT/install/wix/lang/en_US/strings.wxl @@ -25,6 +25,8 @@ Optional components Loopback adapter Loopback adapter for AFS. It is recommended that you install the loopback adapter if you are installing the client components. + OpenAFS command-line utilities and libraries. + Tools and libraries AFS Context Menu Shell Extension Authentication for AFS diff --git a/src/WINNT/install/wix/language_config.wxi b/src/WINNT/install/wix/language_config.wxi index 95145c2ba2..338bf311e5 100644 --- a/src/WINNT/install/wix/language_config.wxi +++ b/src/WINNT/install/wix/language_config.wxi @@ -1,4 +1,4 @@ - + @@ -35,7 +55,8 @@ - + + @@ -46,7 +67,7 @@ - + diff --git a/src/WINNT/install/wix/platform.wxi b/src/WINNT/install/wix/platform.wxi index 0d52cd320c..788456ec08 100644 --- a/src/WINNT/install/wix/platform.wxi +++ b/src/WINNT/install/wix/platform.wxi @@ -97,6 +97,7 @@ + @@ -194,6 +195,7 @@ + diff --git a/src/WINNT/install/wix/property.wxi b/src/WINNT/install/wix/property.wxi index beb75e80fd..1abe63e601 100644 --- a/src/WINNT/install/wix/property.wxi +++ b/src/WINNT/install/wix/property.wxi @@ -1,34 +1,37 @@ - + + $(var.NetbiosName) + $(var.UseDNS) $(var.CellName) + + $(var.LogonOptions) $(var.FreelanceMode) - $(var.UseDNS) - $(var.NoFindLanaByName) - $(var.MountRoot) - $(var.NetbiosName) - $(var.RxMaxMTU) - $(var.HideDotFiles) - $(var.SecurityLevel) - 1 - -a - -m - -n - -q - $(var.SMBAuthType) - - - - + $(var.NoFindLanaByName) + $(var.MountRoot) + $(var.RxMaxMTU) + $(var.HideDotFiles) + $(var.SecurityLevel) + 1 + -a + -m + -n + -q + $(var.SMBAuthType) + + + + + $(var.ProductComments) @@ -44,6 +47,7 @@ Typical + @@ -116,12 +120,14 @@ - $(loc.StrNsisAbortReason) - + + + $(loc.StrNsisAbortReason) + diff --git a/src/WINNT/install/wix/registry.wxi b/src/WINNT/install/wix/registry.wxi index d79b680708..d0a1a33557 100644 --- a/src/WINNT/install/wix/registry.wxi +++ b/src/WINNT/install/wix/registry.wxi @@ -3,6 +3,7 @@ + @@ -204,5 +205,32 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + +