summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-16 10:11:36 (GMT)
committerGitHub <noreply@github.com>2022-03-16 10:11:36 (GMT)
commit2b97cfdce8df9d0d455f65a22b1e0d34a29dc200 (patch)
tree34a925c26e2900a4f2855c45cb8a2de0a12aab3b /Tools/msi
parente5f711f5eeb6db4290db1b747f42f5d723d12ed3 (diff)
downloadcpython-2b97cfdce8df9d0d455f65a22b1e0d34a29dc200.zip
cpython-2b97cfdce8df9d0d455f65a22b1e0d34a29dc200.tar.gz
cpython-2b97cfdce8df9d0d455f65a22b1e0d34a29dc200.tar.bz2
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@python.org>
Diffstat (limited to 'Tools/msi')
-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>