blob: 761384e7f288a3dc9d7f56b689b7714ad5675d26 [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" />
Steve Dower2237bdc2015-07-16 16:33:55 -070027 <Variable Name="InstallLauncherAllUsers" Value="1" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070028 <Variable Name="TargetDir" Value="" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080029 <?if $(var.Platform)~="x64" ?>
Steve Dower2237bdc2015-07-16 16:33:55 -070030 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFiles64Folder]$(var.TestPrefix)Python [ShortVersion]" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070031 <Variable Name="TargetPlatform" Value="x64" />
Steve Dowerbb240872015-02-05 22:08:48 -080032 <?else ?>
Steve Dower2237bdc2015-07-16 16:33:55 -070033 <Variable Name="DefaultAllUsersTargetDir" Value="[ProgramFilesFolder]$(var.TestPrefix)Python [ShortVersion]" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070034 <Variable Name="TargetPlatform" Value="x86" />
Steve Dowerbb240872015-02-05 22:08:48 -080035 <?endif ?>
Steve Dower2237bdc2015-07-16 16:33:55 -070036 <Variable Name="DefaultJustForMeTargetDir" Value="[LocalAppDataFolder]Programs\$(var.TestPrefix)Python\Python[ShortVersionNoDot]$(var.Suffix32)" bal:Overridable="yes" />
Steve Dower49437492015-07-08 20:18:44 -070037 <Variable Name="OptionalFeaturesRegistryKey" Value="Software\$(var.TestPrefix)Python\PythonCore\[ShortVersion]$(var.Suffix32)\InstalledFeatures" />
38 <Variable Name="TargetDirRegistryKey" Value="Software\$(var.TestPrefix)Python\PythonCore\[ShortVersion]$(var.Suffix32)\InstallPath" />
Steve Dowerbb240872015-02-05 22:08:48 -080039
40 <!--
41 An empty string will use the other defaults based on InstallAllUsers
42 (and switch dynamically in the UI). To get the old default, pass
43 this property on the command line:
44 DefaultCustomTargetDir=[WindowsVolume]Python[ShortVersionNoDot]
45 -->
46 <Variable Name="DefaultCustomTargetDir" Value="" bal:Overridable="yes" />
47
48 <Variable Name="InstallAllUsersState" Value="enabled" />
Steve Dower2237bdc2015-07-16 16:33:55 -070049 <Variable Name="InstallLauncherAllUsersState" Value="enabled" bal:Overridable="yes" />
50 <Variable Name="CustomInstallLauncherAllUsersState" Value="[InstallLauncherAllUsersState]" />
Steve Dowerbb240872015-02-05 22:08:48 -080051 <Variable Name="TargetDirState" Value="enabled" />
52 <Variable Name="CustomBrowseButtonState" Value="enabled" />
53
Steve Dower49437492015-07-08 20:18:44 -070054 <Variable Name="Include_core" Value="1" />
55 <Variable Name="Include_exe" Value="1" bal:Overridable="yes" />
56 <Variable Name="Include_dev" Value="1" bal:Overridable="yes" />
57 <Variable Name="Include_lib" Value="1" bal:Overridable="yes" />
58 <Variable Name="Include_test" Value="1" bal:Overridable="yes" />
59 <Variable Name="Include_doc" Value="1" bal:Overridable="yes" />
60 <Variable Name="Include_tools" Value="1" bal:Overridable="yes" />
61 <Variable Name="Include_tcltk" Value="1" bal:Overridable="yes" />
62 <Variable Name="Include_pip" Value="1" bal:Overridable="yes" />
63 <Variable Name="Include_launcher" Value="1" bal:Overridable="yes" />
64 <Variable Name="Include_symbols" Value="0" bal:Overridable="yes" />
65 <Variable Name="Include_debug" Value="0" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080066
Steve Dower49437492015-07-08 20:18:44 -070067 <Variable Name="AssociateFiles" Value="1" bal:Overridable="yes" />
68 <Variable Name="Shortcuts" Value="1" bal:Overridable="yes" />
69 <Variable Name="PrependPath" Value="0" bal:Overridable="yes" />
70 <Variable Name="CompileAll" Value="0" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080071
72 <Variable Name="SimpleInstall" Value="0" bal:Overridable="yes" />
Steve Dower2237bdc2015-07-16 16:33:55 -070073 <Variable Name="SimpleInstallDescription" Value="" bal:Overridable="yes" />
Steve Dowerbb240872015-02-05 22:08:48 -080074
75 <Chain ParallelCache="yes">
76 <PackageGroupRef Id="crt" />
77 <PackageGroupRef Id="core" />
78 <PackageGroupRef Id="dev" />
79 <PackageGroupRef Id="exe" />
80 <PackageGroupRef Id="lib" />
81 <PackageGroupRef Id="test" />
82 <PackageGroupRef Id="doc" />
83 <PackageGroupRef Id="tools" />
84 <PackageGroupRef Id="tcltk" />
85 <PackageGroupRef Id="launcher" />
86 <PackageGroupRef Id="postinstall" />
87 </Chain>
88 </Bundle>
89</Wix>