diff options
| author | Bevan Weiss <bevan.weiss@gmail.com> | 2024-07-15 20:06:54 +1000 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2024-07-18 09:59:43 -0700 |
| commit | ce73352b1fa1d4f9cded10a0ee410f2e786bd326 (patch) | |
| tree | 2f96b17fa23f8433cc3ff0f8e260c90122276358 /src/test/msi/TestData | |
| parent | 8fb5d579e8cf5eb0f93d07a73bf318a8969c6b10 (diff) | |
| download | wix-ce73352b1fa1d4f9cded10a0ee410f2e786bd326.tar.gz wix-ce73352b1fa1d4f9cded10a0ee410f2e786bd326.tar.bz2 wix-ce73352b1fa1d4f9cded10a0ee410f2e786bd326.zip | |
Add basic test for Msmq install/uninstall.
Fix up lack of WIX CUSTOM_ACTION_DECORATION wrappers
Add new RuntimeTest skipper for Server Features / Optional Features.
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
Diffstat (limited to 'src/test/msi/TestData')
| -rw-r--r-- | src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/MsmqInstall.wixproj | 13 | ||||
| -rw-r--r-- | src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/product.wxs | 17 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/MsmqInstall.wixproj b/src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/MsmqInstall.wixproj new file mode 100644 index 00000000..41e39944 --- /dev/null +++ b/src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/MsmqInstall.wixproj | |||
| @@ -0,0 +1,13 @@ | |||
| 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 | <Project Sdk="WixToolset.Sdk"> | ||
| 3 | <PropertyGroup> | ||
| 4 | <UpgradeCode>{A75B81F4-3335-4B4D-B766-303E136ED374}</UpgradeCode> | ||
| 5 | <ProductComponentsRef>true</ProductComponentsRef> | ||
| 6 | </PropertyGroup> | ||
| 7 | <ItemGroup> | ||
| 8 | <Compile Include="..\..\Templates\Product.wxs" Link="Product.wxs" /> | ||
| 9 | </ItemGroup> | ||
| 10 | <ItemGroup> | ||
| 11 | <PackageReference Include="WixToolset.Msmq.wixext" /> | ||
| 12 | </ItemGroup> | ||
| 13 | </Project> | ||
diff --git a/src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/product.wxs b/src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/product.wxs new file mode 100644 index 00000000..241b6aed --- /dev/null +++ b/src/test/msi/TestData/MsmqExtensionTests/MsmqInstall/product.wxs | |||
| @@ -0,0 +1,17 @@ | |||
| 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 | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:msmq="http://wixtoolset.org/schemas/v4/wxs/msmq"> | ||
| 5 | <Fragment> | ||
| 6 | <ComponentGroup Id="ProductComponents"> | ||
| 7 | <ComponentRef Id="Component1" /> | ||
| 8 | </ComponentGroup> | ||
| 9 | </Fragment> | ||
| 10 | |||
| 11 | <Fragment> | ||
| 12 | <Component Id="Component1"> | ||
| 13 | <File Source="$(sys.SOURCEFILEPATH)" KeyPath="yes" /> | ||
| 14 | <msmq:MessageQueue Id="ExampleQueue" PathName=".\private$\example-queue" Label="Example Queue" Transactional="yes" /> | ||
| 15 | </Component> | ||
| 16 | </Fragment> | ||
| 17 | </Wix> | ||
