summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-03-08 22:29:39 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-03-08 22:29:39 (GMT)
commitc49de355850dd4c68a1a0b1f2aa19869d20d62fe (patch)
tree9172eef1936e25a6d665ff9688f097ed28624ba3 /Tools/msi
parent1872f93fd128161a7ebebf1a479dc31a6b5eb434 (diff)
downloadcpython-c49de355850dd4c68a1a0b1f2aa19869d20d62fe.zip
cpython-c49de355850dd4c68a1a0b1f2aa19869d20d62fe.tar.gz
cpython-c49de355850dd4c68a1a0b1f2aa19869d20d62fe.tar.bz2
Issue #23612: Fixes upgrade code and version for Windows installer.
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/bundle/Default.thm2
-rw-r--r--Tools/msi/bundle/bundle.wxs4
-rw-r--r--Tools/msi/msi.props4
3 files changed, 5 insertions, 5 deletions
diff --git a/Tools/msi/bundle/Default.thm b/Tools/msi/bundle/Default.thm
index 3d7523a..d165e2b 100644
--- a/Tools/msi/bundle/Default.thm
+++ b/Tools/msi/bundle/Default.thm
@@ -115,7 +115,7 @@
<Image X="0" Y="0" Width="162" Height="352" ImageFile="SideBar.png"/>
<Hypertext Name="FailureLogFileLink" X="185" Y="71" Width="-11" Height="60" FontId="3" TabStop="yes" HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext>
- <Hypertext Name="FailureMessageText" X="185" Y="-100" Width="-11" Height="34" FontId="3" TabStop="yes" HideWhenDisabled="yes">Failure Message</Hypertext>
+ <Hypertext Name="FailureMessageText" X="185" Y="-100" Width="-11" Height="60" FontId="3" TabStop="yes" HideWhenDisabled="yes"></Hypertext>
<Text Name="FailureRestartText" X="185" Y="-40" Width="-11" Height="34" FontId="3" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureRestartText)</Text>
<Button Name="FailureRestartButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
<Button Name="FailureCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.CloseButton)</Button>
diff --git a/Tools/msi/bundle/bundle.wxs b/Tools/msi/bundle/bundle.wxs
index 4892ebb..ef9ed13 100644
--- a/Tools/msi/bundle/bundle.wxs
+++ b/Tools/msi/bundle/bundle.wxs
@@ -2,11 +2,11 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="!(loc.FullProductName)"
- UpgradeCode="$(var.UpgradeCode)"
+ UpgradeCode="$(var.CoreUpgradeCode)"
Version="$(var.Version)"
IconSourceFile="bundle.ico"
Manufacturer="!(loc.Manufacturer)"
- UpdateUrl="http://www.python.org/"
+ AboutUrl="http://www.python.org/"
DisableModify="button"
Compressed="no">
<BootstrapperApplication Id="PythonBA" SourceFile="$(var.BootstrapApp)">
diff --git a/Tools/msi/msi.props b/Tools/msi/msi.props
index cbaa6b1..9fa80f3 100644
--- a/Tools/msi/msi.props
+++ b/Tools/msi/msi.props
@@ -62,7 +62,7 @@
<Bitness Condition="$(Platform) == 'x64'">64-bit</Bitness>
<DefineConstants>
$(DefineConstants);
- Version=$(MajorVersionNumber).$(MinorVersionNumber).$(MicroVersionNumber).$(RevisionNumber);
+ Version=$(MajorVersionNumber).$(MinorVersionNumber).$(Field3Value).0;
ShortVersion=$(MajorVersionNumber).$(MinorVersionNumber);
LongVersion=$(PythonVersion);
MajorVersionNumber=$(MajorVersionNumber);
@@ -142,7 +142,7 @@
</ItemGroup>
<Target Name="_GenerateGuids" AfterTargets="PrepareForBuild">
<PropertyGroup>
- <_Uuids>@(_Uuid->'("%(Identity)", "%(Uri)")',',')</_Uuids>
+ <_Uuids>@(_Uuid->'("%(Identity)", "$(MajorVersionNumber).$(MinorVersionNumber)/%(Uri)")',',')</_Uuids>
<_GenerateCommand>import uuid; print('\n'.join('{}={}'.format(i, uuid.uuid5(uuid.UUID('c8d9733e-a70c-43ff-ab0c-e26456f11083'), '$(ReleaseUri)' + j)) for i,j in [$(_Uuids.Replace(`"`,`'`))]))</_GenerateCommand>
</PropertyGroup>