forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Update installer to add optional freethreaded install
- Loading branch information
Showing
20 changed files
with
412 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Fragment> | ||
<PackageGroup Id="freethreaded"> | ||
<MsiPackage Id="freethreaded_AllUsers" | ||
SourceFile="freethreaded.msi" | ||
Compressed="no" | ||
DownloadUrl="$(var.DownloadUrl)" | ||
ForcePerMachine="yes" | ||
InstallCondition="InstallAllUsers and (Include_freethreaded) and not LauncherOnly"> | ||
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> | ||
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> | ||
</MsiPackage> | ||
<MsiPackage Id="freethreaded_AllUsers_pdb" | ||
SourceFile="freethreaded_pdb.msi" | ||
Compressed="no" | ||
DownloadUrl="$(var.DownloadUrl)" | ||
ForcePerMachine="yes" | ||
InstallCondition="InstallAllUsers and (Include_freethreaded) and Include_symbols and not LauncherOnly"> | ||
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> | ||
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> | ||
</MsiPackage> | ||
<MsiPackage Id="freethreaded_AllUsers_d" | ||
SourceFile="freethreaded_d.msi" | ||
Compressed="no" | ||
DownloadUrl="$(var.DownloadUrl)" | ||
ForcePerMachine="yes" | ||
InstallCondition="InstallAllUsers and (Include_freethreaded) and Include_debug and not LauncherOnly"> | ||
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> | ||
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> | ||
</MsiPackage> | ||
|
||
<MsiPackage Id="freethreaded_JustForMe" | ||
SourceFile="freethreaded.msi" | ||
Compressed="no" | ||
DownloadUrl="$(var.DownloadUrl)" | ||
ForcePerMachine="no" | ||
InstallCondition="not InstallAllUsers and (Include_freethreaded) and not LauncherOnly"> | ||
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> | ||
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> | ||
</MsiPackage> | ||
<MsiPackage Id="freethreaded_JustForMe_pdb" | ||
SourceFile="freethreaded_pdb.msi" | ||
Compressed="no" | ||
DownloadUrl="$(var.DownloadUrl)" | ||
ForcePerMachine="no" | ||
InstallCondition="not InstallAllUsers and (Include_freethreaded) and Include_symbols and not LauncherOnly"> | ||
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> | ||
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> | ||
</MsiPackage> | ||
<MsiPackage Id="freethreaded_JustForMe_d" | ||
SourceFile="freethreaded_d.msi" | ||
Compressed="no" | ||
DownloadUrl="$(var.DownloadUrl)" | ||
ForcePerMachine="no" | ||
InstallCondition="not InstallAllUsers and (Include_freethreaded) and Include_debug and not LauncherOnly"> | ||
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> | ||
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> | ||
</MsiPackage> | ||
</PackageGroup> | ||
</Fragment> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<ProjectGuid>{1B4502D5-B627-4F50-ABEA-4CC5A8E88265}</ProjectGuid> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<OutputName>freethreaded</OutputName> | ||
<OutputType>Package</OutputType> | ||
</PropertyGroup> | ||
<Import Project="..\msi.props" /> | ||
<ItemGroup> | ||
<Compile Include="freethreaded.wxs" /> | ||
<Compile Include="freethreaded_files.wxs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="*.wxl" /> | ||
<WxlTemplate Include="*.wxl_template" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\msi.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?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="500" Compressed="yes" InstallScope="perUser" /> | ||
<MediaTemplate EmbedCab="yes" CompressionLevel="high" /> | ||
|
||
<PropertyRef Id="UpgradeTable" /> | ||
<PropertyRef Id="REGISTRYKEY" /> | ||
|
||
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> | ||
<ComponentGroupRef Id="freethreaded_reg" Primary="yes" /> | ||
<ComponentGroupRef Id="freethreaded_exe" /> | ||
<ComponentGroupRef Id="freethreaded_lib_files" /> | ||
<ComponentGroupRef Id="freethreaded_lib_extensions" /> | ||
<ComponentRef Id="OptionalFeature" /> | ||
</Feature> | ||
</Product> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<ProjectGuid>{D3677DCF-098A-4398-9FA5-8E74AC37E0DF}</ProjectGuid> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<OutputName>freethreaded_d</OutputName> | ||
<OutputType>Package</OutputType> | ||
</PropertyGroup> | ||
<Import Project="..\msi.props" /> | ||
<ItemGroup> | ||
<Compile Include="freethreaded_d.wxs" /> | ||
<Compile Include="freethreaded_files.wxs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="*.wxl" /> | ||
<WxlTemplate Include="*.wxl_template" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\msi.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title_d)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> | ||
<Package InstallerVersion="500" Compressed="yes" InstallScope="perUser" /> | ||
<MediaTemplate EmbedCab="yes" CompressionLevel="high" /> | ||
|
||
<PropertyRef Id="UpgradeTable" /> | ||
|
||
<Feature Id="DebugBinaries" AllowAdvertise="no" Title="!(loc.Title_d)" Description="!(loc.Description_d)"> | ||
<ComponentGroupRef Id="freethreaded_dll_d" /> | ||
<ComponentGroupRef Id="freethreaded_exe_d" /> | ||
<ComponentGroupRef Id="freethreaded_lib_extensions_d" /> | ||
<ComponentRef Id="OptionalFeature" /> | ||
</Feature> | ||
</Product> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"> | ||
<String Id="Descriptor">Freethreaded Interpreter</String> | ||
<String Id="ShortDescriptor">freethreaded</String> | ||
<String Id="ShortcutName">Python {{ShortVersion}} ({{Bitness}}, freethreaded)</String> | ||
<String Id="ShortcutDescription">Launches the !(loc.ProductName) freethreaded interpreter.</String> | ||
<String Id="SupportUrl">https://www.python.org/</String> | ||
</WixLocalization> |
Oops, something went wrong.