blob: 678dac4e872f17df65931b42790b760964bbba5b [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)" />
25
Steve Dower49437492015-07-08 20:18:44 -070026 <Variable Name="InstallAllUsers" Value="0" bal:Overridable="yes" />
27 <Variable Name="TargetDir" Value="" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080028 <?if $(var.Platform)~="x64" ?>
29 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFiles64Folder]Python [ShortVersion]" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070030 <Variable Name="TargetPlatform" Value="x64" />
Steve Dowerbb240872015-02-05 22:08:48 -080031 <?else ?>
32 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFilesFolder]Python [ShortVersion]" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070033 <Variable Name="TargetPlatform" Value="x86" />
Steve Dowerbb240872015-02-05 22:08:48 -080034 <?endif ?>
35 <Variable Name="DefaultJustForMeTargetDir" Value="[LocalAppDataFolder]Programs\Python\Python[ShortVersionNoDot]$(var.Suffix32)" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070036 <Variable Name="OptionalFeaturesRegistryKey" Value="Software\$(var.TestPrefix)Python\PythonCore\[ShortVersion]$(var.Suffix32)\InstalledFeatures" />
37 <Variable Name="TargetDirRegistryKey" Value="Software\$(var.TestPrefix)Python\PythonCore\[ShortVersion]$(var.Suffix32)\InstallPath" />
Steve Dowerbb240872015-02-05 22:08:48 -080038
39 <!--
40 An empty string will use the other defaults based on InstallAllUsers
41 (and switch dynamically in the UI). To get the old default, pass
42 this property on the command line:
43 DefaultCustomTargetDir=[WindowsVolume]Python[ShortVersionNoDot]
44 -->
45 <Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
46
47 <Variable Name="InstallAllUsersState" Value="enabled" />
48 <Variable Name="TargetDirState" Value="enabled" />
49 <Variable Name="CustomBrowseButtonState" Value="enabled" />
50
Steve Dower49437492015-07-08 20:18:44 -070051 <Variable Name="Include_core" Value="1" />
52 <Variable Name="Include_exe" Value="1" bal:Overridable="yes" />
53 <Variable Name="Include_dev" Value="1" bal:Overridable="yes" />
54 <Variable Name="Include_lib" Value="1" bal:Overridable="yes" />
55 <Variable Name="Include_test" Value="1" bal:Overridable="yes" />
56 <Variable Name="Include_doc" Value="1" bal:Overridable="yes" />
57 <Variable Name="Include_tools" Value="1" bal:Overridable="yes" />
58 <Variable Name="Include_tcltk" Value="1" bal:Overridable="yes" />
59 <Variable Name="Include_pip" Value="1" bal:Overridable="yes" />
60 <Variable Name="Include_launcher" Value="1" bal:Overridable="yes" />
61 <Variable Name="Include_symbols" Value="0" bal:Overridable="yes" />
62 <Variable Name="Include_debug" Value="0" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080063
Steve Dower49437492015-07-08 20:18:44 -070064 <Variable Name="AssociateFiles" Value="1" bal:Overridable="yes" />
65 <Variable Name="Shortcuts" Value="1" bal:Overridable="yes" />
66 <Variable Name="PrependPath" Value="0" bal:Overridable="yes" />
67 <Variable Name="CompileAll" Value="0" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080068
69 <Variable Name="SimpleInstall" Value="0" bal:Overridable="yes" />
70
71 <Chain ParallelCache="yes">
72 <PackageGroupRef Id="crt" />
73 <PackageGroupRef Id="core" />
74 <PackageGroupRef Id="dev" />
75 <PackageGroupRef Id="exe" />
76 <PackageGroupRef Id="lib" />
77 <PackageGroupRef Id="test" />
78 <PackageGroupRef Id="doc" />
79 <PackageGroupRef Id="tools" />
80 <PackageGroupRef Id="tcltk" />
81 <PackageGroupRef Id="launcher" />
82 <PackageGroupRef Id="postinstall" />
83 </Chain>
84 </Bundle>
85</Wix>