[Python-checkins] bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (GH-31924)

ambv webhook-mailer at python.org
Wed Mar 16 06:12:16 EDT 2022


https://github.com/python/cpython/commit/2b97cfdce8df9d0d455f65a22b1e0d34a29dc200
commit: 2b97cfdce8df9d0d455f65a22b1e0d34a29dc200
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-03-16T11:11:36+01:00
summary:

bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (GH-31924)

(cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e)

Co-authored-by: Steve Dower <steve.dower at python.org>

files:
M Tools/msi/common.wxs

diff --git a/Tools/msi/common.wxs b/Tools/msi/common.wxs
index d8f3cde99ab52..4554e80014a29 100644
--- a/Tools/msi/common.wxs
+++ b/Tools/msi/common.wxs
@@ -61,6 +61,7 @@
     </Fragment>
 
     <Fragment>
+        <?ifdef PythonExeComponentGuid ?>
         <!-- Locate TARGETDIR automatically assuming we have executables installed -->
         <Property Id="TARGETDIR">
             <ComponentSearch Id="PythonExe_Directory" Guid="$(var.PythonExeComponentGuid)">
@@ -69,6 +70,7 @@
                 </DirectorySearch>
             </ComponentSearch>
         </Property>
+        <?endif ?>
         <Property Id="DetectTargetDir" Value="1" />
     </Fragment>
     



More information about the Python-checkins mailing list