diff options
| author | Bob Arnson <bob@firegiant.com> | 2025-03-25 22:34:31 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2025-03-25 22:34:31 -0400 |
| commit | 3d543d4aab309677fca31511aeb4d2834a4e6c3a (patch) | |
| tree | 8c78ce60d6d9aaf212ab1fcf743a15d495cbb912 | |
| parent | bf13a0b67dd644eb7d74cb0cfb6876840f73d82b (diff) | |
| download | wix-bob/FeatureTreeBrowseDlgButtonWiring.tar.gz wix-bob/FeatureTreeBrowseDlgButtonWiring.tar.bz2 wix-bob/FeatureTreeBrowseDlgButtonWiring.zip | |
Add actions to BrowseDlg for WixUI_FeatureTree.bob/FeatureTreeBrowseDlgButtonWiring
Fixes https://github.com/wixtoolset/issues/issues/9009
| -rw-r--r-- | src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs | 2 | ||||
| -rw-r--r-- | src/ext/UI/wixlib/WixUI_FeatureTree.wxs | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs b/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs index e06feac7..ae3a49be 100644 --- a/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs +++ b/src/ext/UI/test/WixToolsetTest.UI/UIExtensionFixture.cs | |||
| @@ -109,7 +109,7 @@ namespace WixToolsetTest.UI | |||
| 109 | var bindFolder = TestData.Get(@"TestData", "data"); | 109 | var bindFolder = TestData.Get(@"TestData", "data"); |
| 110 | var build = new Builder(folder, typeof(UIExtensionFactory), new[] { bindFolder }); | 110 | var build = new Builder(folder, typeof(UIExtensionFactory), new[] { bindFolder }); |
| 111 | 111 | ||
| 112 | var results = build.BuildAndQuery(BuildX64, "Binary", "Dialog", "CustomAction", "ControlEvent", "InstallUISequence"); | 112 | var results = build.BuildAndQuery(Build, validate: true, "Binary", "Dialog", "CustomAction", "ControlEvent", "InstallUISequence"); |
| 113 | WixAssert.Single(results, result => result.StartsWith("Dialog:WelcomeDlg\t")); | 113 | WixAssert.Single(results, result => result.StartsWith("Dialog:WelcomeDlg\t")); |
| 114 | WixAssert.Single(results, result => result.StartsWith("Dialog:CustomizeDlg\t")); | 114 | WixAssert.Single(results, result => result.StartsWith("Dialog:CustomizeDlg\t")); |
| 115 | WixAssert.Empty(results.Where(result => result.StartsWith("Dialog:SetupTypeDlg\t"))); | 115 | WixAssert.Empty(results.Where(result => result.StartsWith("Dialog:SetupTypeDlg\t"))); |
diff --git a/src/ext/UI/wixlib/WixUI_FeatureTree.wxs b/src/ext/UI/wixlib/WixUI_FeatureTree.wxs index 5ec27445..a02ad28b 100644 --- a/src/ext/UI/wixlib/WixUI_FeatureTree.wxs +++ b/src/ext/UI/wixlib/WixUI_FeatureTree.wxs | |||
| @@ -35,6 +35,8 @@ Patch dialog sequence: | |||
| 35 | 35 | ||
| 36 | <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> | 36 | <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> |
| 37 | 37 | ||
| 38 | <DialogRef Id="BrowseDlg" /> | ||
| 39 | <DialogRef Id="DiskCostDlg" /> | ||
| 38 | <DialogRef Id="ErrorDlg" /> | 40 | <DialogRef Id="ErrorDlg" /> |
| 39 | <DialogRef Id="FatalError" /> | 41 | <DialogRef Id="FatalError" /> |
| 40 | <DialogRef Id="FilesInUse" /> | 42 | <DialogRef Id="FilesInUse" /> |
| @@ -56,6 +58,9 @@ Patch dialog sequence: | |||
| 56 | <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" Order="2" Condition="NOT Installed" /> | 58 | <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" Order="2" Condition="NOT Installed" /> |
| 57 | <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" /> | 59 | <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" /> |
| 58 | 60 | ||
| 61 | <Publish Dialog="BrowseDlg" Control="OK" Event="SetTargetPath" Value="[_BrowseProperty]" Order="3" /> | ||
| 62 | <Publish Dialog="BrowseDlg" Control="OK" Event="EndDialog" Value="Return" Order="4" /> | ||
| 63 | |||
| 59 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1" Condition="NOT Installed OR WixUI_InstallMode = "Change"" /> | 64 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1" Condition="NOT Installed OR WixUI_InstallMode = "Change"" /> |
| 60 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2" Condition="Installed AND NOT PATCH" /> | 65 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2" Condition="Installed AND NOT PATCH" /> |
| 61 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="3" Condition="Installed AND PATCH" /> | 66 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="3" Condition="Installed AND PATCH" /> |
