diff options
Diffstat (limited to 'Tools/msi/test')
-rw-r--r-- | Tools/msi/test/test.props | 22 | ||||
-rw-r--r-- | Tools/msi/test/test.wixproj | 22 | ||||
-rw-r--r-- | Tools/msi/test/test.wxs | 12 | ||||
-rw-r--r-- | Tools/msi/test/test_d.wixproj | 12 | ||||
-rw-r--r-- | Tools/msi/test/test_d.wxs | 13 | ||||
-rw-r--r-- | Tools/msi/test/test_pdb.wixproj | 12 | ||||
-rw-r--r-- | Tools/msi/test/test_pdb.wxs | 13 |
7 files changed, 66 insertions, 40 deletions
diff --git a/Tools/msi/test/test.props b/Tools/msi/test/test.props deleted file mode 100644 index d269107..0000000 --- a/Tools/msi/test/test.props +++ /dev/null @@ -1,22 +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> - <ItemGroup> - <InstallFiles Include="$(PySourcePath)Lib\test\**\*" - Exclude="$(PySourcePath)Lib\**\*.pyc;$(PySourcePath)Lib\**\*.pyo"> - <SourceBase>$(PySourcePath)</SourceBase> - <Source>!(bindpath.src)</Source> - <TargetBase>$(PySourcePath)</TargetBase> - <Target_></Target_> - <Group>test_py</Group> - </InstallFiles> - </ItemGroup> - - <Import Project="..\msi.targets" /> -</Project>
\ No newline at end of file diff --git a/Tools/msi/test/test.wixproj b/Tools/msi/test/test.wixproj index d747cc0..8347e3f 100644 --- a/Tools/msi/test/test.wixproj +++ b/Tools/msi/test/test.wixproj @@ -5,7 +5,25 @@ <SchemaVersion>2.0</SchemaVersion> <OutputName>test</OutputName> <OutputType>Package</OutputType> - <DefineConstants>IncludeDefaultFeature=1;$(DefineConstants)</DefineConstants> </PropertyGroup> - <Import Project="test.props" /> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="test.wxs" /> + <Compile Include="test_files.wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + <ItemGroup> + <InstallFiles Include="$(PySourcePath)Lib\test\**\*" + Exclude="$(PySourcePath)Lib\**\*.pyc;$(PySourcePath)Lib\**\*.pyo"> + <SourceBase>$(PySourcePath)</SourceBase> + <Source>!(bindpath.src)</Source> + <TargetBase>$(PySourcePath)</TargetBase> + <Target_></Target_> + <Group>test_py</Group> + </InstallFiles> + </ItemGroup> + + <Import Project="..\msi.targets" /> </Project>
\ No newline at end of file diff --git a/Tools/msi/test/test.wxs b/Tools/msi/test/test.wxs index d4ac33f..de47785 100644 --- a/Tools/msi/test/test.wxs +++ b/Tools/msi/test/test.wxs @@ -7,21 +7,9 @@ <PropertyRef Id="UpgradeTable" /> <PropertyRef Id="REGISTRYKEY" /> - <?ifdef IncludeDefaultFeature ?> <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> <ComponentGroupRef Id="test_py" /> <ComponentGroupRef Id="test_extensions" /> </Feature> - <?endif ?> - <?ifdef IncludeSymbols ?> - <Feature Id="Symbols" AllowAdvertise="no" Title="!(loc.TitlePdb)" Description="!(loc.DescriptionPdb)"> - <ComponentGroupRef Id="test_extensions_symbols" /> - </Feature> - <?endif ?> - <?ifdef IncludeDebugBinaries ?> - <Feature Id="DebugBinaries" AllowAdvertise="no" Title="!(loc.Title_d)" Description="!(loc.Description_d)"> - <ComponentGroupRef Id="test_extensions_d" /> - </Feature> - <?endif ?> </Product> </Wix> diff --git a/Tools/msi/test/test_d.wixproj b/Tools/msi/test/test_d.wixproj index 84d4313..33b04be 100644 --- a/Tools/msi/test/test_d.wixproj +++ b/Tools/msi/test/test_d.wixproj @@ -5,7 +5,15 @@ <SchemaVersion>2.0</SchemaVersion> <OutputName>test_d</OutputName> <OutputType>Package</OutputType> - <DefineConstants>IncludeDebugBinaries=1;$(DefineConstants)</DefineConstants> </PropertyGroup> - <Import Project="test.props" /> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="test_d.wxs" /> + <Compile Include="test_files.wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + + <Import Project="..\msi.targets" /> </Project>
\ No newline at end of file diff --git a/Tools/msi/test/test_d.wxs b/Tools/msi/test/test_d.wxs new file mode 100644 index 0000000..a25afdd --- /dev/null +++ b/Tools/msi/test/test_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="test_extensions_d" /> + </Feature> + </Product> +</Wix> diff --git a/Tools/msi/test/test_pdb.wixproj b/Tools/msi/test/test_pdb.wixproj index d607a47..965f0ed 100644 --- a/Tools/msi/test/test_pdb.wixproj +++ b/Tools/msi/test/test_pdb.wixproj @@ -5,7 +5,15 @@ <SchemaVersion>2.0</SchemaVersion> <OutputName>test_pdb</OutputName> <OutputType>Package</OutputType> - <DefineConstants>IncludeSymbols=1;$(DefineConstants)</DefineConstants> </PropertyGroup> - <Import Project="test.props" /> + <Import Project="..\msi.props" /> + <ItemGroup> + <Compile Include="test_pdb.wxs" /> + <Compile Include="test_files.wxs" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="*.wxl" /> + </ItemGroup> + + <Import Project="..\msi.targets" /> </Project>
\ No newline at end of file diff --git a/Tools/msi/test/test_pdb.wxs b/Tools/msi/test/test_pdb.wxs new file mode 100644 index 0000000..1510a6f --- /dev/null +++ b/Tools/msi/test/test_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="test_extensions_symbols" /> + </Feature> + </Product> +</Wix> |