diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 06:08:48 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 06:08:48 (GMT) |
commit | bb24087a2cbfb186b540cc71a74ec8c39c1ebe3a (patch) | |
tree | 3b586e72b5744c4076a222e8f803a00d17b5f20f /Tools/msi/crt | |
parent | 7425f36ee74ccf5bfc2894aca6e6b86815894f98 (diff) | |
download | cpython-bb24087a2cbfb186b540cc71a74ec8c39c1ebe3a.zip cpython-bb24087a2cbfb186b540cc71a74ec8c39c1ebe3a.tar.gz cpython-bb24087a2cbfb186b540cc71a74ec8c39c1ebe3a.tar.bz2 |
Issue #23260: Update Windows installer
Diffstat (limited to 'Tools/msi/crt')
-rw-r--r-- | Tools/msi/crt/crt.wixproj | 20 | ||||
-rw-r--r-- | Tools/msi/crt/crt.wxs | 26 | ||||
-rw-r--r-- | Tools/msi/crt/crt_en-US.wxl | 5 | ||||
-rw-r--r-- | Tools/msi/crt/crt_files.12.0.wxs | 20 | ||||
-rw-r--r-- | Tools/msi/crt/crt_files.14.0.wxs | 40 | ||||
-rw-r--r-- | Tools/msi/crt/crtlicense.txt | 47 |
6 files changed, 158 insertions, 0 deletions
diff --git a/Tools/msi/crt/crt.wixproj b/Tools/msi/crt/crt.wixproj new file mode 100644 index 0000000..8389b3a --- /dev/null +++ b/Tools/msi/crt/crt.wixproj @@ -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>{91C99298-8E2E-4422-A5AF-CC4FFF9A58D3}</ProjectGuid> + <SchemaVersion>2.0</SchemaVersion> + <OutputName>crt</OutputName> + <OutputType>Package</OutputType> + <SuppressIces>ICE71</SuppressIces> + </PropertyGroup> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="crt.wxs" /> + <Compile Include="crt_files.$(VisualStudioVersion).wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + + <Import Project="..\msi.targets" /> +</Project>
\ No newline at end of file diff --git a/Tools/msi/crt/crt.wxs b/Tools/msi/crt/crt.wxs new file mode 100644 index 0000000..5b10095 --- /dev/null +++ b/Tools/msi/crt/crt.wxs @@ -0,0 +1,26 @@ +<?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" /> + + <PropertyRef Id="UpgradeTable" /> + + <?if $(var.Platform)~=x64 ?> + <?define DirName=System64?> + <?else ?> + <?define DirName=System?> + <?endif ?> + <DirectoryRef Id="TARGETDIR"> + <Directory Id="$(var.DirName)Folder" Name="$(var.DirName)"> + <Directory Id="SystemInstallDirectory" Name="." /> + </Directory> + </DirectoryRef> + <?undef DirName ?> + + <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> + <ComponentGroupRef Id="crt_files" /> + </Feature> + </Product> +</Wix> + diff --git a/Tools/msi/crt/crt_en-US.wxl b/Tools/msi/crt/crt_en-US.wxl new file mode 100644 index 0000000..cee3c8a --- /dev/null +++ b/Tools/msi/crt/crt_en-US.wxl @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"> + <String Id="Descriptor">C Runtime</String> + <String Id="ShortDescriptor">crt</String> +</WixLocalization> diff --git a/Tools/msi/crt/crt_files.12.0.wxs b/Tools/msi/crt/crt_files.12.0.wxs new file mode 100644 index 0000000..f62593f --- /dev/null +++ b/Tools/msi/crt/crt_files.12.0.wxs @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <?if $(var.Platform)~=x64 ?> + <?define msvcr120Guid={0835C947-D6D2-4E52-AF14-0231D04E88EA}?> + <?else ?> + <?define msvcr120Guid={E5B92048-5859-4AF1-AEAD-B97EBF00B087} ?> + <?endif ?> + <ComponentGroup Id="crt_files"> + <Component Id="msvcr120.dll_LM" Directory="SystemInstallDirectory" Guid="$(var.msvcr120Guid)" Shared="yes" SharedDllRefCount="yes"> + <Condition>ALLUSERS=1</Condition> + <File Id="msvcr120.dll_LM" Source="!(bindpath.crt)\msvcr120.dll" /> + </Component> + <Component Id="msvcr120.dll_CU" Directory="InstallDirectory" Guid="*"> + <Condition>NOT ALLUSERS=1</Condition> + <File Id="msvcr120.dll_CU" Source="!(bindpath.crt)\msvcr120.dll" /> + </Component> + </ComponentGroup> + </Fragment> +</Wix> diff --git a/Tools/msi/crt/crt_files.14.0.wxs b/Tools/msi/crt/crt_files.14.0.wxs new file mode 100644 index 0000000..be682c9 --- /dev/null +++ b/Tools/msi/crt/crt_files.14.0.wxs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <?if $(var.Platform)~=x64 ?> + <?define appcrt140Guid={CC160FA9-B519-38EC-B358-B4146E8506C8}?> + <?define desktopcrt140Guid={4DB78A79-8D7F-35DD-B0E8-736DE44D25F3}?> + <?define vcruntime140Guid={B33258FD-750C-3B42-8BE4-535B48E97DB4}?> + <?else ?> + <?define appcrt140Guid={E3854F9C-4CFB-3B85-90BD-86AA22D82DC8}?> + <?define desktopcrt140Guid={46EAB1CD-C362-3139-BD7E-D8782E65253A}?> + <?define vcruntime140Guid={E8E39D3B-4F35-36D8-B892-4B28336FE041}?> + <?endif ?> + <ComponentGroup Id="crt_files"> + <Component Id="appcrt140.dll_LM" Directory="SystemInstallDirectory" Guid="$(var.appcrt140Guid)" Shared="yes" SharedDllRefCount="yes"> + <Condition>ALLUSERS=1</Condition> + <File Id="appcrt140.dll_LM" Source="!(bindpath.crt)\appcrt140.dll" /> + </Component> + <Component Id="desktopcrt140.dll_LM" Directory="SystemInstallDirectory" Guid="$(var.desktopcrt140Guid)" Shared="yes" SharedDllRefCount="yes"> + <Condition>ALLUSERS=1</Condition> + <File Id="desktopcrt140.dll_LM" Source="!(bindpath.crt)\desktopcrt140.dll" /> + </Component> + <Component Id="vcruntime140.dll_LM" Directory="SystemInstallDirectory" Guid="$(var.vcruntime140Guid)" Shared="yes" SharedDllRefCount="yes"> + <Condition>ALLUSERS=1</Condition> + <File Id="vcruntime140.dll_LM" Source="!(bindpath.crt)\vcruntime140.dll" /> + </Component> + <Component Id="appcrt140.dll_CU" Directory="InstallDirectory" Guid="*"> + <Condition>NOT ALLUSERS=1</Condition> + <File Id="appcrt140.dll_CU" Source="!(bindpath.crt)\appcrt140.dll" /> + </Component> + <Component Id="desktopcrt140.dll_CU" Directory="InstallDirectory" Guid="*"> + <Condition>NOT ALLUSERS=1</Condition> + <File Id="desktopcrt140.dll_CU" Source="!(bindpath.crt)\desktopcrt140.dll" /> + </Component> + <Component Id="vcruntime140.dll_CU" Directory="InstallDirectory" Guid="*"> + <Condition>NOT ALLUSERS=1</Condition> + <File Id="vcruntime140.dll_CU" Source="!(bindpath.crt)\vcruntime140.dll" /> + </Component> + </ComponentGroup> + </Fragment> +</Wix> diff --git a/Tools/msi/crt/crtlicense.txt b/Tools/msi/crt/crtlicense.txt new file mode 100644 index 0000000..1f0f1f9 --- /dev/null +++ b/Tools/msi/crt/crtlicense.txt @@ -0,0 +1,47 @@ + + +Additional Conditions for this Windows binary build +--------------------------------------------------- + +This program is linked with and uses Microsoft Distributable Code, +copyrighted by Microsoft Corporation. The Microsoft Distributable Code +includes the following files: + +appcrt140.dll +desktopcrt140.dll +vcruntime140.dll +msvcp140.dll +concrt140.dll +vccorlib140.dll + +If you further distribute programs that include the Microsoft +Distributable Code, you must comply with the restrictions on +distribution specified by Microsoft. In particular, you must require +distributors and external end users to agree to terms that protect the +Microsoft Distributable Code at least as much as Microsoft's own +requirements for the Distributable Code. See Microsoft's documentation +(included in its developer tools and on its website at microsoft.com) +for specific details. + +Redistribution of the Windows binary build of the Python interpreter +complies with this agreement, provided that you do not: + +- alter any copyright, trademark or patent notice in Microsoft's +Distributable Code; + +- use Microsoft's trademarks in your programs' names or in a way that +suggests your programs come from or are endorsed by Microsoft; + +- distribute Microsoft's Distributable Code to run on a platform other +than Microsoft operating systems, run-time technologies or application +platforms; or + +- include Microsoft Distributable Code in malicious, deceptive or +unlawful programs. + +These restrictions apply only to the Microsoft Distributable Code as +defined above, not to Python itself or any programs running on the +Python interpreter. The redistribution of the Python interpreter and +libraries is governed by the Python Software License included with this +file, or by other licenses as marked. + |