コード例 #1
0
 private void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (this)
     {
         this.executingPackageOrderIndex.Clear();
     }
 }
コード例 #2
0
		private void OnPlanBegin(object sender, PlanBeginEventArgs e)
		{
			lock (_lock)
			{
				_progressPhases = (LaunchAction.Layout == _installer.Command.Action) ? 1 : 2;
				MessageAction = "Preparing:";
			}
		}
コード例 #3
0
        /// <summary>Called when the engine has begun planning the installation.</summary>
        /// <param name="args">The arguments of the event.</param>
        protected override void OnPlanBegin(Wix.PlanBeginEventArgs args)
        {
            LogVerbose("Enter Method: OnPlanBegin");
            WPFBootstrapperEventArgs <Wix.PlanBeginEventArgs> cancelArgs = new WPFBootstrapperEventArgs <Wix.PlanBeginEventArgs>(args);

            TryInvoke(new Action(() => { _mainWindow.OnPlanBegin(cancelArgs); }));
            if (!cancelArgs.Cancel)
            {
                base.OnPlanBegin(cancelArgs.Arguments);
            }
            LogVerbose("Leaving Method: OnPlanBegin");
        }
コード例 #4
0
        /// <summary>Called when the engine has begun planning the installation.</summary>
        /// <param name="args">The arguments of the event.</param>
        protected override void OnPlanBegin(Wix.PlanBeginEventArgs args)
        {
            this.LogBootstrapperEnterEvent(args, "PlanBegin");
            WPFBootstrapperEventArgs <Wix.PlanBeginEventArgs> cancelArgs = new WPFBootstrapperEventArgs <Wix.PlanBeginEventArgs>(args);

            this.TryInvoke(new Action(() => { this.model.OnPlanBegin(cancelArgs); }));
            if (!cancelArgs.Cancel)
            {
                base.OnPlanBegin(cancelArgs.Arguments);
            }
            this.LogBootstrapperLeaveEvent(null, "PlanBegin");
        }
コード例 #5
0
ファイル: ProgressViewModel.cs プロジェクト: Jeremiahf/wix3
 private void PlanBegin(object sender, PlanBeginEventArgs e)
 {
     lock (this)
     {
         this.progressPhases = (LaunchAction.Layout == WixBA.Model.PlannedAction) ? 1 : 2;
         this.executingPackageOrderIndex.Clear();
     }
 }
コード例 #6
0
ファイル: BootstrapperApplication.cs プロジェクト: zooba/wix3
        Result IBootstrapperApplication.OnPlanBegin(int cPackages)
        {
            PlanBeginEventArgs args = new PlanBeginEventArgs(cPackages);
            this.OnPlanBegin(args);

            return args.Result;
        }
コード例 #7
0
ファイル: BootstrapperApplication.cs プロジェクト: zooba/wix3
 /// <summary>
 /// Called when the engine has begun planning the installation.
 /// </summary>
 /// <param name="args">Additional arguments for this event.</param>
 protected virtual void OnPlanBegin(PlanBeginEventArgs args)
 {
     EventHandler<PlanBeginEventArgs> handler = this.PlanBegin;
     if (null != handler)
     {
         handler(this, args);
     }
 }