diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-01 23:12:28 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 16:20:19 -0600 |
| commit | 02d4ef4774fa43cc9524fac93c888981e5d47478 (patch) | |
| tree | 8ccfd50765ea96a3d323597124ccbb4684c94b85 /src/TestData/Templates | |
| parent | 47724ab546a84e77b4699bc28aa4e4ad7901253f (diff) | |
| download | wix-02d4ef4774fa43cc9524fac93c888981e5d47478.tar.gz wix-02d4ef4774fa43cc9524fac93c888981e5d47478.tar.bz2 wix-02d4ef4774fa43cc9524fac93c888981e5d47478.zip | |
Create template for bundle.
Diffstat (limited to 'src/TestData/Templates')
| -rw-r--r-- | src/TestData/Templates/Bundle.wxs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/TestData/Templates/Bundle.wxs b/src/TestData/Templates/Bundle.wxs new file mode 100644 index 00000000..6042a616 --- /dev/null +++ b/src/TestData/Templates/Bundle.wxs | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
| 2 | |||
| 3 | <?ifndef Version?> | ||
| 4 | <?define Version = 1.0.0.0?> | ||
| 5 | <?endif?> | ||
| 6 | |||
| 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
| 8 | <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> | ||
| 9 | <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" /> | ||
| 10 | |||
| 11 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> | ||
| 12 | |||
| 13 | <?ifndef BA?> | ||
| 14 | <!-- pulled in through the PackageGroupRef below --> | ||
| 15 | <?elseif $(var.BA) = "TestBAdnc"?> | ||
| 16 | <!-- pulled in through the PackageGroupRef below --> | ||
| 17 | <?elseif $(var.BA) = "hyperlinkLicense"?> | ||
| 18 | <BootstrapperApplication> | ||
| 19 | <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" /> | ||
| 20 | </BootstrapperApplication> | ||
| 21 | <?else?> | ||
| 22 | <BootstrapperApplicationRef Id="$(var.BA)" /> | ||
| 23 | <?endif?> | ||
| 24 | |||
| 25 | <Chain> | ||
| 26 | <?ifndef BA?> | ||
| 27 | <PackageGroupRef Id="TestBA" /> | ||
| 28 | <?elseif $(var.BA) = "TestBAdnc"?> | ||
| 29 | <PackageGroupRef Id="TestBAdnc" /> | ||
| 30 | <?endif?> | ||
| 31 | |||
| 32 | <PackageGroupRef Id="BundlePackages" /> | ||
| 33 | </Chain> | ||
| 34 | </Bundle> | ||
| 35 | </Wix> | ||
