protected override void OnDetectUpdateBegin(DetectUpdateBeginEventArgs args) { this.Log("OnDetectUpdateBegin"); if (LaunchAction.UpdateReplaceEmbedded == this.action || LaunchAction.UpdateReplace == this.action) { args.Skip = false; } }
private void Bootstrapper_DetectUpdateBegin(object sender, DetectUpdateBeginEventArgs e) { Log(LogLevel.Debug, $"Bootstrapper has called {nameof(this.Bootstrapper_DetectUpdateBegin)}"); if (IsInteractive && (Bootstrapper.Command.Resume == ResumeType.None || Bootstrapper.Command.Resume == ResumeType.Arp) && BootstrapperUpdateState != UpdateState.Failed && Bootstrapper.Command.Action != LaunchAction.Uninstall) { BootstrapperUpdateState = UpdateState.Checking; e.Result = Result.Ok; } }
private void DetectUpdateBegin(object sender, DetectUpdateBeginEventArgs e) { // Don't check for updates if: // the first check failed (no retry) // if we are being run as an uninstall // if we are not under a full UI. if ((UpdateState.Failed != this.State) && (LaunchAction.Uninstall != WixBA.Model.Command.Action) && (Display.Full == WixBA.Model.Command.Display)) { this.State = UpdateState.Checking; e.Skip = false; } }
protected override void OnDetectUpdateBegin(DetectUpdateBeginEventArgs args) { }
/// Fired when the update detection phase has begun. static void OnDetectUpdateBegin(object sender, DetectUpdateBeginEventArgs e) { Logger.Instance.Trace(""); }