2015-02-06 02:08:48 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
|
|
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
|
|
|
|
<Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" />
|
|
|
|
<MediaTemplate EmbedCab="yes" CompressionLevel="high" />
|
|
|
|
|
|
|
|
<Property Id="Suppress_TARGETDIR_Check" Value="1" />
|
|
|
|
<PropertyRef Id="UpgradeTable" />
|
|
|
|
<PropertyRef Id="ARPPRODUCTICON" />
|
|
|
|
|
|
|
|
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
|
|
|
|
<ComponentGroupRef Id="launcher_exe" Primary="yes" />
|
|
|
|
</Feature>
|
|
|
|
<Feature Id="AssociateFiles" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
|
|
|
|
<ComponentGroupRef Id="launcher_exe" />
|
|
|
|
<ComponentGroupRef Id="launcher_reg" />
|
|
|
|
</Feature>
|
|
|
|
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
|
|
<Directory Id="LauncherInstallDirectory" />
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
<CustomAction Id="SetLauncherInstallDirectoryLM" Property="LauncherInstallDirectory" Value="[WindowsFolder]" />
|
|
|
|
<CustomAction Id="SetLauncherInstallDirectoryCU" Property="LauncherInstallDirectory" Value="[LocalAppDataFolder]Programs\Python\Launcher" />
|
|
|
|
|
|
|
|
<InstallExecuteSequence>
|
|
|
|
<Custom Before="SetLauncherInstallDirectoryLM" Action="SetLauncherInstallDirectoryCU">NOT Installed AND NOT ALLUSERS=1</Custom>
|
|
|
|
<Custom Before="CostFinalize" Action="SetLauncherInstallDirectoryLM">NOT Installed AND ALLUSERS=1</Custom>
|
2015-10-01 19:19:39 -03:00
|
|
|
|
|
|
|
<RemoveExistingProducts After="InstallInitialize">UPGRADE or REMOVE_OLD_LAUNCHER</RemoveExistingProducts>
|
2015-02-06 02:08:48 -04:00
|
|
|
</InstallExecuteSequence>
|
2015-10-01 19:19:39 -03:00
|
|
|
|
|
|
|
<!-- Python 3.5.0 shipped with an incorrect UpgradeCode -->
|
|
|
|
<Upgrade Id="A71530B9-E89D-53DB-9C2D-C6D7551876D8">
|
|
|
|
<UpgradeVersion Maximum="$(var.Version)" Property="REMOVE_OLD_LAUNCHER" />
|
|
|
|
</Upgrade>
|
2015-02-06 02:08:48 -04:00
|
|
|
</Product>
|
|
|
|
</Wix>
|