Skip to content

Commit 7088120

Browse files
authored
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
1 parent cb495a1 commit 7088120

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tools/msi/common.wxs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
</Fragment>
6262

6363
<Fragment>
64+
<?ifdef PythonExeComponentGuid ?>
6465
<!-- Locate TARGETDIR automatically assuming we have executables installed -->
6566
<Property Id="TARGETDIR">
6667
<ComponentSearch Id="PythonExe_Directory" Guid="$(var.PythonExeComponentGuid)">
@@ -69,6 +70,7 @@
6970
</DirectorySearch>
7071
</ComponentSearch>
7172
</Property>
73+
<?endif ?>
7274
<Property Id="DetectTargetDir" Value="1" />
7375
</Fragment>
7476

0 commit comments

Comments
 (0)