[Python-checkins] cpython: Issue #27756: Updates installer icons to be the console and launcher icon

steve.dower python-checkins at python.org
Mon Sep 5 17:52:01 EDT 2016


https://hg.python.org/cpython/rev/386aa9738c6b
changeset:   103070:386aa9738c6b
parent:      103068:bc5ba11973f5
user:        Steve Dower <steve.dower at microsoft.com>
date:        Mon Sep 05 14:51:41 2016 -0700
summary:
  Issue #27756: Updates installer icons to be the console and launcher icon instead of the setup icon

files:
  Tools/msi/common.wxs            |  2 +-
  Tools/msi/launcher/launcher.wxs |  5 ++++-
  2 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/Tools/msi/common.wxs b/Tools/msi/common.wxs
--- a/Tools/msi/common.wxs
+++ b/Tools/msi/common.wxs
@@ -44,7 +44,7 @@
     
     <Fragment>
         <!-- Include an icon for the Programs and Features dialog -->
-        <Icon Id="ARPIcon" SourceFile="!(bindpath.src)PC\icons\setup.ico" />
+        <Icon Id="ARPIcon" SourceFile="!(bindpath.src)PC\icons\python.ico" />
         <Property Id="ARPPRODUCTICON" Value="ARPIcon" />
         <Property Id="ARPNOMODIFY" Value="1" />
         <Property Id="DISABLEADVTSHORTCUTS" Value="1" />
diff --git a/Tools/msi/launcher/launcher.wxs b/Tools/msi/launcher/launcher.wxs
--- a/Tools/msi/launcher/launcher.wxs
+++ b/Tools/msi/launcher/launcher.wxs
@@ -5,7 +5,10 @@
         <MediaTemplate EmbedCab="yes" CompressionLevel="high" />
         
         <Property Id="Suppress_TARGETDIR_Check" Value="1" />
-        <PropertyRef Id="ARPPRODUCTICON" />
+        <Icon Id="ARPIcon" SourceFile="!(bindpath.src)PC\icons\launcher.ico" />
+        <Property Id="ARPPRODUCTICON" Value="ARPIcon" />
+        <Property Id="ARPNOMODIFY" Value="1" />
+        <Property Id="DISABLEADVTSHORTCUTS" Value="1" />
 
         <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
             <ComponentGroupRef Id="launcher_exe" Primary="yes" />

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list