Esempio n. 1
0
 protected override void OnDetectUpdateBegin(DetectUpdateBeginEventArgs args)
 {
     this.Log("OnDetectUpdateBegin");
     if (LaunchAction.UpdateReplaceEmbedded == this.action || LaunchAction.UpdateReplace == this.action)
     {
         args.Skip = false;
     }
 }
Esempio n. 2
0
        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;
            }
        }
Esempio n. 3
0
 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;
     }
 }
Esempio n. 4
0
 protected override void OnDetectUpdateBegin(DetectUpdateBeginEventArgs args)
 {
 }
Esempio n. 5
0
 /// Fired when the update detection phase has begun.
 static void OnDetectUpdateBegin(object sender, DetectUpdateBeginEventArgs e)
 {
     Logger.Instance.Trace("");
 }