summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-11-09 12:31:20 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-11-09 12:31:20 (GMT)
commitf4ac4e3de21d58695c0e7a4beb3ba515db7c8acd (patch)
tree8a7ef558d1db4edba572d065eeccb0673b6f76f1 /Tools/msi
parentcc99cd7045b1ff5e05798356e060757d9df70a80 (diff)
parent5e2e70029bdc9c52f9bb49f4cf207eb95c2da410 (diff)
downloadcpython-f4ac4e3de21d58695c0e7a4beb3ba515db7c8acd.zip
cpython-f4ac4e3de21d58695c0e7a4beb3ba515db7c8acd.tar.gz
cpython-f4ac4e3de21d58695c0e7a4beb3ba515db7c8acd.tar.bz2
Fixes installer not allowing launcher to be selected.
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/bundle/bundle.wxs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/msi/bundle/bundle.wxs b/Tools/msi/bundle/bundle.wxs
index b8430a4..978efc0 100644
--- a/Tools/msi/bundle/bundle.wxs
+++ b/Tools/msi/bundle/bundle.wxs
@@ -26,7 +26,7 @@
<Variable Name="WinVerNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)" />
<Variable Name="InstallAllUsers" Value="0" bal:Overridable="yes" />
- <?ifndef PyTestExt ?>
+ <?if "$(var.PyTestExt)"="" ?>
<Variable Name="InstallLauncherAllUsers" Value="1" bal:Overridable="yes" />
<?else ?>
<Variable Name="InstallLauncherAllUsers" Value="0" />
@@ -52,7 +52,7 @@
<Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
<Variable Name="InstallAllUsersState" Value="enabled" />
- <?ifndef PyTestExt ?>
+ <?if "$(var.PyTestExt)"="" ?>
<Variable Name="InstallLauncherAllUsersState" Value="enabled" bal:Overridable="yes" />
<?else ?>
<Variable Name="InstallLauncherAllUsersState" Value="disable" bal:Overridable="yes" />
@@ -70,7 +70,7 @@
<Variable Name="Include_tools" Value="1" bal:Overridable="yes" />
<Variable Name="Include_tcltk" Value="1" bal:Overridable="yes" />
<Variable Name="Include_pip" Value="1" bal:Overridable="yes" />
- <?ifndef PyTestExt ?>
+ <?if "$(var.PyTestExt)"="" ?>
<Variable Name="Include_launcher" Value="1" bal:Overridable="yes" />
<?else ?>
<Variable Name="Include_launcher" Value="0" />