diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-14 18:30:54 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-14 18:30:54 (GMT) |
commit | cc115eea0c3399ee77b4576212bf29b7b018f1fd (patch) | |
tree | a03ef6b5982f4bfc68c086bf77c54f448088aa78 /Tools/msi/core | |
parent | 17be514d0a9a391461fbbdb06332d7b2b8273374 (diff) | |
download | cpython-cc115eea0c3399ee77b4576212bf29b7b018f1fd.zip cpython-cc115eea0c3399ee77b4576212bf29b7b018f1fd.tar.gz cpython-cc115eea0c3399ee77b4576212bf29b7b018f1fd.tar.bz2 |
Simplify MSI projects.
Diffstat (limited to 'Tools/msi/core')
-rw-r--r-- | Tools/msi/core/core.props | 12 | ||||
-rw-r--r-- | Tools/msi/core/core.wixproj | 12 | ||||
-rw-r--r-- | Tools/msi/core/core.wxs | 12 | ||||
-rw-r--r-- | Tools/msi/core/core_d.wixproj | 12 | ||||
-rw-r--r-- | Tools/msi/core/core_d.wxs | 13 | ||||
-rw-r--r-- | Tools/msi/core/core_pdb.wixproj | 12 | ||||
-rw-r--r-- | Tools/msi/core/core_pdb.wxs | 13 |
7 files changed, 56 insertions, 30 deletions
diff --git a/Tools/msi/core/core.props b/Tools/msi/core/core.props deleted file mode 100644 index 2320607..0000000 --- a/Tools/msi/core/core.props +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="..\msi.props" /> - <ItemGroup> - <Compile Include="*.wxs" /> - </ItemGroup> - <ItemGroup> - <EmbeddedResource Include="*.wxl" /> - </ItemGroup> - - <Import Project="..\msi.targets" /> -</Project>
\ No newline at end of file diff --git a/Tools/msi/core/core.wixproj b/Tools/msi/core/core.wixproj index 7265119..68e8bab 100644 --- a/Tools/msi/core/core.wixproj +++ b/Tools/msi/core/core.wixproj @@ -5,7 +5,15 @@ <SchemaVersion>2.0</SchemaVersion> <OutputName>core</OutputName> <OutputType>Package</OutputType> - <DefineConstants>IncludeDefaultFeature=1;$(DefineConstants)</DefineConstants> </PropertyGroup> - <Import Project="core.props" /> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="core.wxs" /> + <Compile Include="core_files.wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + + <Import Project="..\msi.targets" /> </Project>
\ No newline at end of file diff --git a/Tools/msi/core/core.wxs b/Tools/msi/core/core.wxs index d354e37..0d4fbde 100644 --- a/Tools/msi/core/core.wxs +++ b/Tools/msi/core/core.wxs @@ -6,20 +6,8 @@ <PropertyRef Id="UpgradeTable" /> - <?ifdef IncludeDefaultFeature ?> <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> <ComponentGroupRef Id="core_dll" /> </Feature> - <?endif ?> - <?ifdef IncludeSymbols ?> - <Feature Id="Symbols" AllowAdvertise="no" Title="!(loc.TitlePdb)" Description="!(loc.DescriptionPdb)"> - <ComponentGroupRef Id="core_symbols" /> - </Feature> - <?endif ?> - <?ifdef IncludeDebugBinaries ?> - <Feature Id="DebugBinaries" AllowAdvertise="no" Title="!(loc.Title_d)" Description="!(loc.Description_d)"> - <ComponentGroupRef Id="core_dll_d" /> - </Feature> - <?endif ?> </Product> </Wix> diff --git a/Tools/msi/core/core_d.wixproj b/Tools/msi/core/core_d.wixproj index f1f60a9..5b296bf 100644 --- a/Tools/msi/core/core_d.wixproj +++ b/Tools/msi/core/core_d.wixproj @@ -5,7 +5,15 @@ <SchemaVersion>2.0</SchemaVersion> <OutputName>core_d</OutputName> <OutputType>Package</OutputType> - <DefineConstants>IncludeDebugBinaries=1;$(DefineConstants)</DefineConstants> </PropertyGroup> - <Import Project="core.props" /> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="core_d.wxs" /> + <Compile Include="core_files.wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + + <Import Project="..\msi.targets" /> </Project>
\ No newline at end of file diff --git a/Tools/msi/core/core_d.wxs b/Tools/msi/core/core_d.wxs new file mode 100644 index 0000000..8422117 --- /dev/null +++ b/Tools/msi/core/core_d.wxs @@ -0,0 +1,13 @@ +<?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" /> + + <Feature Id="DebugBinaries" AllowAdvertise="no" Title="!(loc.Title_d)" Description="!(loc.Description_d)"> + <ComponentGroupRef Id="core_dll_d" /> + </Feature> + </Product> +</Wix> diff --git a/Tools/msi/core/core_pdb.wixproj b/Tools/msi/core/core_pdb.wixproj index bbf9379..9c88389 100644 --- a/Tools/msi/core/core_pdb.wixproj +++ b/Tools/msi/core/core_pdb.wixproj @@ -5,7 +5,15 @@ <SchemaVersion>2.0</SchemaVersion> <OutputName>core_pdb</OutputName> <OutputType>Package</OutputType> - <DefineConstants>IncludeSymbols=1;$(DefineConstants)</DefineConstants> </PropertyGroup> - <Import Project="core.props" /> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="core_pdb.wxs" /> + <Compile Include="core_files.wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + + <Import Project="..\msi.targets" /> </Project>
\ No newline at end of file diff --git a/Tools/msi/core/core_pdb.wxs b/Tools/msi/core/core_pdb.wxs new file mode 100644 index 0000000..c9a558d --- /dev/null +++ b/Tools/msi/core/core_pdb.wxs @@ -0,0 +1,13 @@ +<?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" /> + + <Feature Id="Symbols" AllowAdvertise="no" Title="!(loc.TitlePdb)" Description="!(loc.DescriptionPdb)"> + <ComponentGroupRef Id="core_symbols" /> + </Feature> + </Product> +</Wix> |