aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingBuiltinVariableNames.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingBuiltinVariableNames.wxs')
-rw-r--r--src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingBuiltinVariableNames.wxs57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingBuiltinVariableNames.wxs b/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingBuiltinVariableNames.wxs
new file mode 100644
index 00000000..e0dfc1b8
--- /dev/null
+++ b/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingBuiltinVariableNames.wxs
@@ -0,0 +1,57 @@
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:DirectorySearchRef Id="DirectorySearchId" />
11 <util:FileSearchRef Id="FileSearchId" />
12 <util:WindowsFeatureSearchRef Id="DetectSHA2SupportId" />
13
14 <Chain>
15 <MsiPackage SourceFile="test.msi">
16 <MsiProperty Name="TEST" Value="1" />
17 </MsiPackage>
18 </Chain>
19 </Bundle>
20
21 <Fragment>
22 <util:RegistrySearch
23 Id="RegistrySearchId"
24 Variable="VersionNT64"
25 Root="HKLM"
26 Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"
27 Value="Release"
28 Result="value" />
29 </Fragment>
30
31 <Fragment>
32 <util:RegistrySearch
33 Id="RegistrySearchId64"
34 Variable="WixBundleAction"
35 Root="HKLM"
36 Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"
37 Value="Release"
38 Result="value"
39 Bitness="always64" />
40 </Fragment>
41
42 <Fragment>
43 <util:ProductSearch Id="ProductSearchId" Variable="Date" UpgradeCode="738D02BF-E231-4370-8209-E9FD4E1BE2A1" Condition="1 &amp; 2 &lt; 3" Result="version" />
44 </Fragment>
45
46 <Fragment>
47 <util:DirectorySearch Id="DirectorySearchId" Variable="InstallerName" Path="%windir%\System32" Result="exists" DisableFileRedirection="yes" />
48 </Fragment>
49
50 <Fragment>
51 <util:FileSearch Id="FileSearchId" Variable="NativeMachine" Path="%windir%\System32\mscoree.dll" Result="exists" />
52 </Fragment>
53
54 <Fragment>
55 <util:WindowsFeatureSearch Id="DetectSHA2SupportId" Variable="NTProductType" Feature="sha2CodeSigning" />
56 </Fragment>
57</Wix>