diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-03-27 14:30:35 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-03-30 21:30:04 +1000 |
| commit | c455d2290ef903ff36d540903e27d76d473cb67c (patch) | |
| tree | b72ab75702810bc14e6f9bd31af3e1b67739f153 /src/test/WixToolsetTest.CoreIntegration/TestData/SetVariable | |
| parent | 0baf6e26ec7ab2ff0b6ad36e9d44f3d68819b5d6 (diff) | |
| download | wix-c455d2290ef903ff36d540903e27d76d473cb67c.tar.gz wix-c455d2290ef903ff36d540903e27d76d473cb67c.tar.bz2 wix-c455d2290ef903ff36d540903e27d76d473cb67c.zip | |
Add SetVariable.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData/SetVariable')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/SetVariable/Simple.wxs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/SetVariable/Simple.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/SetVariable/Simple.wxs new file mode 100644 index 00000000..96c92e54 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/SetVariable/Simple.wxs | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <PackageGroupRef Id="MinimalPackageGroup" /> | ||
| 6 | </PackageGroup> | ||
| 7 | |||
| 8 | <SetVariable Id="SetCoercedNumber" Variable="CoercedNumber" Value="2" /> | ||
| 9 | <SetVariable Id="SetCoercedString" Variable="CoercedString" Value="Bar" /> | ||
| 10 | <SetVariable Id="SetCoercedVersion" Variable="CoercedVersion" Value="v2.0" /> | ||
| 11 | <SetVariable Id="SetNeedsFormatting" Variable="NeedsFormatting" Value="[One] [Two] [Three]" /> | ||
| 12 | <SetVariable Id="SetVersionString" Variable="VersionString" Value="v1.0" Type="string" /> | ||
| 13 | <SetVariable Id="SetUnset" Variable="Unset" Condition="VersionString = v2.0" /> | ||
| 14 | </Fragment> | ||
| 15 | </Wix> | ||
