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

zooba webhook-mailer at python.org
Tue Mar 15 20:46:38 EDT 2022


https://github.com/python/cpython/commit/708812085355c92f32e547d1f1d1f29aefbbc27e
commit: 708812085355c92f32e547d1f1d1f29aefbbc27e
branch: main
author: Steve Dower <steve.dower at python.org>
committer: zooba <steve.dower at microsoft.com>
date: 2022-03-16T00:46:33Z
summary:

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

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