Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e2e700

Browse files
committed
Fixes installer not allowing launcher to be selected.
1 parent d61d860 commit 5e2e700

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/msi/bundle/bundle.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<Variable Name="WinVerNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)" />
2727

2828
<Variable Name="InstallAllUsers" Value="0" bal:Overridable="yes" />
29-
<?ifndef PyTestExt ?>
29+
<?if "$(var.PyTestExt)"="" ?>
3030
<Variable Name="InstallLauncherAllUsers" Value="1" bal:Overridable="yes" />
3131
<?else ?>
3232
<Variable Name="InstallLauncherAllUsers" Value="0" />
@@ -52,7 +52,7 @@
5252
<Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
5353

5454
<Variable Name="InstallAllUsersState" Value="enabled" />
55-
<?ifndef PyTestExt ?>
55+
<?if "$(var.PyTestExt)"="" ?>
5656
<Variable Name="InstallLauncherAllUsersState" Value="enabled" bal:Overridable="yes" />
5757
<?else ?>
5858
<Variable Name="InstallLauncherAllUsersState" Value="disable" bal:Overridable="yes" />
@@ -70,7 +70,7 @@
7070
<Variable Name="Include_tools" Value="1" bal:Overridable="yes" />
7171
<Variable Name="Include_tcltk" Value="1" bal:Overridable="yes" />
7272
<Variable Name="Include_pip" Value="1" bal:Overridable="yes" />
73-
<?ifndef PyTestExt ?>
73+
<?if "$(var.PyTestExt)"="" ?>
7474
<Variable Name="Include_launcher" Value="1" bal:Overridable="yes" />
7575
<?else ?>
7676
<Variable Name="Include_launcher" Value="0" />

0 commit comments

Comments
 (0)