diff options
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> | ||
