diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-19 15:50:24 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:01:11 -0700 |
| commit | bb40dc8a911ec0679016cbbf7132ea813ea1a3ad (patch) | |
| tree | 568851f07b10aa1accc9a3df799d47d0def09c19 /src/test/WixToolsetTest.CoreIntegration/TestData | |
| parent | 90729dee09047c206d95b00f9fc4e4f1a35d4d0d (diff) | |
| download | wix-bb40dc8a911ec0679016cbbf7132ea813ea1a3ad.tar.gz wix-bb40dc8a911ec0679016cbbf7132ea813ea1a3ad.tar.bz2 wix-bb40dc8a911ec0679016cbbf7132ea813ea1a3ad.zip | |
Detect duplicate CacheIds
Fixes wixtoolset/issues#4628
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/BadInput/DuplicateCacheIds.wxs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/BadInput/DuplicateCacheIds.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/BadInput/DuplicateCacheIds.wxs index 5c58ef50..0c350042 100644 --- a/src/test/WixToolsetTest.CoreIntegration/TestData/BadInput/DuplicateCacheIds.wxs +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/BadInput/DuplicateCacheIds.wxs | |||
| @@ -2,8 +2,11 @@ | |||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 3 | <Fragment> | 3 | <Fragment> |
| 4 | <PackageGroup Id="BundlePackages"> | 4 | <PackageGroup Id="BundlePackages"> |
| 5 | <ExePackage Id="Manual1" SourceFile="burn.exe" Name="manual1\burn.exe" CacheId="Manual" /> | 5 | <ExePackage Id="Manual1" SourceFile="burn.exe" Name="manual1\burn.exe" DetectCondition="test" CacheId="!(wix.WixVariable1)" /> |
| 6 | <ExePackage Id="Manual2" SourceFile="burn.exe" Name="manual2\burn.exe" CacheId="Manual" /> | 6 | <ExePackage Id="Manual2" SourceFile="burn.exe" Name="manual2\burn.exe" DetectCondition="test" CacheId="!(wix.WixVariable2)" /> |
| 7 | </PackageGroup> | 7 | </PackageGroup> |
| 8 | |||
| 9 | <WixVariable Id="WixVariable1" Value="CollidingCacheId" /> | ||
| 10 | <WixVariable Id="WixVariable2" Value="CollidingCacheId" /> | ||
| 8 | </Fragment> | 11 | </Fragment> |
| 9 | </Wix> | 12 | </Wix> |
