Update WixBA to Mba.Core 4.0.44.
Sean Hall committed
May 5, 2021 at 19:35 UTC
0db19b269e9b94a674e370629934e82545374777
2 files changed
+19
-1
src/WixToolset.WixBA/ProgressViewModel.cs
+18
@@ -33,6 +33,8 @@ namespace WixToolset.WixBA
33
WixBA.Model.Bootstrapper.ExecutePackageBegin += this.ExecutePackageBegin;
34
WixBA.Model.Bootstrapper.ExecutePackageComplete += this.ExecutePackageComplete;
35
WixBA.Model.Bootstrapper.ExecuteProgress += this.ApplyExecuteProgress;
36
+ WixBA.Model.Bootstrapper.PauseAutomaticUpdatesBegin += this.PauseAutomaticUpdatesBegin;
37
+ WixBA.Model.Bootstrapper.SystemRestorePointBegin += this.SystemRestorePointBegin;
38
WixBA.Model.Bootstrapper.PlanBegin += this.PlanBegin;
39
WixBA.Model.Bootstrapper.PlanPackageComplete += this.PlanPackageComplete;
40
WixBA.Model.Bootstrapper.ApplyBegin += this.ApplyBegin;
@@ -143,6 +145,22 @@ namespace WixToolset.WixBA
145
}
146
}
147
148
+ private void PauseAutomaticUpdatesBegin(object sender, PauseAutomaticUpdatesBeginEventArgs e)
149
+ {
150
+ lock (this)
151
+ {
152
+ this.Message = "Pausing Windows automatic updates";
153
+ }
154
+ }
155
+
156
+ private void SystemRestorePointBegin(object sender, SystemRestorePointBeginEventArgs e)
157
+ {
158
+ lock (this)
159
+ {
160
+ this.Message = "Creating system restore point";
161
+ }
162
+ }
163
+
164
private void ApplyBegin(object sender, ApplyBeginEventArgs e)
165
{
166
this.progressPhases = e.PhaseCount;
src/WixToolset.WixBA/WixToolset.WixBA.csproj
+1
-1
@@ -41,6 +41,6 @@
41
</ItemGroup>
42
<ItemGroup>
43
<PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" />
44
- <PackageReference Include="WixToolset.Mba.Core" Version="4.0.40" />
44
+ <PackageReference Include="WixToolset.Mba.Core" Version="4.0.44" />
45
</ItemGroup>
46
</Project>
\ No newline at end of file