diff options
| author | Bob Arnson <bob@firegiant.com> | 2022-12-21 18:21:07 -0500 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2022-12-21 19:26:13 -0500 |
| commit | 971b66587a28ffcd17a00e98c3995772d1f5746c (patch) | |
| tree | c296fa6151a3821327d93625f7928b7e5194ded8 /src | |
| parent | 5b57b401ce25da930d66f1b5ef2cb8fac0ce1958 (diff) | |
| download | wix-971b66587a28ffcd17a00e98c3995772d1f5746c.tar.gz wix-971b66587a28ffcd17a00e98c3995772d1f5746c.tar.bz2 wix-971b66587a28ffcd17a00e98c3995772d1f5746c.zip | |
Support ui:WixUI with WixUI_Common.
It's not needed but we should support the consistency.
Fixes https://github.com/wixtoolset/issues/issues/6998
Diffstat (limited to 'src')
| -rw-r--r-- | src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs | 2 | ||||
| -rw-r--r-- | src/ext/UI/wixlib/Common.wxs | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs b/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs index c637b5dd..e1f18be5 100644 --- a/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs +++ b/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs | |||
| @@ -243,7 +243,7 @@ namespace WixToolsetTest.UI | |||
| 243 | { | 243 | { |
| 244 | "build", | 244 | "build", |
| 245 | Path.Combine(folder, "Package.wxs"), | 245 | Path.Combine(folder, "Package.wxs"), |
| 246 | "-ext", Path.GetFullPath(new Uri(typeof(UIExtensionFactory).Assembly.CodeBase).LocalPath), | 246 | "-ext", Path.GetFullPath(typeof(UIExtensionFactory).Assembly.Location), |
| 247 | "-bindpath", bindFolder, | 247 | "-bindpath", bindFolder, |
| 248 | "-intermediateFolder", intermediateFolder, | 248 | "-intermediateFolder", intermediateFolder, |
| 249 | "-o", Path.Combine(intermediateFolder, @"bin\test.msi") | 249 | "-o", Path.Combine(intermediateFolder, @"bin\test.msi") |
diff --git a/src/ext/UI/wixlib/Common.wxs b/src/ext/UI/wixlib/Common.wxs index 476b00da..bfaa44b8 100644 --- a/src/ext/UI/wixlib/Common.wxs +++ b/src/ext/UI/wixlib/Common.wxs | |||
| @@ -1,4 +1,4 @@ | |||
| 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. --> | 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 | 2 | ||
| 3 | 3 | ||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| @@ -66,4 +66,12 @@ | |||
| 66 | <UIText Id="VolumeCostVolume" Value="!(loc.UITextVolumeCostVolume)" /> | 66 | <UIText Id="VolumeCostVolume" Value="!(loc.UITextVolumeCostVolume)" /> |
| 67 | </UI> | 67 | </UI> |
| 68 | </Fragment> | 68 | </Fragment> |
| 69 | |||
| 70 | <?foreach WIXUIARCH in X86;X64;A64 ?> | ||
| 71 | <Fragment> | ||
| 72 | <UI Id="WixUI_Common_$(WIXUIARCH)"> | ||
| 73 | <!-- An empty section so you can use ui:WixUI to refer to WixUI_Common. --> | ||
| 74 | </UI> | ||
| 75 | </Fragment> | ||
| 76 | <?endforeach?> | ||
| 69 | </Wix> | 77 | </Wix> |
