summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-16 01:13:03 (GMT)
committerGitHub <noreply@github.com>2022-03-16 01:13:03 (GMT)
commit58d30b992d67c8471f79a7307e4c1cda64311e3b (patch)
tree5c4248678920df8c72fedd6816d05386efc7b253 /Tools
parenta59ac1e7d20713573c15c5259c83e998a73e9094 (diff)
downloadcpython-58d30b992d67c8471f79a7307e4c1cda64311e3b.zip
cpython-58d30b992d67c8471f79a7307e4c1cda64311e3b.tar.gz
cpython-58d30b992d67c8471f79a7307e4c1cda64311e3b.tar.bz2
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
(cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Tools')
-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>