Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
| 3 | <Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> |
| 4 | <Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" /> |
| 5 | <MediaTemplate EmbedCab="yes" CompressionLevel="high" /> |
| 6 | |
| 7 | <Property Id="Suppress_TARGETDIR_Check" Value="1" /> |
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 8 | <PropertyRef Id="ARPPRODUCTICON" /> |
| 9 | |
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 10 | <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> |
| 11 | <ComponentGroupRef Id="launcher_exe" Primary="yes" /> |
| 12 | </Feature> |
| 13 | <Feature Id="AssociateFiles" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> |
| 14 | <ComponentGroupRef Id="launcher_exe" /> |
| 15 | <ComponentGroupRef Id="launcher_reg" /> |
| 16 | </Feature> |
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 17 | |
| 18 | <Directory Id="TARGETDIR" Name="SourceDir"> |
| 19 | <Directory Id="LauncherInstallDirectory" /> |
| 20 | </Directory> |
| 21 | |
| 22 | <CustomAction Id="SetLauncherInstallDirectoryLM" Property="LauncherInstallDirectory" Value="[WindowsFolder]" /> |
| 23 | <CustomAction Id="SetLauncherInstallDirectoryCU" Property="LauncherInstallDirectory" Value="[LocalAppDataFolder]Programs\Python\Launcher" /> |
| 24 | |
| 25 | <InstallExecuteSequence> |
| 26 | <Custom Before="SetLauncherInstallDirectoryLM" Action="SetLauncherInstallDirectoryCU">NOT Installed AND NOT ALLUSERS=1</Custom> |
| 27 | <Custom Before="CostFinalize" Action="SetLauncherInstallDirectoryLM">NOT Installed AND ALLUSERS=1</Custom> |
Steve Dower | c9fda9b | 2015-10-01 15:19:39 -0700 | [diff] [blame] | 28 | |
Steve Dower | 4962141 | 2016-05-18 15:54:05 -0700 | [diff] [blame] | 29 | <RemoveExistingProducts After="InstallValidate">UPGRADE or REMOVE_350_LAUNCHER</RemoveExistingProducts> |
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 30 | </InstallExecuteSequence> |
Steve Dower | df450d1 | 2016-07-16 16:17:33 -0700 | [diff] [blame^] | 31 | |
Steve Dower | 4962141 | 2016-05-18 15:54:05 -0700 | [diff] [blame] | 32 | <!-- Python 3.5.0 shipped with a different UpgradeCode --> |
Steve Dower | c9fda9b | 2015-10-01 15:19:39 -0700 | [diff] [blame] | 33 | <Upgrade Id="A71530B9-E89D-53DB-9C2D-C6D7551876D8"> |
Steve Dower | 4962141 | 2016-05-18 15:54:05 -0700 | [diff] [blame] | 34 | <UpgradeVersion Minimum="0.0.0.0" Property="REMOVE_350_LAUNCHER" /> |
Steve Dower | c9fda9b | 2015-10-01 15:19:39 -0700 | [diff] [blame] | 35 | </Upgrade> |
Steve Dower | 4962141 | 2016-05-18 15:54:05 -0700 | [diff] [blame] | 36 | <!-- Python 3.6.0a1 shipped with a different UpgradeCode --> |
| 37 | <Upgrade Id="394750C0-7880-5A8F-999F-933965FBCFB4"> |
| 38 | <UpgradeVersion Maximum="$(var.Version)" Property="REMOVE_360A1_LAUNCHER" /> |
| 39 | <UpgradeVersion Minimum="$(var.Version)" Property="BLOCK_360A1_LAUNCHER" /> |
| 40 | </Upgrade> |
| 41 | <Condition Message="!(loc.NoDowngrade)">Installed OR NOT BLOCK_360A1_LAUNCHER</Condition> |
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 42 | </Product> |
| 43 | </Wix> |