blob: ef9ed13f5860c5cc00e39cd64dd298d199077496 [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
26 <Variable Name="InstallAllUsers" Value="1" Persisted="yes" bal:Overridable="yes" />
27 <Variable Name="TargetDir" Value="" Persisted="yes" bal:Overridable="yes" />
28 <?if $(var.Platform)~="x64" ?>
29 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFiles64Folder]Python [ShortVersion]" bal:Overridable="yes" />
30 <?else ?>
31 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFilesFolder]Python [ShortVersion]" bal:Overridable="yes" />
32 <?endif ?>
33 <Variable Name="DefaultJustForMeTargetDir" Value="[LocalAppDataFolder]Programs\Python\Python[ShortVersionNoDot]$(var.Suffix32)" bal:Overridable="yes" />
34
35 <!--
36 An empty string will use the other defaults based on InstallAllUsers
37 (and switch dynamically in the UI). To get the old default, pass
38 this property on the command line:
39 DefaultCustomTargetDir=[WindowsVolume]Python[ShortVersionNoDot]
40 -->
41 <Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
42
43 <Variable Name="InstallAllUsersState" Value="enabled" />
44 <Variable Name="TargetDirState" Value="enabled" />
45 <Variable Name="CustomBrowseButtonState" Value="enabled" />
46
47 <Variable Name="Include_core" Value="1" Persisted="yes" />
48 <Variable Name="Include_exe" Value="1" Persisted="yes" bal:Overridable="yes" />
49 <Variable Name="Include_dev" Value="1" Persisted="yes" bal:Overridable="yes" />
50 <Variable Name="Include_lib" Value="1" Persisted="yes" bal:Overridable="yes" />
51 <Variable Name="Include_test" Value="1" Persisted="yes" bal:Overridable="yes" />
52 <Variable Name="Include_doc" Value="1" Persisted="yes" bal:Overridable="yes" />
53 <Variable Name="Include_tools" Value="1" Persisted="yes" bal:Overridable="yes" />
54 <Variable Name="Include_tcltk" Value="1" Persisted="yes" bal:Overridable="yes" />
55 <Variable Name="Include_pip" Value="1" Persisted="yes" bal:Overridable="yes" />
56 <Variable Name="Include_launcher" Value="1" Persisted="yes" bal:Overridable="yes" />
57 <Variable Name="Include_symbols" Value="0" Persisted="yes" bal:Overridable="yes" />
58 <Variable Name="Include_debug" Value="0" Persisted="yes" bal:Overridable="yes" />
59
60 <Variable Name="AssociateFiles" Value="1" Persisted="yes" bal:Overridable="yes" />
61 <Variable Name="PrependPath" Value="0" Persisted="yes" bal:Overridable="yes" />
62 <Variable Name="CompileAll" Value="0" Persisted="yes" bal:Overridable="yes" />
63
64 <Variable Name="SimpleInstall" Value="0" bal:Overridable="yes" />
65
66 <Chain ParallelCache="yes">
67 <PackageGroupRef Id="crt" />
68 <PackageGroupRef Id="core" />
69 <PackageGroupRef Id="dev" />
70 <PackageGroupRef Id="exe" />
71 <PackageGroupRef Id="lib" />
72 <PackageGroupRef Id="test" />
73 <PackageGroupRef Id="doc" />
74 <PackageGroupRef Id="tools" />
75 <PackageGroupRef Id="tcltk" />
76 <PackageGroupRef Id="launcher" />
77 <PackageGroupRef Id="postinstall" />
78 </Chain>
79 </Bundle>
80</Wix>