2022-01-18 00:18:44 +00:00
|
|
|
<?xml version="1.0"?>
|
2015-02-06 06:08:48 +00:00
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
2016-12-03 19:18:53 +00:00
|
|
|
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
|
|
|
|
xmlns:dep="http://schemas.microsoft.com/wix/DependencyExtension">
|
2015-02-06 06:08:48 +00:00
|
|
|
<Bundle Name="!(loc.FullProductName)"
|
2015-03-08 22:29:39 +00:00
|
|
|
UpgradeCode="$(var.CoreUpgradeCode)"
|
2015-02-06 06:08:48 +00:00
|
|
|
Version="$(var.Version)"
|
2016-09-05 21:05:17 +00:00
|
|
|
IconSourceFile="..\..\..\PC\icons\setup.ico"
|
2015-02-06 06:08:48 +00:00
|
|
|
Manufacturer="!(loc.Manufacturer)"
|
2021-07-30 13:54:46 +00:00
|
|
|
AboutUrl="https://www.python.org/"
|
2016-12-03 19:18:53 +00:00
|
|
|
Compressed="no"
|
|
|
|
dep:ProviderKey="CPython-$(var.MajorVersionNumber).$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)">
|
2015-02-06 06:08:48 +00:00
|
|
|
<BootstrapperApplication Id="PythonBA" SourceFile="$(var.BootstrapApp)">
|
|
|
|
<Payload Compressed='yes' SourceFile='Default.thm' />
|
2022-01-28 16:48:06 +00:00
|
|
|
<Payload Compressed='yes' SourceFile='$(var.DefaultWxl)' />
|
2015-02-06 06:08:48 +00:00
|
|
|
<Payload Compressed='yes' SourceFile='SideBar.png' />
|
|
|
|
</BootstrapperApplication>
|
|
|
|
|
|
|
|
<!-- May be set to "Removing" or "Repairing" -->
|
|
|
|
<Variable Name="ActionLikeInstalling" Value="Installing" />
|
|
|
|
<!-- May be set to "Uninstallation" or "Repair" -->
|
|
|
|
<Variable Name="ActionLikeInstallation" Value="Setup" />
|
|
|
|
|
|
|
|
<Variable Name="ShortVersion" Value="$(var.MajorVersionNumber).$(var.MinorVersionNumber)" />
|
|
|
|
<Variable Name="ShortVersionNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)" />
|
2015-10-31 19:17:11 +00:00
|
|
|
<Variable Name="WinVer" Value="$(var.MajorVersionNumber).$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)" />
|
|
|
|
<Variable Name="WinVerNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)" />
|
2015-02-06 06:08:48 +00:00
|
|
|
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="InstallAllUsers" Value="0" bal:Overridable="yes" />
|
2015-11-09 12:31:05 +00:00
|
|
|
<?if "$(var.PyTestExt)"="" ?>
|
2024-03-01 12:58:27 +00:00
|
|
|
<Variable Name="InstallLauncherAllUsers" Value="-1" bal:Overridable="yes" />
|
2015-10-31 19:17:11 +00:00
|
|
|
<?else ?>
|
2024-03-01 12:58:27 +00:00
|
|
|
<Variable Name="InstallLauncherAllUsers" Value="-1" />
|
2015-10-31 19:17:11 +00:00
|
|
|
<?endif ?>
|
2024-03-01 12:58:27 +00:00
|
|
|
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="TargetDir" Value="" bal:Overridable="yes" />
|
2015-02-06 06:08:48 +00:00
|
|
|
<?if $(var.Platform)~="x64" ?>
|
2015-10-31 19:17:11 +00:00
|
|
|
<Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFiles64Folder]Python[WinVerNoDot]" bal:Overridable="yes" />
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="TargetPlatform" Value="x64" />
|
2022-01-28 16:48:06 +00:00
|
|
|
<?elseif $(var.Platform)~="ARM64" ?>
|
2022-03-04 00:50:42 +00:00
|
|
|
<Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFiles64Folder]Python[WinVerNoDot]" bal:Overridable="yes" />
|
2022-01-28 16:48:06 +00:00
|
|
|
<Variable Name="TargetPlatform" Value="ARM64" />
|
2015-02-06 06:08:48 +00:00
|
|
|
<?else ?>
|
2015-10-31 19:17:11 +00:00
|
|
|
<Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFilesFolder]Python[WinVerNoDot]" bal:Overridable="yes" />
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="TargetPlatform" Value="x86" />
|
2015-02-06 06:08:48 +00:00
|
|
|
<?endif ?>
|
2015-10-31 19:17:11 +00:00
|
|
|
<Variable Name="DefaultJustForMeTargetDir" Value="[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]" bal:Overridable="yes" />
|
|
|
|
<Variable Name="OptionalFeaturesRegistryKey" Value="Software\Python\PythonCore\[WinVer]\InstalledFeatures" />
|
|
|
|
<Variable Name="TargetDirRegistryKey" Value="Software\Python\PythonCore\[WinVer]\InstallPath" />
|
2022-01-28 16:48:06 +00:00
|
|
|
|
2015-02-06 06:08:48 +00:00
|
|
|
<!--
|
|
|
|
An empty string will use the other defaults based on InstallAllUsers
|
|
|
|
(and switch dynamically in the UI). To get the old default, pass
|
|
|
|
this property on the command line:
|
|
|
|
DefaultCustomTargetDir=[WindowsVolume]Python[ShortVersionNoDot]
|
|
|
|
-->
|
|
|
|
<Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
|
|
|
|
|
2015-12-02 16:28:51 +00:00
|
|
|
<Variable Name="InstallAllUsersState" Value="enabled" bal:Overridable="yes" />
|
2022-03-30 20:20:38 +00:00
|
|
|
<?if "$(var.PyTestExt)"="" ?>
|
2015-07-16 23:33:55 +00:00
|
|
|
<Variable Name="InstallLauncherAllUsersState" Value="enabled" bal:Overridable="yes" />
|
2015-10-31 19:17:11 +00:00
|
|
|
<?else ?>
|
|
|
|
<Variable Name="InstallLauncherAllUsersState" Value="disable" bal:Overridable="yes" />
|
|
|
|
<?endif ?>
|
2015-07-16 23:33:55 +00:00
|
|
|
<Variable Name="CustomInstallLauncherAllUsersState" Value="[InstallLauncherAllUsersState]" />
|
2015-02-06 06:08:48 +00:00
|
|
|
<Variable Name="TargetDirState" Value="enabled" />
|
|
|
|
<Variable Name="CustomBrowseButtonState" Value="enabled" />
|
|
|
|
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="Include_core" Value="1" />
|
|
|
|
<Variable Name="Include_exe" Value="1" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_dev" Value="1" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_lib" Value="1" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_test" Value="1" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_doc" Value="1" bal:Overridable="yes" />
|
2022-09-30 09:25:00 +00:00
|
|
|
<Variable Name="Include_tools" Value="0" bal:Overridable="yes" />
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="Include_tcltk" Value="1" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_pip" Value="1" bal:Overridable="yes" />
|
2019-09-09 12:15:07 +00:00
|
|
|
<Variable Name="Include_launcher" Value="-1" bal:Overridable="yes" />
|
2015-11-09 12:31:05 +00:00
|
|
|
<?if "$(var.PyTestExt)"="" ?>
|
2015-12-02 16:28:51 +00:00
|
|
|
<Variable Name="Include_launcherState" Value="enabled" bal:Overridable="yes" />
|
2015-10-31 19:17:11 +00:00
|
|
|
<?else ?>
|
|
|
|
<Variable Name="Include_launcherState" Value="disable" />
|
|
|
|
<?endif ?>
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="Include_symbols" Value="0" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_debug" Value="0" bal:Overridable="yes" />
|
2024-01-17 21:52:23 +00:00
|
|
|
<?if $(var.IncludeFreethreaded)~="true" ?>
|
|
|
|
<Variable Name="Include_freethreaded" Value="0" bal:Overridable="yes" />
|
|
|
|
<Variable Name="Include_freethreadedState" Value="enabled" />
|
|
|
|
<?else ?>
|
|
|
|
<Variable Name="Include_freethreaded" Value="0" />
|
|
|
|
<Variable Name="Include_freethreadedState" Value="disable" />
|
|
|
|
<?endif ?>
|
2022-01-28 16:48:06 +00:00
|
|
|
|
2015-07-18 16:27:52 +00:00
|
|
|
<Variable Name="LauncherOnly" Value="0" bal:Overridable="yes" />
|
2024-03-01 12:58:27 +00:00
|
|
|
<Variable Name="BlockedLauncher" Value="0" />
|
2015-10-12 01:05:11 +00:00
|
|
|
<Variable Name="DetectedLauncher" Value="0" />
|
2015-12-02 16:28:51 +00:00
|
|
|
<Variable Name="DetectedOldLauncher" Value="0" />
|
2022-01-28 16:48:06 +00:00
|
|
|
|
2024-03-01 12:58:27 +00:00
|
|
|
<Variable Name="AssociateFiles" Value="-1" bal:Overridable="yes" />
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="Shortcuts" Value="1" bal:Overridable="yes" />
|
|
|
|
<Variable Name="PrependPath" Value="0" bal:Overridable="yes" />
|
2022-01-18 00:18:44 +00:00
|
|
|
<Variable Name="AppendPath" Value="0" bal:Overridable="yes" />
|
2015-07-09 03:18:44 +00:00
|
|
|
<Variable Name="CompileAll" Value="0" bal:Overridable="yes" />
|
2022-01-28 16:48:06 +00:00
|
|
|
|
2015-02-06 06:08:48 +00:00
|
|
|
<Variable Name="SimpleInstall" Value="0" bal:Overridable="yes" />
|
2015-07-16 23:33:55 +00:00
|
|
|
<Variable Name="SimpleInstallDescription" Value="" bal:Overridable="yes" />
|
2022-01-28 16:48:06 +00:00
|
|
|
|
2015-02-06 06:08:48 +00:00
|
|
|
<Chain ParallelCache="yes">
|
2022-01-28 16:48:06 +00:00
|
|
|
<?if $(var.Platform)!="ARM64" ?>
|
2015-02-06 06:08:48 +00:00
|
|
|
<PackageGroupRef Id="crt" />
|
2022-01-28 16:48:06 +00:00
|
|
|
<?endif ?>
|
2015-02-06 06:08:48 +00:00
|
|
|
<PackageGroupRef Id="core" />
|
|
|
|
<PackageGroupRef Id="exe" />
|
2022-03-07 17:23:11 +00:00
|
|
|
<PackageGroupRef Id="dev" />
|
2015-02-06 06:08:48 +00:00
|
|
|
<PackageGroupRef Id="lib" />
|
2024-01-17 21:52:23 +00:00
|
|
|
<?if $(var.IncludeFreethreaded)~="true" ?>
|
|
|
|
<PackageGroupRef Id="freethreaded" />
|
|
|
|
<?endif ?>
|
2015-02-06 06:08:48 +00:00
|
|
|
<PackageGroupRef Id="test" />
|
|
|
|
<PackageGroupRef Id="doc" />
|
|
|
|
<PackageGroupRef Id="tcltk" />
|
|
|
|
<PackageGroupRef Id="launcher" />
|
2015-10-01 22:18:53 +00:00
|
|
|
<PackageGroupRef Id="pip" />
|
|
|
|
<PackageGroupRef Id="packageinstall" />
|
2015-02-06 06:08:48 +00:00
|
|
|
<PackageGroupRef Id="postinstall" />
|
|
|
|
</Chain>
|
|
|
|
</Bundle>
|
|
|
|
</Wix>
|