summaryrefslogtreecommitdiff
path: root/src/ext/Util/test/WixToolsetTest.Util/TestData
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-08-01 17:07:49 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-08-02 09:15:14 -0500
commit28c8abfda013d6aa568fde8b26da65522748d376 (patch)
treeb2e98b0e69e2941c659979f7b2bedff5a0a29b4f /src/ext/Util/test/WixToolsetTest.Util/TestData
parentaacd6b677332f2e262d0df67603c246cd65d833e (diff)
downloadwix-28c8abfda013d6aa568fde8b26da65522748d376.tar.gz
wix-28c8abfda013d6aa568fde8b26da65522748d376.tar.bz2
wix-28c8abfda013d6aa568fde8b26da65522748d376.zip
Downgrade error to warning when search refs a reserved prefix variable.
The engine doesn't actually prevent external callers from setting variables that start with 'Wix'.
Diffstat (limited to 'src/ext/Util/test/WixToolsetTest.Util/TestData')
-rw-r--r--src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingDiscouragedVariableNames.wxs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingDiscouragedVariableNames.wxs b/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingDiscouragedVariableNames.wxs
new file mode 100644
index 00000000..68f46af8
--- /dev/null
+++ b/src/ext/Util/test/WixToolsetTest.Util/TestData/BundleWithSearches/BundleUsingDiscouragedVariableNames.wxs
@@ -0,0 +1,19 @@
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:RegistrySearch
8 Variable="WixCustomVariable"
9 Root="HKLM"
10 Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Custom"
11 Value="Release"
12 Result="value"
13 Bitness="always64" />
14
15 <Chain>
16 <MsiPackage SourceFile="test.msi" />
17 </Chain>
18 </Bundle>
19</Wix>