summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-03-16 00:46:33 (GMT)
committerGitHub <noreply@github.com>2022-03-16 00:46:33 (GMT)
commit708812085355c92f32e547d1f1d1f29aefbbc27e (patch)
tree72a9ec4737db2063dc18750ea562f12d285013d9
parentcb495a1e9f3acfcd8cb94a6b89c79d0909e3383f (diff)
downloadcpython-708812085355c92f32e547d1f1d1f29aefbbc27e.zip
cpython-708812085355c92f32e547d1f1d1f29aefbbc27e.tar.gz
cpython-708812085355c92f32e547d1f1d1f29aefbbc27e.tar.bz2
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
-rw-r--r--Tools/msi/common.wxs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/msi/common.wxs b/Tools/msi/common.wxs
index d8f3cde..4554e80 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>