From 875db8152711c3867569d463d27d5664b0cd3dd0 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 12 Oct 2007 19:01:38 +0000 Subject: [PATCH] KFW: BUG: WIX: Improve Usability of multiple architecture MSI installations, remove non-unique GUID component identifiers, and include Beta ID in the package name The WiX installation package suffered from several problems: * The Beta ID was not being included in the package name. Fixed this by swapping the priority of "Release" and "Beta". "Beta" is an official release that has a beta value. A non-release has a datestamp as part of the package name. * There were duplicate GUID values being used for registry components. This would prevent proper removal of the components on uninstall. * 64-bit Installers were being constructed with the 32-bit installer schema. This prevented side-by-side installation of the 64-bit and 32-bit versions. This also permitted 64-bit installers to be installed on 32-bit systems. * The 64-bit and 32-bit installers had the same package name. 64-bit and 32-bit are now identified in the package name. * 64-bit files were being installed to the WOW64 environment. ticket: new component: windows tags: pullup target_version: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20117 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/installer/wix/config.wxi | 11 +++----- src/windows/installer/wix/files.wxi | 8 +++--- src/windows/installer/wix/kfw.wxs | 10 +++++-- .../installer/wix/lang/config_1033.wxi | 26 ++++++++++++------- .../installer/wix/lang/strings_1033.wxl | 8 ++++-- src/windows/installer/wix/platform.wxi | 16 ++++++++---- 6 files changed, 50 insertions(+), 29 deletions(-) diff --git a/src/windows/installer/wix/config.wxi b/src/windows/installer/wix/config.wxi index 734e16c08..e1f48a8b1 100644 --- a/src/windows/installer/wix/config.wxi +++ b/src/windows/installer/wix/config.wxi @@ -48,23 +48,20 @@ + + + + - - - - - - - diff --git a/src/windows/installer/wix/files.wxi b/src/windows/installer/wix/files.wxi index 360033f06..4604b4951 100644 --- a/src/windows/installer/wix/files.wxi +++ b/src/windows/installer/wix/files.wxi @@ -26,7 +26,7 @@ --> - + @@ -36,10 +36,10 @@ - + - + @@ -53,7 +53,7 @@ - + diff --git a/src/windows/installer/wix/kfw.wxs b/src/windows/installer/wix/kfw.wxs index 02bfb6898..c01d1bfe5 100644 --- a/src/windows/installer/wix/kfw.wxs +++ b/src/windows/installer/wix/kfw.wxs @@ -46,10 +46,11 @@ Description="$(var.ProductName)" Comments="$(var.ProductFullName)" Manufacturer="$(loc.Manufacturer)" - InstallerVersion="110" + InstallerVersion="$(var.InstallerVersion)" Languages="$(var.Language)" Compressed="yes" - SummaryCodepage="$(var.CodePage)" + SummaryCodepage="$(var.CodePage)" + Platforms="$(var.Platform)" /> @@ -62,6 +63,11 @@ VersionNT >= 500 USELEASH Or USENETIDMGR Not (USELEASH And USENETIDMGR) + + + + + diff --git a/src/windows/installer/wix/lang/config_1033.wxi b/src/windows/installer/wix/lang/config_1033.wxi index 0fc62e3d1..5875e7281 100644 --- a/src/windows/installer/wix/lang/config_1033.wxi +++ b/src/windows/installer/wix/lang/config_1033.wxi @@ -27,22 +27,30 @@ + + + + + + + + + - + - + - + - + - + - + - @@ -52,9 +60,9 @@ - + - + diff --git a/src/windows/installer/wix/lang/strings_1033.wxl b/src/windows/installer/wix/lang/strings_1033.wxl index 881334376..60b680fba 100644 --- a/src/windows/installer/wix/lang/strings_1033.wxl +++ b/src/windows/installer/wix/lang/strings_1033.wxl @@ -25,8 +25,10 @@ or implied warranty. --> - Kerberos for Windows - KFW + Kerberos for Windows (64-bit) + KFW64 + Kerberos for Windows (32-bit) + KFW32 MIT Debug/Checked Beta @@ -61,4 +63,6 @@ Build of + This build of Kerberos for Windows is for 64-bit Windows versions. Please install the 32-bit version on this operating system. + This build of Kerberos for Windows is for 32-bit Windows versions. Please install the 64-bit version on this operating system. \ No newline at end of file diff --git a/src/windows/installer/wix/platform.wxi b/src/windows/installer/wix/platform.wxi index 93f173348..65de10543 100644 --- a/src/windows/installer/wix/platform.wxi +++ b/src/windows/installer/wix/platform.wxi @@ -3,6 +3,9 @@ + + + @@ -46,20 +49,20 @@ - + - + - - + + - + @@ -95,6 +98,9 @@ + + + -- 2.26.2