diff options
Diffstat (limited to 'src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/Bundle.wxs')
-rw-r--r-- | src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/Bundle.wxs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/Bundle.wxs b/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/Bundle.wxs new file mode 100644 index 00000000..7fef0725 --- /dev/null +++ b/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/Bundle.wxs | |||
@@ -0,0 +1,52 @@ | |||
1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
2 | <Bundle Name="!(loc.BundleName)" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> | ||
3 | <BootstrapperApplication> | ||
4 | <BootstrapperApplicationDll SourceFile="fakeba.dll" /> | ||
5 | </BootstrapperApplication> | ||
6 | |||
7 | <util:RegistrySearchRef Id="RegistrySearchId" /> | ||
8 | <util:RegistrySearchRef Id="RegistrySearchId64" /> | ||
9 | <util:ProductSearchRef Id="ProductSearchId" /> | ||
10 | <util:FileSearchRef Id="FileSearchId" /> | ||
11 | <util:WindowsFeatureSearchRef Id="DetectSHA2SupportId" /> | ||
12 | |||
13 | <Chain> | ||
14 | <MsiPackage SourceFile="test.msi"> | ||
15 | <MsiProperty Name="TEST" Value="1" /> | ||
16 | </MsiPackage> | ||
17 | </Chain> | ||
18 | </Bundle> | ||
19 | |||
20 | <Fragment> | ||
21 | <util:RegistrySearch | ||
22 | Id="RegistrySearchId" | ||
23 | Variable="RegistrySearchVariable" | ||
24 | Root="HKLM" | ||
25 | Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" | ||
26 | Value="Release" | ||
27 | Result="value" /> | ||
28 | </Fragment> | ||
29 | |||
30 | <Fragment> | ||
31 | <util:RegistrySearch | ||
32 | Id="RegistrySearchId64" | ||
33 | Variable="RegistrySearchVariable64" | ||
34 | Root="HKLM" | ||
35 | Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" | ||
36 | Value="Release" | ||
37 | Result="value" | ||
38 | Bitness="always64" /> | ||
39 | </Fragment> | ||
40 | |||
41 | <Fragment> | ||
42 | <util:ProductSearch Id="ProductSearchId" Variable="ProductSearchVariable" UpgradeCode="738D02BF-E231-4370-8209-E9FD4E1BE2A1" Condition="1 & 2 < 3" Result="version" /> | ||
43 | </Fragment> | ||
44 | |||
45 | <Fragment> | ||
46 | <util:FileSearch Id="FileSearchId" Variable="FileSearchVariable" Path="%windir%\System32\mscoree.dll" Result="exists" /> | ||
47 | </Fragment> | ||
48 | |||
49 | <Fragment> | ||
50 | <util:WindowsFeatureSearch Id="DetectSHA2SupportId" Variable="IsSHA2Supported" Feature="sha2CodeSigning" /> | ||
51 | </Fragment> | ||
52 | </Wix> | ||