From c7323f700549b427237a3d07111f5f6200b36543 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Fri, 3 Dec 2010 15:05:12 +0100 Subject: [PATCH] Replace references to "4.1" in setup with variable that gets populated with information from GlobalAssemblyInfo.template. --- src/Main/GlobalAssemblyInfo.template | 3 +- src/Setup/Files.wxs | 14 ++++---- src/Setup/Setup.wxs | 32 +++++++++++------ .../SharpDevelop.Setup.wixproj.user.template | 4 ++- src/Tools/UpdateAssemblyInfo/Main.cs | 34 ++++++++++++++----- 5 files changed, 59 insertions(+), 28 deletions(-) diff --git a/src/Main/GlobalAssemblyInfo.template b/src/Main/GlobalAssemblyInfo.template index 2f2c5757a9..7f8649caa5 100644 --- a/src/Main/GlobalAssemblyInfo.template +++ b/src/Main/GlobalAssemblyInfo.template @@ -30,6 +30,7 @@ internal static class RevisionClass public const string Minor = "1"; public const string Build = "0"; public const string Revision = "$INSERTREVISION$"; + public const string VersionName = "alpha"; - public const string FullVersion = Major + "." + Minor + "." + Build + ".$INSERTREVISION$$INSERTBRANCHPOSTFIX$"; + public const string FullVersion = Major + "." + Minor + "." + Build + ".$INSERTREVISION$$INSERTBRANCHPOSTFIX$$INSERTVERSIONNAMEPOSTFIX$"; } diff --git a/src/Setup/Files.wxs b/src/Setup/Files.wxs index 0df9d748b4..edb6ce57df 100644 --- a/src/Setup/Files.wxs +++ b/src/Setup/Files.wxs @@ -5,7 +5,7 @@ - + @@ -1528,24 +1528,24 @@ - + - - + + - + - - + + diff --git a/src/Setup/Setup.wxs b/src/Setup/Setup.wxs index aca4a4d432..80ee81ac9c 100644 --- a/src/Setup/Setup.wxs +++ b/src/Setup/Setup.wxs @@ -4,18 +4,26 @@ + + + + + Version="$(var.PRODUCTMAJORVERSION).$(var.PRODUCTBUILDVERSION)"> + + - @@ -26,13 +34,13 @@ @@ -145,7 +153,7 @@ each be a feature if the user wants to heavily customise the installation. --> NEWERVERSIONFOUND