diff --git a/src/WINNT/install/wix/NTMakefile b/src/WINNT/install/wix/NTMakefile index 8b2c501456..0dff735c0c 100644 --- a/src/WINNT/install/wix/NTMakefile +++ b/src/WINNT/install/wix/NTMakefile @@ -16,7 +16,7 @@ WIXINCLUDES = \ registry.wxi \ lang\$(LANG)\ui.wxi -WIXOBJ = $(OJT)\openafs-$(LANG).wixobj +WIXOBJ = $(OUT)\openafs-$(LANG).wixobj LANGUAGES=en_US de_DE es_ES ja_JP ko_KR pt_BR zh_CN zh_TW @@ -53,6 +53,7 @@ $(WIXOBJ): openafs.wxs $(WIXINCLUDES) -dVersionMajor=$(AFSPRODUCT_VER_MAJOR) \ -dVersionMinor=$(AFSPRODUCT_VER_MINOR) \ -dVersionPatch=$(AFSPRODUCT_VER_PATCH) \ + -dProductCode=$(AFSPRODUCT_VER_GUID) \ "-dDestDir=$(DESTDIR)\\" \ -dCellDbFile=CellServDB \ -v0 \ diff --git a/src/WINNT/install/wix/feature.wxi b/src/WINNT/install/wix/feature.wxi index 431741e732..273b9042cc 100644 --- a/src/WINNT/install/wix/feature.wxi +++ b/src/WINNT/install/wix/feature.wxi @@ -92,7 +92,7 @@ - + diff --git a/src/WINNT/install/wix/files.wxi b/src/WINNT/install/wix/files.wxi index 041187751d..0a61cca5d4 100644 --- a/src/WINNT/install/wix/files.wxi +++ b/src/WINNT/install/wix/files.wxi @@ -1,6 +1,6 @@ - + @@ -17,9 +17,9 @@ - + - + @@ -119,7 +119,7 @@ - + @@ -289,7 +289,7 @@ - + @@ -360,10 +360,10 @@ - + - - + + @@ -380,7 +380,7 @@ - + @@ -668,7 +668,7 @@ - + @@ -676,7 +676,7 @@ - + @@ -715,7 +715,7 @@ - + @@ -730,7 +730,7 @@ - + OLDCELLSERVDB = "" @@ -740,7 +740,7 @@ OLDCELLSERVDB <> "" - + @@ -783,7 +783,7 @@ - + - - - - + + + + @@ -1202,7 +1202,7 @@ - + diff --git a/src/WINNT/install/wix/lang/en_US/strings.wxl b/src/WINNT/install/wix/lang/en_US/strings.wxl index 1c342f2afe..d014960e74 100644 --- a/src/WINNT/install/wix/lang/en_US/strings.wxl +++ b/src/WINNT/install/wix/lang/en_US/strings.wxl @@ -35,6 +35,7 @@ Server Configuration Wizard OpenAFS for Windows is currently only packaged for Windows 2000,XP and 2003 + Installation of OpenAFS for Windows requires administrative privileges Installation of Network Provider failed. System error [2] Configuration of client service failed. System error [2] diff --git a/src/WINNT/install/wix/lang/en_US/ui.wxi b/src/WINNT/install/wix/lang/en_US/ui.wxi index feade40532..0a3f16f7c7 100644 --- a/src/WINNT/install/wix/lang/en_US/ui.wxi +++ b/src/WINNT/install/wix/lang/en_US/ui.wxi @@ -130,7 +130,7 @@ 1 - 1 + 1 1 diff --git a/src/WINNT/install/wix/language_config.wxi b/src/WINNT/install/wix/language_config.wxi index d82090eb31..af0fdde4d8 100644 --- a/src/WINNT/install/wix/language_config.wxi +++ b/src/WINNT/install/wix/language_config.wxi @@ -27,7 +27,10 @@ - + + + + diff --git a/src/WINNT/install/wix/openafs.wxs b/src/WINNT/install/wix/openafs.wxs index df94cd5058..159b088c0a 100644 --- a/src/WINNT/install/wix/openafs.wxs +++ b/src/WINNT/install/wix/openafs.wxs @@ -38,10 +38,11 @@ /> - + = 500]]> + Privileged + diff --git a/src/WINNT/install/wix/property.wxi b/src/WINNT/install/wix/property.wxi index 6dfea7db4a..d3edf9eef1 100644 --- a/src/WINNT/install/wix/property.wxi +++ b/src/WINNT/install/wix/property.wxi @@ -114,7 +114,7 @@ $(loc.StrNsisAbortReason) - + diff --git a/src/WINNT/install/wix/registry.wxi b/src/WINNT/install/wix/registry.wxi index 9266497db0..fcc86ac145 100644 --- a/src/WINNT/install/wix/registry.wxi +++ b/src/WINNT/install/wix/registry.wxi @@ -194,7 +194,7 @@ empty. Due to a bug in Windows Installer, when a feature is empty (i.e. contains no components) its install state is set as NULL, instead of Local or Absent. This prevents the feature from being removed when the product is uninstalled. This is just a flag component to add to the - loopback feature so that it is not empty. --> + loopback feature so that it is not empty. --> diff --git a/src/config/NTMakefile.i386_nt40 b/src/config/NTMakefile.i386_nt40 index 541ad88496..34d81c214a 100644 --- a/src/config/NTMakefile.i386_nt40 +++ b/src/config/NTMakefile.i386_nt40 @@ -81,6 +81,10 @@ AFSPRODUCT_VER_MAJOR=1 AFSPRODUCT_VER_MINOR=3 AFSPRODUCT_VER_PATCH=7001 AFSPRODUCT_VER_BUILD=0 + +# For MSI installer, each major release should have a different GUID +AFSPRODUCT_VER_GUID=CCAF9E14-976E-46C0-8A1B-A218EAB7ADC5 + AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH) AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD) # Set CELLNAME_DEFAULT to "your cell name"