From 4a1d65fe8528c3a6e0cf2f4f9d4b58249164589d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 15 Mar 2022 19:00:23 -0700 Subject: [PATCH] bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (GH-31925) (cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e) Co-authored-by: Steve Dower <steve.dower@python.org> --- Tools/msi/common.wxs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/msi/common.wxs b/Tools/msi/common.wxs index d8f3cde99ab..4554e80014a 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> -- GitLab