]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
authorSteve Dower <steve.dower@python.org>
Wed, 16 Mar 2022 00:46:33 +0000 (00:46 +0000)
committerGitHub <noreply@github.com>
Wed, 16 Mar 2022 00:46:33 +0000 (00:46 +0000)
Tools/msi/common.wxs

index d8f3cde99ab52a4263beeeddf11ee0b609c09734..4554e80014a2900f0f229ef8d0062833c330cd74 100644 (file)
@@ -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>