diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-03-13 23:51:36 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-03-14 14:53:29 -0500 |
commit | 9453eaa9a38f78e248526ddd996485140a5d4d9a (patch) | |
tree | 8ef6bda85836fd3f1b9c2c6c16cb4a994519e863 /src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |
parent | 78125b7c4bd59468275d65b63860bdb68b1bc6f1 (diff) | |
download | wix-9453eaa9a38f78e248526ddd996485140a5d4d9a.tar.gz wix-9453eaa9a38f78e248526ddd996485140a5d4d9a.tar.bz2 wix-9453eaa9a38f78e248526ddd996485140a5d4d9a.zip |
Make engine skip planning if there are any downgrade related bundles.
Fixes 6677, 6722
Reverts 6537
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs index d8ec7998..c93c2885 100644 --- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs +++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -1859,6 +1859,30 @@ namespace WixToolset.Mba.Core | |||
1859 | } | 1859 | } |
1860 | 1860 | ||
1861 | /// <summary> | 1861 | /// <summary> |
1862 | /// Event arguments for <see cref="IDefaultBootstrapperApplication.ApplyDowngrade"/> | ||
1863 | /// </summary> | ||
1864 | [Serializable] | ||
1865 | public class ApplyDowngradeEventArgs : HResultEventArgs | ||
1866 | { | ||
1867 | /// <summary /> | ||
1868 | public ApplyDowngradeEventArgs(int hrRecommendation, int hrStatus) | ||
1869 | { | ||
1870 | this.Recommendation = hrRecommendation; | ||
1871 | this.Status = hrStatus; | ||
1872 | } | ||
1873 | |||
1874 | /// <summary> | ||
1875 | /// Gets the recommended HRESULT. | ||
1876 | /// </summary> | ||
1877 | public int Recommendation { get; private set; } | ||
1878 | |||
1879 | /// <summary> | ||
1880 | /// Gets or sets the HRESULT for Apply. | ||
1881 | /// </summary> | ||
1882 | public int Status { get; set; } | ||
1883 | } | ||
1884 | |||
1885 | /// <summary> | ||
1862 | /// EventArgs for <see cref="IDefaultBootstrapperApplication.CacheAcquireResolving"/>. | 1886 | /// EventArgs for <see cref="IDefaultBootstrapperApplication.CacheAcquireResolving"/>. |
1863 | /// </summary> | 1887 | /// </summary> |
1864 | [Serializable] | 1888 | [Serializable] |