diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/BootstrapperApplication.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/BootstrapperApplication.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/BootstrapperApplication.cs b/src/api/burn/WixToolset.Mba.Core/BootstrapperApplication.cs index 072d3ef0..d7dbf04c 100644 --- a/src/api/burn/WixToolset.Mba.Core/BootstrapperApplication.cs +++ b/src/api/burn/WixToolset.Mba.Core/BootstrapperApplication.cs | |||
@@ -1490,12 +1490,13 @@ namespace WixToolset.Mba.Core | |||
1490 | return args.HResult; | 1490 | return args.HResult; |
1491 | } | 1491 | } |
1492 | 1492 | ||
1493 | int IBootstrapperApplication.OnRegisterBegin(ref bool fCancel) | 1493 | int IBootstrapperApplication.OnRegisterBegin(RegistrationType recommendedRegistrationType, ref bool fCancel, ref RegistrationType registrationType) |
1494 | { | 1494 | { |
1495 | RegisterBeginEventArgs args = new RegisterBeginEventArgs(fCancel); | 1495 | RegisterBeginEventArgs args = new RegisterBeginEventArgs(recommendedRegistrationType, fCancel, registrationType); |
1496 | this.OnRegisterBegin(args); | 1496 | this.OnRegisterBegin(args); |
1497 | 1497 | ||
1498 | fCancel = args.Cancel; | 1498 | fCancel = args.Cancel; |
1499 | registrationType = args.RegistrationType; | ||
1499 | return args.HResult; | 1500 | return args.HResult; |
1500 | } | 1501 | } |
1501 | 1502 | ||
@@ -1679,12 +1680,12 @@ namespace WixToolset.Mba.Core | |||
1679 | return args.HResult; | 1680 | return args.HResult; |
1680 | } | 1681 | } |
1681 | 1682 | ||
1682 | int IBootstrapperApplication.OnUnregisterBegin(bool fKeepRegistration, ref bool fForceKeepRegistration) | 1683 | int IBootstrapperApplication.OnUnregisterBegin(RegistrationType recommendedRegistrationType, ref RegistrationType registrationType) |
1683 | { | 1684 | { |
1684 | UnregisterBeginEventArgs args = new UnregisterBeginEventArgs(fKeepRegistration, fForceKeepRegistration); | 1685 | UnregisterBeginEventArgs args = new UnregisterBeginEventArgs(recommendedRegistrationType, registrationType); |
1685 | this.OnUnregisterBegin(args); | 1686 | this.OnUnregisterBegin(args); |
1686 | 1687 | ||
1687 | fForceKeepRegistration = args.ForceKeepRegistration; | 1688 | registrationType = args.RegistrationType; |
1688 | return args.HResult; | 1689 | return args.HResult; |
1689 | } | 1690 | } |
1690 | 1691 | ||