summaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-02-10 18:09:34 -0600
committerSean Hall <r.sean.hall@gmail.com>2022-02-10 19:51:19 -0600
commit27a0db4070a2b5756282bf15b957dd7f0021417f (patch)
tree2d0cdfe80d5ccd6d207bdf664a4f8e512281c1cf /src/api/burn/WixToolset.Mba.Core/EventArgs.cs
parent091573d459d6ab4947bd39bd3bc8faee3d18b4fc (diff)
downloadwix-27a0db4070a2b5756282bf15b957dd7f0021417f.tar.gz
wix-27a0db4070a2b5756282bf15b957dd7f0021417f.tar.bz2
wix-27a0db4070a2b5756282bf15b957dd7f0021417f.zip
When rolling back a bundle failure, reinstall all upgrade related bundles.
Fixes #3421
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r--src/api/burn/WixToolset.Mba.Core/EventArgs.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
index d4d70651..2e1e1be3 100644
--- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
+++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
@@ -2402,4 +2402,35 @@ namespace WixToolset.Mba.Core
2402 /// </summary> 2402 /// </summary>
2403 public string NewPackageId { get; private set; } 2403 public string NewPackageId { get; private set; }
2404 } 2404 }
2405
2406 /// <summary>
2407 /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanRestoreRelatedBundle"/>
2408 /// </summary>
2409 [Serializable]
2410 public class PlanRestoreRelatedBundleEventArgs : CancellableHResultEventArgs
2411 {
2412 /// <summary />
2413 public PlanRestoreRelatedBundleEventArgs(string bundleId, RequestState recommendedState, RequestState state, bool cancelRecommendation)
2414 : base(cancelRecommendation)
2415 {
2416 this.BundleId = bundleId;
2417 this.RecommendedState = recommendedState;
2418 this.State = state;
2419 }
2420
2421 /// <summary>
2422 /// Gets the identity of the bundle to plan for.
2423 /// </summary>
2424 public string BundleId { get; private set; }
2425
2426 /// <summary>
2427 /// Gets the recommended requested state for the bundle.
2428 /// </summary>
2429 public RequestState RecommendedState { get; private set; }
2430
2431 /// <summary>
2432 /// Gets or sets the requested state for the bundle.
2433 /// </summary>
2434 public RequestState State { get; set; }
2435 }
2405} 2436}