diff options
| author | Bob Arnson <bob@firegiant.com> | 2019-03-20 21:18:37 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2019-03-20 21:23:17 -0400 |
| commit | 42727c42248d1cb12ef8d9bc6f8ce7dda3f404c9 (patch) | |
| tree | 7ec67b87e9ae3961cb750a0aafe86b98112249a8 /src/test/WixToolsetTest.CoreIntegration/TestData | |
| parent | 191027c6fb6bf50d2d4825a7b3b9cd7bcfaea0cd (diff) | |
| download | wix-42727c42248d1cb12ef8d9bc6f8ce7dda3f404c9.tar.gz wix-42727c42248d1cb12ef8d9bc6f8ce7dda3f404c9.tar.bz2 wix-42727c42248d1cb12ef8d9bc6f8ce7dda3f404c9.zip | |
Bug: Wixipl references to extension libraries
Add test demonstrating that a persisted .wixipl file has broken
references to bits in an extension's library. Same project built
via wix.exe in one pass works as expected.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
4 files changed, 45 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/Package.en-us.wxl b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/Package.en-us.wxl new file mode 100644 index 00000000..38c12ac1 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/Package.en-us.wxl | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | |||
| 3 | <!-- | ||
| 4 | This file contains the declaration of all the localizable strings. | ||
| 5 | --> | ||
| 6 | <WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="en-US"> | ||
| 7 | |||
| 8 | <String Id="DowngradeError">A newer version of [ProductName] is already installed.</String> | ||
| 9 | <String Id="FeatureTitle">MsiPackage</String> | ||
| 10 | |||
| 11 | </WixLocalization> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/Package.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/Package.wxs new file mode 100644 index 00000000..15807698 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/Package.wxs | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Product Id="*" Name="MsiPackage" Codepage="1252" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> | ||
| 4 | <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" /> | ||
| 5 | |||
| 6 | <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> | ||
| 7 | <MediaTemplate /> | ||
| 8 | |||
| 9 | <CustomAction Id="CAFromExtension" BinaryKey="BinFromWir" DllEntry="DoesntExist" /> | ||
| 10 | |||
| 11 | <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> | ||
| 12 | <ComponentGroupRef Id="ProductComponents" /> | ||
| 13 | </Feature> | ||
| 14 | </Product> | ||
| 15 | |||
| 16 | <Fragment> | ||
| 17 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| 18 | <Directory Id="ProgramFilesFolder"> | ||
| 19 | <Directory Id="INSTALLFOLDER" Name="MsiPackage" /> | ||
| 20 | </Directory> | ||
| 21 | </Directory> | ||
| 22 | </Fragment> | ||
| 23 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/PackageComponents.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/PackageComponents.wxs new file mode 100644 index 00000000..e26c4509 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/PackageComponents.wxs | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
| 5 | <Component> | ||
| 6 | <File Source="test.txt" /> | ||
| 7 | </Component> | ||
| 8 | </ComponentGroup> | ||
| 9 | </Fragment> | ||
| 10 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/data/test.txt b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/data/test.txt new file mode 100644 index 00000000..cd0db0e1 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Wixipl/data/test.txt | |||
| @@ -0,0 +1 @@ | |||
| This is test.txt. \ No newline at end of file | |||
