blob: 978efc0a21740776a09275498b6d8308ba2ea2b4 [file] [log] [blame]
Steve Dowerbb240872015-02-05 22:08:48 -08001<?xml version="1.0"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
3 xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
4 <Bundle Name="!(loc.FullProductName)"
Steve Dowerc49de352015-03-08 15:29:39 -07005 UpgradeCode="$(var.CoreUpgradeCode)"
Steve Dowerbb240872015-02-05 22:08:48 -08006 Version="$(var.Version)"
7 IconSourceFile="bundle.ico"
8 Manufacturer="!(loc.Manufacturer)"
Steve Dowerc49de352015-03-08 15:29:39 -07009 AboutUrl="http://www.python.org/"
Steve Dowerbb240872015-02-05 22:08:48 -080010 DisableModify="button"
11 Compressed="no">
12 <BootstrapperApplication Id="PythonBA" SourceFile="$(var.BootstrapApp)">
13 <Payload Compressed='yes' SourceFile='Default.thm' />
14 <Payload Compressed='yes' SourceFile='Default.wxl' />
15 <Payload Compressed='yes' SourceFile='SideBar.png' />
16 </BootstrapperApplication>
17
18 <!-- May be set to "Removing" or "Repairing" -->
19 <Variable Name="ActionLikeInstalling" Value="Installing" />
20 <!-- May be set to "Uninstallation" or "Repair" -->
21 <Variable Name="ActionLikeInstallation" Value="Setup" />
22
23 <Variable Name="ShortVersion" Value="$(var.MajorVersionNumber).$(var.MinorVersionNumber)" />
24 <Variable Name="ShortVersionNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)" />
Steve Dower940f6a82015-10-31 12:17:11 -070025 <Variable Name="WinVer" Value="$(var.MajorVersionNumber).$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)" />
26 <Variable Name="WinVerNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)" />
Steve Dowerbb240872015-02-05 22:08:48 -080027
Steve Dower49437492015-07-08 20:18:44 -070028 <Variable Name="InstallAllUsers" Value="0" bal:Overridable="yes" />
Steve Dower5e2e7002015-11-09 07:31:05 -050029 <?if "$(var.PyTestExt)"="" ?>
Steve Dower2237bdc2015-07-16 16:33:55 -070030 <Variable Name="InstallLauncherAllUsers" Value="1" bal:Overridable="yes" />
Steve Dower940f6a82015-10-31 12:17:11 -070031 <?else ?>
32 <Variable Name="InstallLauncherAllUsers" Value="0" />
33 <?endif ?>
Steve Dower49437492015-07-08 20:18:44 -070034 <Variable Name="TargetDir" Value="" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080035 <?if $(var.Platform)~="x64" ?>
Steve Dower940f6a82015-10-31 12:17:11 -070036 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFiles64Folder]Python[WinVerNoDot]" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070037 <Variable Name="TargetPlatform" Value="x64" />
Steve Dowerbb240872015-02-05 22:08:48 -080038 <?else ?>
Steve Dower940f6a82015-10-31 12:17:11 -070039 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFilesFolder]Python[WinVerNoDot]" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070040 <Variable Name="TargetPlatform" Value="x86" />
Steve Dowerbb240872015-02-05 22:08:48 -080041 <?endif ?>
Steve Dower940f6a82015-10-31 12:17:11 -070042 <Variable Name="DefaultJustForMeTargetDir" Value="[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]" bal:Overridable="yes" />
43 <Variable Name="OptionalFeaturesRegistryKey" Value="Software\Python\PythonCore\[WinVer]\InstalledFeatures" />
44 <Variable Name="TargetDirRegistryKey" Value="Software\Python\PythonCore\[WinVer]\InstallPath" />
Steve Dowerbb240872015-02-05 22:08:48 -080045
46 <!--
47 An empty string will use the other defaults based on InstallAllUsers
48 (and switch dynamically in the UI). To get the old default, pass
49 this property on the command line:
50 DefaultCustomTargetDir=[WindowsVolume]Python[ShortVersionNoDot]
51 -->
52 <Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
53
54 <Variable Name="InstallAllUsersState" Value="enabled" />
Steve Dower5e2e7002015-11-09 07:31:05 -050055 <?if "$(var.PyTestExt)"="" ?>
Steve Dower2237bdc2015-07-16 16:33:55 -070056 <Variable Name="InstallLauncherAllUsersState" Value="enabled" bal:Overridable="yes" />
Steve Dower940f6a82015-10-31 12:17:11 -070057 <?else ?>
58 <Variable Name="InstallLauncherAllUsersState" Value="disable" bal:Overridable="yes" />
59 <?endif ?>
Steve Dower2237bdc2015-07-16 16:33:55 -070060 <Variable Name="CustomInstallLauncherAllUsersState" Value="[InstallLauncherAllUsersState]" />
Steve Dowerbb240872015-02-05 22:08:48 -080061 <Variable Name="TargetDirState" Value="enabled" />
62 <Variable Name="CustomBrowseButtonState" Value="enabled" />
63
Steve Dower49437492015-07-08 20:18:44 -070064 <Variable Name="Include_core" Value="1" />
65 <Variable Name="Include_exe" Value="1" bal:Overridable="yes" />
66 <Variable Name="Include_dev" Value="1" bal:Overridable="yes" />
67 <Variable Name="Include_lib" Value="1" bal:Overridable="yes" />
68 <Variable Name="Include_test" Value="1" bal:Overridable="yes" />
69 <Variable Name="Include_doc" Value="1" bal:Overridable="yes" />
70 <Variable Name="Include_tools" Value="1" bal:Overridable="yes" />
71 <Variable Name="Include_tcltk" Value="1" bal:Overridable="yes" />
72 <Variable Name="Include_pip" Value="1" bal:Overridable="yes" />
Steve Dower5e2e7002015-11-09 07:31:05 -050073 <?if "$(var.PyTestExt)"="" ?>
Steve Dower49437492015-07-08 20:18:44 -070074 <Variable Name="Include_launcher" Value="1" bal:Overridable="yes" />
Steve Dower940f6a82015-10-31 12:17:11 -070075 <?else ?>
76 <Variable Name="Include_launcher" Value="0" />
77 <Variable Name="Include_launcherState" Value="disable" />
78 <?endif ?>
Steve Dower49437492015-07-08 20:18:44 -070079 <Variable Name="Include_symbols" Value="0" bal:Overridable="yes" />
80 <Variable Name="Include_debug" Value="0" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080081
Steve Dowera3d03ec2015-07-18 09:27:52 -070082 <Variable Name="LauncherOnly" Value="0" bal:Overridable="yes" />
Steve Dower8ffe4fd2015-10-11 18:05:11 -070083 <Variable Name="DetectedLauncher" Value="0" />
Steve Dowera3d03ec2015-07-18 09:27:52 -070084
Steve Dower49437492015-07-08 20:18:44 -070085 <Variable Name="AssociateFiles" Value="1" bal:Overridable="yes" />
86 <Variable Name="Shortcuts" Value="1" bal:Overridable="yes" />
87 <Variable Name="PrependPath" Value="0" bal:Overridable="yes" />
88 <Variable Name="CompileAll" Value="0" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080089
90 <Variable Name="SimpleInstall" Value="0" bal:Overridable="yes" />
Steve Dower2237bdc2015-07-16 16:33:55 -070091 <Variable Name="SimpleInstallDescription" Value="" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080092
93 <Chain ParallelCache="yes">
94 <PackageGroupRef Id="crt" />
95 <PackageGroupRef Id="core" />
96 <PackageGroupRef Id="dev" />
97 <PackageGroupRef Id="exe" />
98 <PackageGroupRef Id="lib" />
99 <PackageGroupRef Id="test" />
100 <PackageGroupRef Id="doc" />
101 <PackageGroupRef Id="tools" />
102 <PackageGroupRef Id="tcltk" />
103 <PackageGroupRef Id="launcher" />
Steve Dowerc4b76002015-10-01 15:18:53 -0700104 <PackageGroupRef Id="pip" />
105 <PackageGroupRef Id="packageinstall" />
Steve Dowerbb240872015-02-05 22:08:48 -0800106 <PackageGroupRef Id="postinstall" />
107 </Chain>
108 </Bundle>
109</Wix>