Пример #1
0
 private void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (this)
     {
         this.executingPackageOrderIndex.Clear();
     }
 }
Пример #2
0
 private void HandlePlanBegin(object sender, PlanBeginEventArgs e)
 {
     dispatcher.Invoke(() =>
     {
         canExecute = false;
         OnCanExecuteChanged();
     });
 }
        private void SetupApplication_PlanBegin(object sender, PlanBeginEventArgs e)
        {
            this.Engine.StringVariables["TL_INSTALLDIR_REGVALUENAME"] = installDirRegValueName;
            this.Engine.StringVariables["TL_INSTALLDIR"]           = this.InstallDir;
            this.Engine.StringVariables["TL_INSTALLDIR_PERSISTED"] = this.InstallDirPersisted;

            this.Engine.StringVariables["TL_DELETE_USER_DATA"] = this.DeleteUserData ? "1" : "0";
        }
Пример #4
0
 private void OnPlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (_lock)
     {
         _progressPhases = (LaunchAction.Layout == _installer.Command.Action) ? 1 : 2;
         MessageAction   = "Preparing:";
     }
 }
Пример #5
0
 private void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (this)
     {
         this.progressPhases = (LaunchAction.Layout == WixBA.Model.PlannedAction) ? 1 : 2;
         this.executingPackageOrderIndex.Clear();
     }
 }
Пример #6
0
 private void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (this)
     {
         this._progressPhases = 1;
         this._executingPackageOrderIndex.Clear();
     }
 }
Пример #7
0
        private void Bootstrapper_PlanBegin(object sender, PlanBeginEventArgs e)
        {
            //this.Log(LogLevel.Debug,
            //    $"Bootstrapper has called {nameof(this.Bootstrapper_PlanBegin)}");

            this.ExecuteOnDispatcherOrImmediateIfNotAvailable(
                this.PlanBegin);
        }
Пример #8
0
        private void Bootstrapper_PlanBegin(object sender, PlanBeginEventArgs e)
        {
            Log(LogLevel.Debug, $"Bootstrapper has called {nameof(this.Bootstrapper_PlanBegin)}");

            if (IsInteractive)
            {
                NavigateToPage(PageType.PlanPage);
            }
        }
Пример #9
0
 private void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (this)
     {
         if (InstallEnabled)
         {
             this.progressPhases = (LaunchAction.Layout == CustomBootstrapperApplication.Model.PlannedAction) ? 1 : 2;
         }
         else
         {
             LabelBack = false;
         }
         InstallText = "";
         RepairText  = "";
         OnPropertyChanged("Phases");
         OnPropertyChanged("InstallEnabled");
         OnPropertyChanged("InstallText");
         OnPropertyChanged("RepairText");
         this.executingPackageOrderIndex.Clear();
     }
 }
Пример #10
0
 protected override void OnPlanBegin(PlanBeginEventArgs e)
 {
     base.OnPlanBegin(e);
     this._installer.Status = Status.Planning;
 }
Пример #11
0
 private void Bootstrapper_PlanBegin(object sender, PlanBeginEventArgs e)
 {
     Log(LogLevel.Debug, $"Bootstrapper has called {nameof(this.Bootstrapper_PlanBegin)}");
 }
Пример #12
0
 private void SetupApplication_PlanBegin(object sender, PlanBeginEventArgs e)
 {
     this.Engine.StringVariables["TL_INSTALLDIR_REGVALUENAME"] = installDirRegValueName;
     this.Engine.StringVariables["TL_INSTALLDIR"]           = this.InstallDir;
     this.Engine.StringVariables["TL_INSTALLDIR_PERSISTED"] = this.InstallDirPersisted;
 }
Пример #13
0
 protected void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     _model.LogMessage("PlanBegin event fired.");
     this._model.LogMessage("Display:" + this.DisplayLevel.ToString());
     this._model.LogMessage("Action:" + this.Action.ToString());
 }
Пример #14
0
 private void PlanBegin(PlanBeginEventArgs eventArgs)
 {
     this.ViewController.InstallStageChange(InstallerStage.Processing);
 }
Пример #15
0
 /// Fired when the engine has begun planning the installation.
 static void OnPlanBegin(object sender, PlanBeginEventArgs e)
 {
     Logger.Instance.Trace("PackageCount: " + e.PackageCount);
 }
 protected override void OnPlanBegin(PlanBeginEventArgs e)
 {
     base.OnPlanBegin(e);
     this._installer.Status = Status.Planning;
 }