diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-03-15 18:30:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 18:30:11 -0700 |
commit | 70eb9db39817a8f9abef801a2a4a7bb2c7411654 (patch) | |
tree | 52cb9f97646f82892faf0dd5dd9e32d0bbfe90a4 | |
parent | Post 3.9.11 (diff) | |
download | cpython-70eb9db39817a8f9abef801a2a4a7bb2c7411654.tar.gz cpython-70eb9db39817a8f9abef801a2a4a7bb2c7411654.tar.bz2 cpython-70eb9db39817a8f9abef801a2a4a7bb2c7411654.zip |
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>
-rw-r--r-- | Tools/msi/common.wxs | 2 |
1 files changed, 2 insertions, 0 deletions
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> |