From 7ca00008a6903abd01928231f5227dee44257bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 24 Apr 2012 22:48:57 +0200 Subject: Embed version in WiX file. diff --git a/Swift/Packaging/WiX/Swift.wxs b/Swift/Packaging/WiX/Swift.wxs index e811746..ec825b6 100644 --- a/Swift/Packaging/WiX/Swift.wxs +++ b/Swift/Packaging/WiX/Swift.wxs @@ -6,7 +6,7 @@ - + diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index 97b1810..ab832d6 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -306,7 +306,9 @@ if env["PLATFORM"] == "win32" : wixvariables = { 'VCCRTFile': env.get("vcredist", "c:\\Program Files\\Common Files\\Merge Modules") + "\\Microsoft_VC90_CRT_x86.msm", - 'Version': str(myenv["SWIFT_VERSION_MAJOR"]) + "." + str(myenv["SWIFT_VERSION_MINOR"]) + # FIXME: Not including patch version, but that shouldn't be + # a problem. It just allows downgrading between development versions + 'Version': str(myenv["SWIFT_VERSION_MAJOR"]) + "." + str(myenv["SWIFT_VERSION_MINOR"]) + ".0" } wixincludecontent = "" for key in wixvariables: -- cgit v0.10.2-6-g49f6