diff options
Diffstat (limited to 'src/WixToolset.Mba.Core/BootstrapperApplication.cs')
| -rw-r--r-- | src/WixToolset.Mba.Core/BootstrapperApplication.cs | 424 |
1 files changed, 133 insertions, 291 deletions
diff --git a/src/WixToolset.Mba.Core/BootstrapperApplication.cs b/src/WixToolset.Mba.Core/BootstrapperApplication.cs index 2d527427..759e76b1 100644 --- a/src/WixToolset.Mba.Core/BootstrapperApplication.cs +++ b/src/WixToolset.Mba.Core/BootstrapperApplication.cs | |||
| @@ -34,347 +34,202 @@ namespace WixToolset.Mba.Core | |||
| 34 | this.asyncExecution = true; | 34 | this.asyncExecution = true; |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | /// <summary> | 37 | /// <inheritdoc/> |
| 38 | /// Fired when the engine is starting up the bootstrapper application. | ||
| 39 | /// </summary> | ||
| 40 | public event EventHandler<StartupEventArgs> Startup; | 38 | public event EventHandler<StartupEventArgs> Startup; |
| 41 | 39 | ||
| 42 | /// <summary> | 40 | /// <inheritdoc/> |
| 43 | /// Fired when the engine is shutting down the bootstrapper application. | ||
| 44 | /// </summary> | ||
| 45 | public event EventHandler<ShutdownEventArgs> Shutdown; | 41 | public event EventHandler<ShutdownEventArgs> Shutdown; |
| 46 | 42 | ||
| 47 | /// <summary> | 43 | /// <inheritdoc/> |
| 48 | /// Fired when the system is shutting down or user is logging off. | ||
| 49 | /// </summary> | ||
| 50 | /// <remarks> | ||
| 51 | /// <para>To prevent shutting down or logging off, set <see cref="CancellableHResultEventArgs.Cancel"/> to | ||
| 52 | /// true; otherwise, set it to false.</para> | ||
| 53 | /// <para>By default setup will prevent shutting down or logging off between | ||
| 54 | /// <see cref="BootstrapperApplication.ApplyBegin"/> and <see cref="BootstrapperApplication.ApplyComplete"/>. | ||
| 55 | /// Derivatives can change this behavior by overriding <see cref="BootstrapperApplication.OnSystemShutdown"/> | ||
| 56 | /// or handling <see cref="BootstrapperApplication.SystemShutdown"/>.</para> | ||
| 57 | /// <para>If <see cref="SystemShutdownEventArgs.Reasons"/> contains <see cref="EndSessionReasons.Critical"/> | ||
| 58 | /// the bootstrapper cannot prevent the shutdown and only has a few seconds to save state or perform any other | ||
| 59 | /// critical operations before being closed by the operating system.</para> | ||
| 60 | /// <para>This event may be fired on a different thread.</para> | ||
| 61 | /// </remarks> | ||
| 62 | public event EventHandler<SystemShutdownEventArgs> SystemShutdown; | 44 | public event EventHandler<SystemShutdownEventArgs> SystemShutdown; |
| 63 | 45 | ||
| 64 | /// <summary> | 46 | /// <inheritdoc/> |
| 65 | /// Fired when the overall detection phase has begun. | ||
| 66 | /// </summary> | ||
| 67 | public event EventHandler<DetectBeginEventArgs> DetectBegin; | 47 | public event EventHandler<DetectBeginEventArgs> DetectBegin; |
| 68 | 48 | ||
| 69 | /// <summary> | 49 | /// <inheritdoc/> |
| 70 | /// Fired when a forward compatible bundle is detected. | ||
| 71 | /// </summary> | ||
| 72 | public event EventHandler<DetectForwardCompatibleBundleEventArgs> DetectForwardCompatibleBundle; | 50 | public event EventHandler<DetectForwardCompatibleBundleEventArgs> DetectForwardCompatibleBundle; |
| 73 | 51 | ||
| 74 | /// <summary> | 52 | /// <inheritdoc/> |
| 75 | /// Fired when the update detection phase has begun. | ||
| 76 | /// </summary> | ||
| 77 | public event EventHandler<DetectUpdateBeginEventArgs> DetectUpdateBegin; | 53 | public event EventHandler<DetectUpdateBeginEventArgs> DetectUpdateBegin; |
| 78 | 54 | ||
| 79 | /// <summary> | 55 | /// <inheritdoc/> |
| 80 | /// Fired when the update detection has found a potential update candidate. | ||
| 81 | /// </summary> | ||
| 82 | public event EventHandler<DetectUpdateEventArgs> DetectUpdate; | 56 | public event EventHandler<DetectUpdateEventArgs> DetectUpdate; |
| 83 | 57 | ||
| 84 | /// <summary> | 58 | /// <inheritdoc/> |
| 85 | /// Fired when the update detection phase has completed. | ||
| 86 | /// </summary> | ||
| 87 | public event EventHandler<DetectUpdateCompleteEventArgs> DetectUpdateComplete; | 59 | public event EventHandler<DetectUpdateCompleteEventArgs> DetectUpdateComplete; |
| 88 | 60 | ||
| 89 | /// <summary> | 61 | /// <inheritdoc/> |
| 90 | /// Fired when a related bundle has been detected for a bundle. | ||
| 91 | /// </summary> | ||
| 92 | public event EventHandler<DetectRelatedBundleEventArgs> DetectRelatedBundle; | 62 | public event EventHandler<DetectRelatedBundleEventArgs> DetectRelatedBundle; |
| 93 | 63 | ||
| 94 | /// <summary> | 64 | /// <inheritdoc/> |
| 95 | /// Fired when the detection for a specific package has begun. | ||
| 96 | /// </summary> | ||
| 97 | public event EventHandler<DetectPackageBeginEventArgs> DetectPackageBegin; | 65 | public event EventHandler<DetectPackageBeginEventArgs> DetectPackageBegin; |
| 98 | 66 | ||
| 99 | /// <summary> | 67 | /// <inheritdoc/> |
| 100 | /// Fired when a package was not detected but a package using the same provider key was. | ||
| 101 | /// </summary> | ||
| 102 | public event EventHandler<DetectCompatibleMsiPackageEventArgs> DetectCompatibleMsiPackage; | 68 | public event EventHandler<DetectCompatibleMsiPackageEventArgs> DetectCompatibleMsiPackage; |
| 103 | 69 | ||
| 104 | /// <summary> | 70 | /// <inheritdoc/> |
| 105 | /// Fired when a related MSI package has been detected for a package. | ||
| 106 | /// </summary> | ||
| 107 | public event EventHandler<DetectRelatedMsiPackageEventArgs> DetectRelatedMsiPackage; | 71 | public event EventHandler<DetectRelatedMsiPackageEventArgs> DetectRelatedMsiPackage; |
| 108 | 72 | ||
| 109 | /// <summary> | 73 | /// <inheritdoc/> |
| 110 | /// Fired when an MSP package detects a target MSI has been detected. | ||
| 111 | /// </summary> | ||
| 112 | public event EventHandler<DetectTargetMsiPackageEventArgs> DetectTargetMsiPackage; | 74 | public event EventHandler<DetectTargetMsiPackageEventArgs> DetectTargetMsiPackage; |
| 113 | 75 | ||
| 114 | /// <summary> | 76 | /// <inheritdoc/> |
| 115 | /// Fired when a feature in an MSI package has been detected. | ||
| 116 | /// </summary> | ||
| 117 | public event EventHandler<DetectMsiFeatureEventArgs> DetectMsiFeature; | 77 | public event EventHandler<DetectMsiFeatureEventArgs> DetectMsiFeature; |
| 118 | 78 | ||
| 119 | /// <summary> | 79 | /// <inheritdoc/> |
| 120 | /// Fired when the detection for a specific package has completed. | ||
| 121 | /// </summary> | ||
| 122 | public event EventHandler<DetectPackageCompleteEventArgs> DetectPackageComplete; | 80 | public event EventHandler<DetectPackageCompleteEventArgs> DetectPackageComplete; |
| 123 | 81 | ||
| 124 | /// <summary> | 82 | /// <inheritdoc/> |
| 125 | /// Fired when the detection phase has completed. | ||
| 126 | /// </summary> | ||
| 127 | public event EventHandler<DetectCompleteEventArgs> DetectComplete; | 83 | public event EventHandler<DetectCompleteEventArgs> DetectComplete; |
| 128 | 84 | ||
| 129 | /// <summary> | 85 | /// <inheritdoc/> |
| 130 | /// Fired when the engine has begun planning the installation. | ||
| 131 | /// </summary> | ||
| 132 | public event EventHandler<PlanBeginEventArgs> PlanBegin; | 86 | public event EventHandler<PlanBeginEventArgs> PlanBegin; |
| 133 | 87 | ||
| 134 | /// <summary> | 88 | /// <inheritdoc/> |
| 135 | /// Fired when the engine has begun planning for a related bundle. | ||
| 136 | /// </summary> | ||
| 137 | public event EventHandler<PlanRelatedBundleEventArgs> PlanRelatedBundle; | 89 | public event EventHandler<PlanRelatedBundleEventArgs> PlanRelatedBundle; |
| 138 | 90 | ||
| 139 | /// <summary> | 91 | /// <inheritdoc/> |
| 140 | /// Fired when the engine has begun planning the installation of a specific package. | ||
| 141 | /// </summary> | ||
| 142 | public event EventHandler<PlanPackageBeginEventArgs> PlanPackageBegin; | 92 | public event EventHandler<PlanPackageBeginEventArgs> PlanPackageBegin; |
| 143 | 93 | ||
| 144 | /// <summary> | 94 | /// <inheritdoc/> |
| 145 | /// Fired when the engine plans a new, compatible package using the same provider key. | ||
| 146 | /// </summary> | ||
| 147 | public event EventHandler<PlanCompatibleMsiPackageBeginEventArgs> PlanCompatibleMsiPackageBegin; | 95 | public event EventHandler<PlanCompatibleMsiPackageBeginEventArgs> PlanCompatibleMsiPackageBegin; |
| 148 | 96 | ||
| 149 | /// <summary> | 97 | /// <inheritdoc/> |
| 150 | /// Fired when the engine has completed planning the installation of a specific package. | ||
| 151 | /// </summary> | ||
| 152 | public event EventHandler<PlanCompatibleMsiPackageCompleteEventArgs> PlanCompatibleMsiPackageComplete; | 98 | public event EventHandler<PlanCompatibleMsiPackageCompleteEventArgs> PlanCompatibleMsiPackageComplete; |
| 153 | 99 | ||
| 154 | /// <summary> | 100 | /// <inheritdoc/> |
| 155 | /// Fired when the engine is about to plan the target MSI of a MSP package. | ||
| 156 | /// </summary> | ||
| 157 | public event EventHandler<PlanTargetMsiPackageEventArgs> PlanTargetMsiPackage; | 101 | public event EventHandler<PlanTargetMsiPackageEventArgs> PlanTargetMsiPackage; |
| 158 | 102 | ||
| 159 | /// <summary> | 103 | /// <inheritdoc/> |
| 160 | /// Fired when the engine is about to plan a feature in an MSI package. | ||
| 161 | /// </summary> | ||
| 162 | public event EventHandler<PlanMsiFeatureEventArgs> PlanMsiFeature; | 104 | public event EventHandler<PlanMsiFeatureEventArgs> PlanMsiFeature; |
| 163 | 105 | ||
| 164 | /// <summary> | 106 | /// <inheritdoc/> |
| 165 | /// Fired when the engine is planning an MSI or MSP package. | ||
| 166 | /// </summary> | ||
| 167 | public event EventHandler<PlanMsiPackageEventArgs> PlanMsiPackage; | 107 | public event EventHandler<PlanMsiPackageEventArgs> PlanMsiPackage; |
| 168 | 108 | ||
| 169 | /// <summary> | 109 | /// <inheritdoc/> |
| 170 | /// Fired when the engine has completed planning the installation of a specific package. | ||
| 171 | /// </summary> | ||
| 172 | public event EventHandler<PlanPackageCompleteEventArgs> PlanPackageComplete; | 110 | public event EventHandler<PlanPackageCompleteEventArgs> PlanPackageComplete; |
| 173 | 111 | ||
| 174 | /// <summary> | 112 | /// <inheritdoc/> |
| 175 | /// Fired when the engine has completed planning the installation. | ||
| 176 | /// </summary> | ||
| 177 | public event EventHandler<PlanCompleteEventArgs> PlanComplete; | 113 | public event EventHandler<PlanCompleteEventArgs> PlanComplete; |
| 178 | 114 | ||
| 179 | /// <summary> | 115 | /// <inheritdoc/> |
| 180 | /// Fired when the engine has begun installing the bundle. | ||
| 181 | /// </summary> | ||
| 182 | public event EventHandler<ApplyBeginEventArgs> ApplyBegin; | 116 | public event EventHandler<ApplyBeginEventArgs> ApplyBegin; |
| 183 | 117 | ||
| 184 | /// <summary> | 118 | /// <inheritdoc/> |
| 185 | /// Fired when the engine is about to start the elevated process. | ||
| 186 | /// </summary> | ||
| 187 | public event EventHandler<ElevateBeginEventArgs> ElevateBegin; | 119 | public event EventHandler<ElevateBeginEventArgs> ElevateBegin; |
| 188 | 120 | ||
| 189 | /// <summary> | 121 | /// <inheritdoc/> |
| 190 | /// Fired when the engine has completed starting the elevated process. | ||
| 191 | /// </summary> | ||
| 192 | public event EventHandler<ElevateCompleteEventArgs> ElevateComplete; | 122 | public event EventHandler<ElevateCompleteEventArgs> ElevateComplete; |
| 193 | 123 | ||
| 194 | /// <summary> | 124 | /// <inheritdoc/> |
| 195 | /// Fired when the engine has changed progress for the bundle installation. | ||
| 196 | /// </summary> | ||
| 197 | public event EventHandler<ProgressEventArgs> Progress; | 125 | public event EventHandler<ProgressEventArgs> Progress; |
| 198 | 126 | ||
| 199 | /// <summary> | 127 | /// <inheritdoc/> |
| 200 | /// Fired when the engine has encountered an error. | ||
| 201 | /// </summary> | ||
| 202 | public event EventHandler<ErrorEventArgs> Error; | 128 | public event EventHandler<ErrorEventArgs> Error; |
| 203 | 129 | ||
| 204 | /// <summary> | 130 | /// <inheritdoc/> |
| 205 | /// Fired when the engine has begun registering the location and visibility of the bundle. | ||
| 206 | /// </summary> | ||
| 207 | public event EventHandler<RegisterBeginEventArgs> RegisterBegin; | 131 | public event EventHandler<RegisterBeginEventArgs> RegisterBegin; |
| 208 | 132 | ||
| 209 | /// <summary> | 133 | /// <inheritdoc/> |
| 210 | /// Fired when the engine has completed registering the location and visibility of the bundle. | ||
| 211 | /// </summary> | ||
| 212 | public event EventHandler<RegisterCompleteEventArgs> RegisterComplete; | 134 | public event EventHandler<RegisterCompleteEventArgs> RegisterComplete; |
| 213 | 135 | ||
| 214 | /// <summary> | 136 | /// <inheritdoc/> |
| 215 | /// Fired when the engine has begun removing the registration for the location and visibility of the bundle. | ||
| 216 | /// </summary> | ||
| 217 | public event EventHandler<UnregisterBeginEventArgs> UnregisterBegin; | 137 | public event EventHandler<UnregisterBeginEventArgs> UnregisterBegin; |
| 218 | 138 | ||
| 219 | /// <summary> | 139 | /// <inheritdoc/> |
| 220 | /// Fired when the engine has completed removing the registration for the location and visibility of the bundle. | ||
| 221 | /// </summary> | ||
| 222 | public event EventHandler<UnregisterCompleteEventArgs> UnregisterComplete; | 140 | public event EventHandler<UnregisterCompleteEventArgs> UnregisterComplete; |
| 223 | 141 | ||
| 224 | /// <summary> | 142 | /// <inheritdoc/> |
| 225 | /// Fired when the engine has begun caching the installation sources. | ||
| 226 | /// </summary> | ||
| 227 | public event EventHandler<CacheBeginEventArgs> CacheBegin; | 143 | public event EventHandler<CacheBeginEventArgs> CacheBegin; |
| 228 | 144 | ||
| 229 | /// <summary> | 145 | /// <inheritdoc/> |
| 230 | /// Fired when the engine has begun caching a specific package. | ||
| 231 | /// </summary> | ||
| 232 | public event EventHandler<CachePackageBeginEventArgs> CachePackageBegin; | 146 | public event EventHandler<CachePackageBeginEventArgs> CachePackageBegin; |
| 233 | 147 | ||
| 234 | /// <summary> | 148 | /// <inheritdoc/> |
| 235 | /// Fired when the engine has begun acquiring the installation sources. | ||
| 236 | /// </summary> | ||
| 237 | public event EventHandler<CacheAcquireBeginEventArgs> CacheAcquireBegin; | 149 | public event EventHandler<CacheAcquireBeginEventArgs> CacheAcquireBegin; |
| 238 | 150 | ||
| 239 | /// <summary> | 151 | /// <inheritdoc/> |
| 240 | /// Fired when the engine has progress acquiring the installation sources. | ||
| 241 | /// </summary> | ||
| 242 | public event EventHandler<CacheAcquireProgressEventArgs> CacheAcquireProgress; | 152 | public event EventHandler<CacheAcquireProgressEventArgs> CacheAcquireProgress; |
| 243 | 153 | ||
| 244 | /// <summary> | 154 | /// <inheritdoc/> |
| 245 | /// Fired by the engine to allow the BA to change the source | ||
| 246 | /// using <see cref="M:Engine.SetLocalSource"/> or <see cref="M:Engine.SetDownloadSource"/>. | ||
| 247 | /// </summary> | ||
| 248 | public event EventHandler<ResolveSourceEventArgs> ResolveSource; | 155 | public event EventHandler<ResolveSourceEventArgs> ResolveSource; |
| 249 | 156 | ||
| 250 | /// <summary> | 157 | /// <inheritdoc/> |
| 251 | /// Fired when the engine has completed the acquisition of the installation sources. | ||
| 252 | /// </summary> | ||
| 253 | public event EventHandler<CacheAcquireCompleteEventArgs> CacheAcquireComplete; | 158 | public event EventHandler<CacheAcquireCompleteEventArgs> CacheAcquireComplete; |
| 254 | 159 | ||
| 255 | /// <summary> | 160 | /// <inheritdoc/> |
| 256 | /// Fired when the engine begins the verification of the acquired installation sources. | ||
| 257 | /// </summary> | ||
| 258 | public event EventHandler<CacheVerifyBeginEventArgs> CacheVerifyBegin; | 161 | public event EventHandler<CacheVerifyBeginEventArgs> CacheVerifyBegin; |
| 259 | 162 | ||
| 260 | /// <summary> | 163 | /// <inheritdoc/> |
| 261 | /// Fired when the engine complete the verification of the acquired installation sources. | ||
| 262 | /// </summary> | ||
| 263 | public event EventHandler<CacheVerifyCompleteEventArgs> CacheVerifyComplete; | 164 | public event EventHandler<CacheVerifyCompleteEventArgs> CacheVerifyComplete; |
| 264 | 165 | ||
| 265 | /// <summary> | 166 | /// <inheritdoc/> |
| 266 | /// Fired when the engine has completed caching a specific package. | ||
| 267 | /// </summary> | ||
| 268 | public event EventHandler<CachePackageCompleteEventArgs> CachePackageComplete; | 167 | public event EventHandler<CachePackageCompleteEventArgs> CachePackageComplete; |
| 269 | 168 | ||
| 270 | /// <summary> | 169 | /// <inheritdoc/> |
| 271 | /// Fired after the engine has cached the installation sources. | ||
| 272 | /// </summary> | ||
| 273 | public event EventHandler<CacheCompleteEventArgs> CacheComplete; | 170 | public event EventHandler<CacheCompleteEventArgs> CacheComplete; |
| 274 | 171 | ||
| 275 | /// <summary> | 172 | /// <inheritdoc/> |
| 276 | /// Fired when the engine has begun installing packages. | ||
| 277 | /// </summary> | ||
| 278 | public event EventHandler<ExecuteBeginEventArgs> ExecuteBegin; | 173 | public event EventHandler<ExecuteBeginEventArgs> ExecuteBegin; |
| 279 | 174 | ||
| 280 | /// <summary> | 175 | /// <inheritdoc/> |
| 281 | /// Fired when the engine has begun installing a specific package. | ||
| 282 | /// </summary> | ||
| 283 | public event EventHandler<ExecutePackageBeginEventArgs> ExecutePackageBegin; | 176 | public event EventHandler<ExecutePackageBeginEventArgs> ExecutePackageBegin; |
| 284 | 177 | ||
| 285 | /// <summary> | 178 | /// <inheritdoc/> |
| 286 | /// Fired when the engine executes one or more patches targeting a product. | ||
| 287 | /// </summary> | ||
| 288 | public event EventHandler<ExecutePatchTargetEventArgs> ExecutePatchTarget; | 179 | public event EventHandler<ExecutePatchTargetEventArgs> ExecutePatchTarget; |
| 289 | 180 | ||
| 290 | /// <summary> | 181 | /// <inheritdoc/> |
| 291 | /// Fired when Windows Installer sends an installation message. | ||
| 292 | /// </summary> | ||
| 293 | public event EventHandler<ExecuteMsiMessageEventArgs> ExecuteMsiMessage; | 182 | public event EventHandler<ExecuteMsiMessageEventArgs> ExecuteMsiMessage; |
| 294 | 183 | ||
| 295 | /// <summary> | 184 | /// <inheritdoc/> |
| 296 | /// Fired when Windows Installer sends a files in use installation message. | ||
| 297 | /// </summary> | ||
| 298 | public event EventHandler<ExecuteFilesInUseEventArgs> ExecuteFilesInUse; | 185 | public event EventHandler<ExecuteFilesInUseEventArgs> ExecuteFilesInUse; |
| 299 | 186 | ||
| 300 | /// <summary> | 187 | /// <inheritdoc/> |
| 301 | /// Fired when the engine has completed installing a specific package. | ||
| 302 | /// </summary> | ||
| 303 | public event EventHandler<ExecutePackageCompleteEventArgs> ExecutePackageComplete; | 188 | public event EventHandler<ExecutePackageCompleteEventArgs> ExecutePackageComplete; |
| 304 | 189 | ||
| 305 | /// <summary> | 190 | /// <inheritdoc/> |
| 306 | /// Fired when the engine has completed installing packages. | ||
| 307 | /// </summary> | ||
| 308 | public event EventHandler<ExecuteCompleteEventArgs> ExecuteComplete; | 191 | public event EventHandler<ExecuteCompleteEventArgs> ExecuteComplete; |
| 309 | 192 | ||
| 310 | /// <summary> | 193 | /// <inheritdoc/> |
| 311 | /// Fired when the engine has completed installing the bundle. | ||
| 312 | /// </summary> | ||
| 313 | public event EventHandler<ApplyCompleteEventArgs> ApplyComplete; | 194 | public event EventHandler<ApplyCompleteEventArgs> ApplyComplete; |
| 314 | 195 | ||
| 315 | /// <summary> | 196 | /// <inheritdoc/> |
| 316 | /// Fired by the engine while executing on payload. | ||
| 317 | /// </summary> | ||
| 318 | public event EventHandler<ExecuteProgressEventArgs> ExecuteProgress; | 197 | public event EventHandler<ExecuteProgressEventArgs> ExecuteProgress; |
| 319 | 198 | ||
| 320 | /// <summary> | 199 | /// <inheritdoc/> |
| 321 | /// Fired when the engine is about to launch the preapproved executable. | ||
| 322 | /// </summary> | ||
| 323 | public event EventHandler<LaunchApprovedExeBeginEventArgs> LaunchApprovedExeBegin; | 200 | public event EventHandler<LaunchApprovedExeBeginEventArgs> LaunchApprovedExeBegin; |
| 324 | 201 | ||
| 325 | /// <summary> | 202 | /// <inheritdoc/> |
| 326 | /// Fired when the engine has completed launching the preapproved executable. | ||
| 327 | /// </summary> | ||
| 328 | public event EventHandler<LaunchApprovedExeCompleteEventArgs> LaunchApprovedExeComplete; | 203 | public event EventHandler<LaunchApprovedExeCompleteEventArgs> LaunchApprovedExeComplete; |
| 329 | 204 | ||
| 330 | /// <summary> | 205 | /// <inheritdoc/> |
| 331 | /// Fired when the engine is about to begin an MSI transaction. | ||
| 332 | /// </summary> | ||
| 333 | public event EventHandler<BeginMsiTransactionBeginEventArgs> BeginMsiTransactionBegin; | 206 | public event EventHandler<BeginMsiTransactionBeginEventArgs> BeginMsiTransactionBegin; |
| 334 | 207 | ||
| 335 | /// <summary> | 208 | /// <inheritdoc/> |
| 336 | /// Fired when the engine has completed beginning an MSI transaction. | ||
| 337 | /// </summary> | ||
| 338 | public event EventHandler<BeginMsiTransactionCompleteEventArgs> BeginMsiTransactionComplete; | 209 | public event EventHandler<BeginMsiTransactionCompleteEventArgs> BeginMsiTransactionComplete; |
| 339 | 210 | ||
| 340 | /// <summary> | 211 | /// <inheritdoc/> |
| 341 | /// Fired when the engine is about to commit an MSI transaction. | ||
| 342 | /// </summary> | ||
| 343 | public event EventHandler<CommitMsiTransactionBeginEventArgs> CommitMsiTransactionBegin; | 212 | public event EventHandler<CommitMsiTransactionBeginEventArgs> CommitMsiTransactionBegin; |
| 344 | 213 | ||
| 345 | /// <summary> | 214 | /// <inheritdoc/> |
| 346 | /// Fired when the engine has completed comitting an MSI transaction. | ||
| 347 | /// </summary> | ||
| 348 | public event EventHandler<CommitMsiTransactionCompleteEventArgs> CommitMsiTransactionComplete; | 215 | public event EventHandler<CommitMsiTransactionCompleteEventArgs> CommitMsiTransactionComplete; |
| 349 | 216 | ||
| 350 | /// <summary> | 217 | /// <inheritdoc/> |
| 351 | /// Fired when the engine is about to rollback an MSI transaction. | ||
| 352 | /// </summary> | ||
| 353 | public event EventHandler<RollbackMsiTransactionBeginEventArgs> RollbackMsiTransactionBegin; | 218 | public event EventHandler<RollbackMsiTransactionBeginEventArgs> RollbackMsiTransactionBegin; |
| 354 | 219 | ||
| 355 | /// <summary> | 220 | /// <inheritdoc/> |
| 356 | /// Fired when the engine has completed rolling back an MSI transaction. | ||
| 357 | /// </summary> | ||
| 358 | public event EventHandler<RollbackMsiTransactionCompleteEventArgs> RollbackMsiTransactionComplete; | 221 | public event EventHandler<RollbackMsiTransactionCompleteEventArgs> RollbackMsiTransactionComplete; |
| 359 | 222 | ||
| 360 | /// <summary> | 223 | /// <inheritdoc/> |
| 361 | /// Fired when the engine is about to pause Windows automatic updates. | ||
| 362 | /// </summary> | ||
| 363 | public event EventHandler<PauseAutomaticUpdatesBeginEventArgs> PauseAutomaticUpdatesBegin; | 224 | public event EventHandler<PauseAutomaticUpdatesBeginEventArgs> PauseAutomaticUpdatesBegin; |
| 364 | 225 | ||
| 365 | /// <summary> | 226 | /// <inheritdoc/> |
| 366 | /// Fired when the engine has completed pausing Windows automatic updates. | ||
| 367 | /// </summary> | ||
| 368 | public event EventHandler<PauseAutomaticUpdatesCompleteEventArgs> PauseAutomaticUpdatesComplete; | 227 | public event EventHandler<PauseAutomaticUpdatesCompleteEventArgs> PauseAutomaticUpdatesComplete; |
| 369 | 228 | ||
| 370 | /// <summary> | 229 | /// <inheritdoc/> |
| 371 | /// Fired when the engine is about to take a system restore point. | ||
| 372 | /// </summary> | ||
| 373 | public event EventHandler<SystemRestorePointBeginEventArgs> SystemRestorePointBegin; | 230 | public event EventHandler<SystemRestorePointBeginEventArgs> SystemRestorePointBegin; |
| 374 | 231 | ||
| 375 | /// <summary> | 232 | /// <inheritdoc/> |
| 376 | /// Fired when the engine has completed taking a system restore point. | ||
| 377 | /// </summary> | ||
| 378 | public event EventHandler<SystemRestorePointCompleteEventArgs> SystemRestorePointComplete; | 233 | public event EventHandler<SystemRestorePointCompleteEventArgs> SystemRestorePointComplete; |
| 379 | 234 | ||
| 380 | /// <summary> | 235 | /// <summary> |
| @@ -383,7 +238,7 @@ namespace WixToolset.Mba.Core | |||
| 383 | protected abstract void Run(); | 238 | protected abstract void Run(); |
| 384 | 239 | ||
| 385 | /// <summary> | 240 | /// <summary> |
| 386 | /// Called by the engine on startup of the bootstrapper application. | 241 | /// Called by the engine, raises the <see cref="Startup"/> event. |
| 387 | /// </summary> | 242 | /// </summary> |
| 388 | /// <param name="args">Additional arguments for this event.</param> | 243 | /// <param name="args">Additional arguments for this event.</param> |
| 389 | protected virtual void OnStartup(StartupEventArgs args) | 244 | protected virtual void OnStartup(StartupEventArgs args) |
| @@ -410,7 +265,7 @@ namespace WixToolset.Mba.Core | |||
| 410 | } | 265 | } |
| 411 | 266 | ||
| 412 | /// <summary> | 267 | /// <summary> |
| 413 | /// Called by the engine to uninitialize the BA. | 268 | /// Called by the engine, raises the <see cref="Shutdown"/> event. |
| 414 | /// </summary> | 269 | /// </summary> |
| 415 | /// <param name="args">Additional arguments for this event.</param> | 270 | /// <param name="args">Additional arguments for this event.</param> |
| 416 | protected virtual void OnShutdown(ShutdownEventArgs args) | 271 | protected virtual void OnShutdown(ShutdownEventArgs args) |
| @@ -423,21 +278,9 @@ namespace WixToolset.Mba.Core | |||
| 423 | } | 278 | } |
| 424 | 279 | ||
| 425 | /// <summary> | 280 | /// <summary> |
| 426 | /// Called when the system is shutting down or the user is logging off. | 281 | /// Called by the engine, raises the <see cref="SystemShutdown"/> event. |
| 427 | /// </summary> | 282 | /// </summary> |
| 428 | /// <param name="args">Additional arguments for this event.</param> | 283 | /// <param name="args">Additional arguments for this event.</param> |
| 429 | /// <remarks> | ||
| 430 | /// <para>To prevent shutting down or logging off, set <see cref="CancellableHResultEventArgs.Cancel"/> to | ||
| 431 | /// true; otherwise, set it to false.</para> | ||
| 432 | /// <para>By default setup will prevent shutting down or logging off between | ||
| 433 | /// <see cref="BootstrapperApplication.ApplyBegin"/> and <see cref="BootstrapperApplication.ApplyComplete"/>. | ||
| 434 | /// Derivatives can change this behavior by overriding <see cref="BootstrapperApplication.OnSystemShutdown"/> | ||
| 435 | /// or handling <see cref="BootstrapperApplication.SystemShutdown"/>.</para> | ||
| 436 | /// <para>If <see cref="SystemShutdownEventArgs.Reasons"/> contains <see cref="EndSessionReasons.Critical"/> | ||
| 437 | /// the bootstrapper cannot prevent the shutdown and only has a few seconds to save state or perform any other | ||
| 438 | /// critical operations before being closed by the operating system.</para> | ||
| 439 | /// <para>This method may be called on a different thread.</para> | ||
| 440 | /// </remarks> | ||
| 441 | protected virtual void OnSystemShutdown(SystemShutdownEventArgs args) | 284 | protected virtual void OnSystemShutdown(SystemShutdownEventArgs args) |
| 442 | { | 285 | { |
| 443 | EventHandler<SystemShutdownEventArgs> handler = this.SystemShutdown; | 286 | EventHandler<SystemShutdownEventArgs> handler = this.SystemShutdown; |
| @@ -454,7 +297,7 @@ namespace WixToolset.Mba.Core | |||
| 454 | } | 297 | } |
| 455 | 298 | ||
| 456 | /// <summary> | 299 | /// <summary> |
| 457 | /// Called when the overall detection phase has begun. | 300 | /// Called by the engine, raises the <see cref="DetectBegin"/> event. |
| 458 | /// </summary> | 301 | /// </summary> |
| 459 | /// <param name="args">Additional arguments for this event.</param> | 302 | /// <param name="args">Additional arguments for this event.</param> |
| 460 | protected virtual void OnDetectBegin(DetectBeginEventArgs args) | 303 | protected virtual void OnDetectBegin(DetectBeginEventArgs args) |
| @@ -467,7 +310,7 @@ namespace WixToolset.Mba.Core | |||
| 467 | } | 310 | } |
| 468 | 311 | ||
| 469 | /// <summary> | 312 | /// <summary> |
| 470 | /// Called when the update detection phase has begun. | 313 | /// Called by the engine, raises the <see cref="DetectForwardCompatibleBundle"/> event. |
| 471 | /// </summary> | 314 | /// </summary> |
| 472 | /// <param name="args">Additional arguments for this event.</param> | 315 | /// <param name="args">Additional arguments for this event.</param> |
| 473 | protected virtual void OnDetectForwardCompatibleBundle(DetectForwardCompatibleBundleEventArgs args) | 316 | protected virtual void OnDetectForwardCompatibleBundle(DetectForwardCompatibleBundleEventArgs args) |
| @@ -480,7 +323,7 @@ namespace WixToolset.Mba.Core | |||
| 480 | } | 323 | } |
| 481 | 324 | ||
| 482 | /// <summary> | 325 | /// <summary> |
| 483 | /// Called when the update detection phase has begun. | 326 | /// Called by the engine, raises the <see cref="DetectUpdateBegin"/> event. |
| 484 | /// </summary> | 327 | /// </summary> |
| 485 | /// <param name="args">Additional arguments for this event.</param> | 328 | /// <param name="args">Additional arguments for this event.</param> |
| 486 | protected virtual void OnDetectUpdateBegin(DetectUpdateBeginEventArgs args) | 329 | protected virtual void OnDetectUpdateBegin(DetectUpdateBeginEventArgs args) |
| @@ -493,7 +336,7 @@ namespace WixToolset.Mba.Core | |||
| 493 | } | 336 | } |
| 494 | 337 | ||
| 495 | /// <summary> | 338 | /// <summary> |
| 496 | /// Fired when the update detection has found a potential update candidate. | 339 | /// Called by the engine, raises the <see cref="DetectUpdate"/> event. |
| 497 | /// </summary> | 340 | /// </summary> |
| 498 | /// <param name="args">Additional arguments for this event.</param> | 341 | /// <param name="args">Additional arguments for this event.</param> |
| 499 | protected virtual void OnDetectUpdate(DetectUpdateEventArgs args) | 342 | protected virtual void OnDetectUpdate(DetectUpdateEventArgs args) |
| @@ -506,7 +349,7 @@ namespace WixToolset.Mba.Core | |||
| 506 | } | 349 | } |
| 507 | 350 | ||
| 508 | /// <summary> | 351 | /// <summary> |
| 509 | /// Called when the update detection phase has completed. | 352 | /// Called by the engine, raises the <see cref="DetectUpdateComplete"/> event. |
| 510 | /// </summary> | 353 | /// </summary> |
| 511 | /// <param name="args">Additional arguments for this event.</param> | 354 | /// <param name="args">Additional arguments for this event.</param> |
| 512 | protected virtual void OnDetectUpdateComplete(DetectUpdateCompleteEventArgs args) | 355 | protected virtual void OnDetectUpdateComplete(DetectUpdateCompleteEventArgs args) |
| @@ -519,7 +362,7 @@ namespace WixToolset.Mba.Core | |||
| 519 | } | 362 | } |
| 520 | 363 | ||
| 521 | /// <summary> | 364 | /// <summary> |
| 522 | /// Called when a related bundle has been detected for a bundle. | 365 | /// Called by the engine, raises the <see cref="DetectRelatedBundle"/> event. |
| 523 | /// </summary> | 366 | /// </summary> |
| 524 | /// <param name="args">Additional arguments for this event.</param> | 367 | /// <param name="args">Additional arguments for this event.</param> |
| 525 | protected virtual void OnDetectRelatedBundle(DetectRelatedBundleEventArgs args) | 368 | protected virtual void OnDetectRelatedBundle(DetectRelatedBundleEventArgs args) |
| @@ -532,7 +375,7 @@ namespace WixToolset.Mba.Core | |||
| 532 | } | 375 | } |
| 533 | 376 | ||
| 534 | /// <summary> | 377 | /// <summary> |
| 535 | /// Called when the detection for a specific package has begun. | 378 | /// Called by the engine, raises the <see cref="DetectPackageBegin"/> event. |
| 536 | /// </summary> | 379 | /// </summary> |
| 537 | /// <param name="args">Additional arguments for this event.</param> | 380 | /// <param name="args">Additional arguments for this event.</param> |
| 538 | protected virtual void OnDetectPackageBegin(DetectPackageBeginEventArgs args) | 381 | protected virtual void OnDetectPackageBegin(DetectPackageBeginEventArgs args) |
| @@ -545,7 +388,7 @@ namespace WixToolset.Mba.Core | |||
| 545 | } | 388 | } |
| 546 | 389 | ||
| 547 | /// <summary> | 390 | /// <summary> |
| 548 | /// Called when a package was not detected but a package using the same provider key was. | 391 | /// Called by the engine, raises the <see cref="DetectCompatibleMsiPackage"/> event. |
| 549 | /// </summary> | 392 | /// </summary> |
| 550 | /// <param name="args">Additional arguments for this event.</param> | 393 | /// <param name="args">Additional arguments for this event.</param> |
| 551 | protected virtual void OnDetectCompatibleMsiPackage(DetectCompatibleMsiPackageEventArgs args) | 394 | protected virtual void OnDetectCompatibleMsiPackage(DetectCompatibleMsiPackageEventArgs args) |
| @@ -558,7 +401,7 @@ namespace WixToolset.Mba.Core | |||
| 558 | } | 401 | } |
| 559 | 402 | ||
| 560 | /// <summary> | 403 | /// <summary> |
| 561 | /// Called when a related MSI package has been detected for a package. | 404 | /// Called by the engine, raises the <see cref="DetectRelatedMsiPackage"/> event. |
| 562 | /// </summary> | 405 | /// </summary> |
| 563 | /// <param name="args">Additional arguments for this event.</param> | 406 | /// <param name="args">Additional arguments for this event.</param> |
| 564 | protected virtual void OnDetectRelatedMsiPackage(DetectRelatedMsiPackageEventArgs args) | 407 | protected virtual void OnDetectRelatedMsiPackage(DetectRelatedMsiPackageEventArgs args) |
| @@ -571,7 +414,7 @@ namespace WixToolset.Mba.Core | |||
| 571 | } | 414 | } |
| 572 | 415 | ||
| 573 | /// <summary> | 416 | /// <summary> |
| 574 | /// Called when an MSP package detects a target MSI has been detected. | 417 | /// Called by the engine, raises the <see cref="DetectTargetMsiPackage"/> event. |
| 575 | /// </summary> | 418 | /// </summary> |
| 576 | /// <param name="args">Additional arguments for this event.</param> | 419 | /// <param name="args">Additional arguments for this event.</param> |
| 577 | protected virtual void OnDetectTargetMsiPackage(DetectTargetMsiPackageEventArgs args) | 420 | protected virtual void OnDetectTargetMsiPackage(DetectTargetMsiPackageEventArgs args) |
| @@ -584,7 +427,7 @@ namespace WixToolset.Mba.Core | |||
| 584 | } | 427 | } |
| 585 | 428 | ||
| 586 | /// <summary> | 429 | /// <summary> |
| 587 | /// Called when an MSI feature has been detected for a package. | 430 | /// Called by the engine, raises the <see cref="DetectMsiFeature"/> event. |
| 588 | /// </summary> | 431 | /// </summary> |
| 589 | /// <param name="args">Additional arguments for this event.</param> | 432 | /// <param name="args">Additional arguments for this event.</param> |
| 590 | protected virtual void OnDetectMsiFeature(DetectMsiFeatureEventArgs args) | 433 | protected virtual void OnDetectMsiFeature(DetectMsiFeatureEventArgs args) |
| @@ -597,7 +440,7 @@ namespace WixToolset.Mba.Core | |||
| 597 | } | 440 | } |
| 598 | 441 | ||
| 599 | /// <summary> | 442 | /// <summary> |
| 600 | /// Called when the detection for a specific package has completed. | 443 | /// Called by the engine, raises the <see cref="DetectPackageComplete"/> event. |
| 601 | /// </summary> | 444 | /// </summary> |
| 602 | /// <param name="args">Additional arguments for this event.</param> | 445 | /// <param name="args">Additional arguments for this event.</param> |
| 603 | protected virtual void OnDetectPackageComplete(DetectPackageCompleteEventArgs args) | 446 | protected virtual void OnDetectPackageComplete(DetectPackageCompleteEventArgs args) |
| @@ -610,7 +453,7 @@ namespace WixToolset.Mba.Core | |||
| 610 | } | 453 | } |
| 611 | 454 | ||
| 612 | /// <summary> | 455 | /// <summary> |
| 613 | /// Called when the detection phase has completed. | 456 | /// Called by the engine, raises the <see cref="DetectComplete"/> event. |
| 614 | /// </summary> | 457 | /// </summary> |
| 615 | /// <param name="args">Additional arguments for this event.</param> | 458 | /// <param name="args">Additional arguments for this event.</param> |
| 616 | protected virtual void OnDetectComplete(DetectCompleteEventArgs args) | 459 | protected virtual void OnDetectComplete(DetectCompleteEventArgs args) |
| @@ -623,7 +466,7 @@ namespace WixToolset.Mba.Core | |||
| 623 | } | 466 | } |
| 624 | 467 | ||
| 625 | /// <summary> | 468 | /// <summary> |
| 626 | /// Called when the engine has begun planning the installation. | 469 | /// Called by the engine, raises the <see cref="PlanBegin"/> event. |
| 627 | /// </summary> | 470 | /// </summary> |
| 628 | /// <param name="args">Additional arguments for this event.</param> | 471 | /// <param name="args">Additional arguments for this event.</param> |
| 629 | protected virtual void OnPlanBegin(PlanBeginEventArgs args) | 472 | protected virtual void OnPlanBegin(PlanBeginEventArgs args) |
| @@ -636,7 +479,7 @@ namespace WixToolset.Mba.Core | |||
| 636 | } | 479 | } |
| 637 | 480 | ||
| 638 | /// <summary> | 481 | /// <summary> |
| 639 | /// Called when the engine has begun planning for a prior bundle. | 482 | /// Called by the engine, raises the <see cref="PlanRelatedBundle"/> event. |
| 640 | /// </summary> | 483 | /// </summary> |
| 641 | /// <param name="args">Additional arguments for this event.</param> | 484 | /// <param name="args">Additional arguments for this event.</param> |
| 642 | protected virtual void OnPlanRelatedBundle(PlanRelatedBundleEventArgs args) | 485 | protected virtual void OnPlanRelatedBundle(PlanRelatedBundleEventArgs args) |
| @@ -649,7 +492,7 @@ namespace WixToolset.Mba.Core | |||
| 649 | } | 492 | } |
| 650 | 493 | ||
| 651 | /// <summary> | 494 | /// <summary> |
| 652 | /// Called when the engine has begun planning the installation of a specific package. | 495 | /// Called by the engine, raises the <see cref="PlanPackageBegin"/> event. |
| 653 | /// </summary> | 496 | /// </summary> |
| 654 | /// <param name="args">Additional arguments for this event.</param> | 497 | /// <param name="args">Additional arguments for this event.</param> |
| 655 | protected virtual void OnPlanPackageBegin(PlanPackageBeginEventArgs args) | 498 | protected virtual void OnPlanPackageBegin(PlanPackageBeginEventArgs args) |
| @@ -662,7 +505,7 @@ namespace WixToolset.Mba.Core | |||
| 662 | } | 505 | } |
| 663 | 506 | ||
| 664 | /// <summary> | 507 | /// <summary> |
| 665 | /// Called when the engine plans a new, compatible package using the same provider key. | 508 | /// Called by the engine, raises the <see cref="PlanCompatibleMsiPackageBegin"/> event. |
| 666 | /// </summary> | 509 | /// </summary> |
| 667 | /// <param name="args">Additional arguments for this event.</param> | 510 | /// <param name="args">Additional arguments for this event.</param> |
| 668 | protected virtual void OnPlanCompatibleMsiPackageBegin(PlanCompatibleMsiPackageBeginEventArgs args) | 511 | protected virtual void OnPlanCompatibleMsiPackageBegin(PlanCompatibleMsiPackageBeginEventArgs args) |
| @@ -675,7 +518,7 @@ namespace WixToolset.Mba.Core | |||
| 675 | } | 518 | } |
| 676 | 519 | ||
| 677 | /// <summary> | 520 | /// <summary> |
| 678 | /// Called when the engine has completed planning the installation of a specific package. | 521 | /// Called by the engine, raises the <see cref="PlanCompatibleMsiPackageComplete"/> event. |
| 679 | /// </summary> | 522 | /// </summary> |
| 680 | /// <param name="args">Additional arguments for this event.</param> | 523 | /// <param name="args">Additional arguments for this event.</param> |
| 681 | protected virtual void OnPlanCompatibleMsiPackageComplete(PlanCompatibleMsiPackageCompleteEventArgs args) | 524 | protected virtual void OnPlanCompatibleMsiPackageComplete(PlanCompatibleMsiPackageCompleteEventArgs args) |
| @@ -688,7 +531,7 @@ namespace WixToolset.Mba.Core | |||
| 688 | } | 531 | } |
| 689 | 532 | ||
| 690 | /// <summary> | 533 | /// <summary> |
| 691 | /// Called when the engine is about to plan the target MSI of a MSP package. | 534 | /// Called by the engine, raises the <see cref="PlanTargetMsiPackage"/> event. |
| 692 | /// </summary> | 535 | /// </summary> |
| 693 | /// <param name="args">Additional arguments for this event.</param> | 536 | /// <param name="args">Additional arguments for this event.</param> |
| 694 | protected virtual void OnPlanTargetMsiPackage(PlanTargetMsiPackageEventArgs args) | 537 | protected virtual void OnPlanTargetMsiPackage(PlanTargetMsiPackageEventArgs args) |
| @@ -701,7 +544,7 @@ namespace WixToolset.Mba.Core | |||
| 701 | } | 544 | } |
| 702 | 545 | ||
| 703 | /// <summary> | 546 | /// <summary> |
| 704 | /// Called when the engine is about to plan an MSI feature of a specific package. | 547 | /// Called by the engine, raises the <see cref="PlanMsiFeature"/> event. |
| 705 | /// </summary> | 548 | /// </summary> |
| 706 | /// <param name="args">Additional arguments for this event.</param> | 549 | /// <param name="args">Additional arguments for this event.</param> |
| 707 | protected virtual void OnPlanMsiFeature(PlanMsiFeatureEventArgs args) | 550 | protected virtual void OnPlanMsiFeature(PlanMsiFeatureEventArgs args) |
| @@ -714,7 +557,7 @@ namespace WixToolset.Mba.Core | |||
| 714 | } | 557 | } |
| 715 | 558 | ||
| 716 | /// <summary> | 559 | /// <summary> |
| 717 | /// Called when the engine is planning an MSI or MSP package. | 560 | /// Called by the engine, raises the <see cref="PlanMsiPackage"/> event. |
| 718 | /// </summary> | 561 | /// </summary> |
| 719 | /// <param name="args">Additional arguments for this event.</param> | 562 | /// <param name="args">Additional arguments for this event.</param> |
| 720 | protected virtual void OnPlanMsiPackage(PlanMsiPackageEventArgs args) | 563 | protected virtual void OnPlanMsiPackage(PlanMsiPackageEventArgs args) |
| @@ -727,7 +570,7 @@ namespace WixToolset.Mba.Core | |||
| 727 | } | 570 | } |
| 728 | 571 | ||
| 729 | /// <summary> | 572 | /// <summary> |
| 730 | /// Called when then engine has completed planning the installation of a specific package. | 573 | /// Called by the engine, raises the <see cref="PlanPackageComplete"/> event. |
| 731 | /// </summary> | 574 | /// </summary> |
| 732 | /// <param name="args">Additional arguments for this event.</param> | 575 | /// <param name="args">Additional arguments for this event.</param> |
| 733 | protected virtual void OnPlanPackageComplete(PlanPackageCompleteEventArgs args) | 576 | protected virtual void OnPlanPackageComplete(PlanPackageCompleteEventArgs args) |
| @@ -740,7 +583,7 @@ namespace WixToolset.Mba.Core | |||
| 740 | } | 583 | } |
| 741 | 584 | ||
| 742 | /// <summary> | 585 | /// <summary> |
| 743 | /// Called when the engine has completed planning the installation. | 586 | /// Called by the engine, raises the <see cref="PlanComplete"/> event. |
| 744 | /// </summary> | 587 | /// </summary> |
| 745 | /// <param name="args">Additional arguments for this event.</param> | 588 | /// <param name="args">Additional arguments for this event.</param> |
| 746 | protected virtual void OnPlanComplete(PlanCompleteEventArgs args) | 589 | protected virtual void OnPlanComplete(PlanCompleteEventArgs args) |
| @@ -753,7 +596,7 @@ namespace WixToolset.Mba.Core | |||
| 753 | } | 596 | } |
| 754 | 597 | ||
| 755 | /// <summary> | 598 | /// <summary> |
| 756 | /// Called when the engine has begun installing the bundle. | 599 | /// Called by the engine, raises the <see cref="ApplyBegin"/> event. |
| 757 | /// </summary> | 600 | /// </summary> |
| 758 | /// <param name="args">Additional arguments for this event.</param> | 601 | /// <param name="args">Additional arguments for this event.</param> |
| 759 | protected virtual void OnApplyBegin(ApplyBeginEventArgs args) | 602 | protected virtual void OnApplyBegin(ApplyBeginEventArgs args) |
| @@ -766,7 +609,7 @@ namespace WixToolset.Mba.Core | |||
| 766 | } | 609 | } |
| 767 | 610 | ||
| 768 | /// <summary> | 611 | /// <summary> |
| 769 | /// Called when the engine is about to start the elevated process. | 612 | /// Called by the engine, raises the <see cref="ElevateBegin"/> event. |
| 770 | /// </summary> | 613 | /// </summary> |
| 771 | /// <param name="args">Additional arguments for this event.</param> | 614 | /// <param name="args">Additional arguments for this event.</param> |
| 772 | protected virtual void OnElevateBegin(ElevateBeginEventArgs args) | 615 | protected virtual void OnElevateBegin(ElevateBeginEventArgs args) |
| @@ -779,7 +622,7 @@ namespace WixToolset.Mba.Core | |||
| 779 | } | 622 | } |
| 780 | 623 | ||
| 781 | /// <summary> | 624 | /// <summary> |
| 782 | /// Called when the engine has completed starting the elevated process. | 625 | /// Called by the engine, raises the <see cref="ElevateComplete"/> event. |
| 783 | /// </summary> | 626 | /// </summary> |
| 784 | /// <param name="args">Additional arguments for this event.</param> | 627 | /// <param name="args">Additional arguments for this event.</param> |
| 785 | protected virtual void OnElevateComplete(ElevateCompleteEventArgs args) | 628 | protected virtual void OnElevateComplete(ElevateCompleteEventArgs args) |
| @@ -792,7 +635,7 @@ namespace WixToolset.Mba.Core | |||
| 792 | } | 635 | } |
| 793 | 636 | ||
| 794 | /// <summary> | 637 | /// <summary> |
| 795 | /// Called when the engine has changed progress for the bundle installation. | 638 | /// Called by the engine, raises the <see cref="Progress"/> event. |
| 796 | /// </summary> | 639 | /// </summary> |
| 797 | /// <param name="args">Additional arguments for this event.</param> | 640 | /// <param name="args">Additional arguments for this event.</param> |
| 798 | protected virtual void OnProgress(ProgressEventArgs args) | 641 | protected virtual void OnProgress(ProgressEventArgs args) |
| @@ -805,7 +648,7 @@ namespace WixToolset.Mba.Core | |||
| 805 | } | 648 | } |
| 806 | 649 | ||
| 807 | /// <summary> | 650 | /// <summary> |
| 808 | /// Called when the engine has encountered an error. | 651 | /// Called by the engine, raises the <see cref="Error"/> event. |
| 809 | /// </summary> | 652 | /// </summary> |
| 810 | /// <param name="args">Additional arguments for this event.</param> | 653 | /// <param name="args">Additional arguments for this event.</param> |
| 811 | protected virtual void OnError(ErrorEventArgs args) | 654 | protected virtual void OnError(ErrorEventArgs args) |
| @@ -818,7 +661,7 @@ namespace WixToolset.Mba.Core | |||
| 818 | } | 661 | } |
| 819 | 662 | ||
| 820 | /// <summary> | 663 | /// <summary> |
| 821 | /// Called when the engine has begun registering the location and visibility of the bundle. | 664 | /// Called by the engine, raises the <see cref="RegisterBegin"/> event. |
| 822 | /// </summary> | 665 | /// </summary> |
| 823 | /// <param name="args">Additional arguments for this event.</param> | 666 | /// <param name="args">Additional arguments for this event.</param> |
| 824 | protected virtual void OnRegisterBegin(RegisterBeginEventArgs args) | 667 | protected virtual void OnRegisterBegin(RegisterBeginEventArgs args) |
| @@ -831,7 +674,7 @@ namespace WixToolset.Mba.Core | |||
| 831 | } | 674 | } |
| 832 | 675 | ||
| 833 | /// <summary> | 676 | /// <summary> |
| 834 | /// Called when the engine has completed registering the location and visilibity of the bundle. | 677 | /// Called by the engine, raises the <see cref="RegisterComplete"/> event. |
| 835 | /// </summary> | 678 | /// </summary> |
| 836 | /// <param name="args">Additional arguments for this event.</param> | 679 | /// <param name="args">Additional arguments for this event.</param> |
| 837 | protected virtual void OnRegisterComplete(RegisterCompleteEventArgs args) | 680 | protected virtual void OnRegisterComplete(RegisterCompleteEventArgs args) |
| @@ -844,7 +687,7 @@ namespace WixToolset.Mba.Core | |||
| 844 | } | 687 | } |
| 845 | 688 | ||
| 846 | /// <summary> | 689 | /// <summary> |
| 847 | /// Called when the engine has begun removing the registration for the location and visibility of the bundle. | 690 | /// Called by the engine, raises the <see cref="UnregisterBegin"/> event. |
| 848 | /// </summary> | 691 | /// </summary> |
| 849 | /// <param name="args">Additional arguments for this event.</param> | 692 | /// <param name="args">Additional arguments for this event.</param> |
| 850 | protected virtual void OnUnregisterBegin(UnregisterBeginEventArgs args) | 693 | protected virtual void OnUnregisterBegin(UnregisterBeginEventArgs args) |
| @@ -857,7 +700,7 @@ namespace WixToolset.Mba.Core | |||
| 857 | } | 700 | } |
| 858 | 701 | ||
| 859 | /// <summary> | 702 | /// <summary> |
| 860 | /// Called when the engine has completed removing the registration for the location and visibility of the bundle. | 703 | /// Called by the engine, raises the <see cref="UnregisterComplete"/> event. |
| 861 | /// </summary> | 704 | /// </summary> |
| 862 | /// <param name="args">Additional arguments for this event.</param> | 705 | /// <param name="args">Additional arguments for this event.</param> |
| 863 | protected virtual void OnUnregisterComplete(UnregisterCompleteEventArgs args) | 706 | protected virtual void OnUnregisterComplete(UnregisterCompleteEventArgs args) |
| @@ -870,7 +713,7 @@ namespace WixToolset.Mba.Core | |||
| 870 | } | 713 | } |
| 871 | 714 | ||
| 872 | /// <summary> | 715 | /// <summary> |
| 873 | /// Called when the engine begins to cache the installation sources. | 716 | /// Called by the engine, raises the <see cref="CacheBegin"/> event. |
| 874 | /// </summary> | 717 | /// </summary> |
| 875 | /// <param name="args"></param> | 718 | /// <param name="args"></param> |
| 876 | protected virtual void OnCacheBegin(CacheBeginEventArgs args) | 719 | protected virtual void OnCacheBegin(CacheBeginEventArgs args) |
| @@ -883,7 +726,7 @@ namespace WixToolset.Mba.Core | |||
| 883 | } | 726 | } |
| 884 | 727 | ||
| 885 | /// <summary> | 728 | /// <summary> |
| 886 | /// Called by the engine when it begins to cache a specific package. | 729 | /// Called by the engine, raises the <see cref="CachePackageBegin"/> event. |
| 887 | /// </summary> | 730 | /// </summary> |
| 888 | /// <param name="args"></param> | 731 | /// <param name="args"></param> |
| 889 | protected virtual void OnCachePackageBegin(CachePackageBeginEventArgs args) | 732 | protected virtual void OnCachePackageBegin(CachePackageBeginEventArgs args) |
| @@ -896,7 +739,7 @@ namespace WixToolset.Mba.Core | |||
| 896 | } | 739 | } |
| 897 | 740 | ||
| 898 | /// <summary> | 741 | /// <summary> |
| 899 | /// Called when the engine begins to cache the container or payload. | 742 | /// Called by the engine, raises the <see cref="CacheAcquireBegin"/> event. |
| 900 | /// </summary> | 743 | /// </summary> |
| 901 | /// <param name="args"></param> | 744 | /// <param name="args"></param> |
| 902 | protected virtual void OnCacheAcquireBegin(CacheAcquireBeginEventArgs args) | 745 | protected virtual void OnCacheAcquireBegin(CacheAcquireBeginEventArgs args) |
| @@ -909,7 +752,7 @@ namespace WixToolset.Mba.Core | |||
| 909 | } | 752 | } |
| 910 | 753 | ||
| 911 | /// <summary> | 754 | /// <summary> |
| 912 | /// Called when the engine has progressed on caching the container or payload. | 755 | /// Called by the engine, raises the <see cref="CacheAcquireProgress"/> event. |
| 913 | /// </summary> | 756 | /// </summary> |
| 914 | /// <param name="args"></param> | 757 | /// <param name="args"></param> |
| 915 | protected virtual void OnCacheAcquireProgress(CacheAcquireProgressEventArgs args) | 758 | protected virtual void OnCacheAcquireProgress(CacheAcquireProgressEventArgs args) |
| @@ -922,8 +765,7 @@ namespace WixToolset.Mba.Core | |||
| 922 | } | 765 | } |
| 923 | 766 | ||
| 924 | /// <summary> | 767 | /// <summary> |
| 925 | /// Called by the engine to allow the BA to change the source | 768 | /// Called by the engine, raises the <see cref="ResolveSource"/> event. |
| 926 | /// using <see cref="M:Engine.SetLocalSource"/> or <see cref="M:Engine.SetDownloadSource"/>. | ||
| 927 | /// </summary> | 769 | /// </summary> |
| 928 | /// <param name="args">Additional arguments for this event.</param> | 770 | /// <param name="args">Additional arguments for this event.</param> |
| 929 | protected virtual void OnResolveSource(ResolveSourceEventArgs args) | 771 | protected virtual void OnResolveSource(ResolveSourceEventArgs args) |
| @@ -936,7 +778,7 @@ namespace WixToolset.Mba.Core | |||
| 936 | } | 778 | } |
| 937 | 779 | ||
| 938 | /// <summary> | 780 | /// <summary> |
| 939 | /// Called when the engine completes caching of the container or payload. | 781 | /// Called by the engine, raises the <see cref="CacheAcquireComplete"/> event. |
| 940 | /// </summary> | 782 | /// </summary> |
| 941 | /// <param name="args"></param> | 783 | /// <param name="args"></param> |
| 942 | protected virtual void OnCacheAcquireComplete(CacheAcquireCompleteEventArgs args) | 784 | protected virtual void OnCacheAcquireComplete(CacheAcquireCompleteEventArgs args) |
| @@ -949,7 +791,7 @@ namespace WixToolset.Mba.Core | |||
| 949 | } | 791 | } |
| 950 | 792 | ||
| 951 | /// <summary> | 793 | /// <summary> |
| 952 | /// Called when the engine has started verify the payload. | 794 | /// Called by the engine, raises the <see cref="CacheVerifyBegin"/> event. |
| 953 | /// </summary> | 795 | /// </summary> |
| 954 | /// <param name="args"></param> | 796 | /// <param name="args"></param> |
| 955 | protected virtual void OnCacheVerifyBegin(CacheVerifyBeginEventArgs args) | 797 | protected virtual void OnCacheVerifyBegin(CacheVerifyBeginEventArgs args) |
| @@ -962,7 +804,7 @@ namespace WixToolset.Mba.Core | |||
| 962 | } | 804 | } |
| 963 | 805 | ||
| 964 | /// <summary> | 806 | /// <summary> |
| 965 | /// Called when the engine completes verification of the payload. | 807 | /// Called by the engine, raises the <see cref="CacheVerifyComplete"/> event. |
| 966 | /// </summary> | 808 | /// </summary> |
| 967 | /// <param name="args"></param> | 809 | /// <param name="args"></param> |
| 968 | protected virtual void OnCacheVerifyComplete(CacheVerifyCompleteEventArgs args) | 810 | protected virtual void OnCacheVerifyComplete(CacheVerifyCompleteEventArgs args) |
| @@ -975,7 +817,7 @@ namespace WixToolset.Mba.Core | |||
| 975 | } | 817 | } |
| 976 | 818 | ||
| 977 | /// <summary> | 819 | /// <summary> |
| 978 | /// Called when the engine completes caching a specific package. | 820 | /// Called by the engine, raises the <see cref="CachePackageComplete"/> event. |
| 979 | /// </summary> | 821 | /// </summary> |
| 980 | /// <param name="args"></param> | 822 | /// <param name="args"></param> |
| 981 | protected virtual void OnCachePackageComplete(CachePackageCompleteEventArgs args) | 823 | protected virtual void OnCachePackageComplete(CachePackageCompleteEventArgs args) |
| @@ -988,7 +830,7 @@ namespace WixToolset.Mba.Core | |||
| 988 | } | 830 | } |
| 989 | 831 | ||
| 990 | /// <summary> | 832 | /// <summary> |
| 991 | /// Called after the engine has cached the installation sources. | 833 | /// Called by the engine, raises the <see cref="CacheComplete"/> event. |
| 992 | /// </summary> | 834 | /// </summary> |
| 993 | /// <param name="args">Additional arguments for this event.</param> | 835 | /// <param name="args">Additional arguments for this event.</param> |
| 994 | protected virtual void OnCacheComplete(CacheCompleteEventArgs args) | 836 | protected virtual void OnCacheComplete(CacheCompleteEventArgs args) |
| @@ -1001,7 +843,7 @@ namespace WixToolset.Mba.Core | |||
| 1001 | } | 843 | } |
| 1002 | 844 | ||
| 1003 | /// <summary> | 845 | /// <summary> |
| 1004 | /// Called when the engine has begun installing packages. | 846 | /// Called by the engine, raises the <see cref="ExecuteBegin"/> event. |
| 1005 | /// </summary> | 847 | /// </summary> |
| 1006 | /// <param name="args">Additional arguments for this event.</param> | 848 | /// <param name="args">Additional arguments for this event.</param> |
| 1007 | protected virtual void OnExecuteBegin(ExecuteBeginEventArgs args) | 849 | protected virtual void OnExecuteBegin(ExecuteBeginEventArgs args) |
| @@ -1014,7 +856,7 @@ namespace WixToolset.Mba.Core | |||
| 1014 | } | 856 | } |
| 1015 | 857 | ||
| 1016 | /// <summary> | 858 | /// <summary> |
| 1017 | /// Called when the engine has begun installing a specific package. | 859 | /// Called by the engine, raises the <see cref="ExecutePackageBegin"/> event. |
| 1018 | /// </summary> | 860 | /// </summary> |
| 1019 | /// <param name="args">Additional arguments for this event.</param> | 861 | /// <param name="args">Additional arguments for this event.</param> |
| 1020 | protected virtual void OnExecutePackageBegin(ExecutePackageBeginEventArgs args) | 862 | protected virtual void OnExecutePackageBegin(ExecutePackageBeginEventArgs args) |
| @@ -1027,7 +869,7 @@ namespace WixToolset.Mba.Core | |||
| 1027 | } | 869 | } |
| 1028 | 870 | ||
| 1029 | /// <summary> | 871 | /// <summary> |
| 1030 | /// Called when the engine executes one or more patches targeting a product. | 872 | /// Called by the engine, raises the <see cref="ExecutePatchTarget"/> event. |
| 1031 | /// </summary> | 873 | /// </summary> |
| 1032 | /// <param name="args">Additional arguments for this event.</param> | 874 | /// <param name="args">Additional arguments for this event.</param> |
| 1033 | protected virtual void OnExecutePatchTarget(ExecutePatchTargetEventArgs args) | 875 | protected virtual void OnExecutePatchTarget(ExecutePatchTargetEventArgs args) |
| @@ -1040,7 +882,7 @@ namespace WixToolset.Mba.Core | |||
| 1040 | } | 882 | } |
| 1041 | 883 | ||
| 1042 | /// <summary> | 884 | /// <summary> |
| 1043 | /// Called when Windows Installer sends an installation message. | 885 | /// Called by the engine, raises the <see cref="ExecuteMsiMessage"/> event. |
| 1044 | /// </summary> | 886 | /// </summary> |
| 1045 | /// <param name="args">Additional arguments for this event.</param> | 887 | /// <param name="args">Additional arguments for this event.</param> |
| 1046 | protected virtual void OnExecuteMsiMessage(ExecuteMsiMessageEventArgs args) | 888 | protected virtual void OnExecuteMsiMessage(ExecuteMsiMessageEventArgs args) |
| @@ -1053,7 +895,7 @@ namespace WixToolset.Mba.Core | |||
| 1053 | } | 895 | } |
| 1054 | 896 | ||
| 1055 | /// <summary> | 897 | /// <summary> |
| 1056 | /// Called when Windows Installer sends a file in use installation message. | 898 | /// Called by the engine, raises the <see cref="ExecuteFilesInUse"/> event. |
| 1057 | /// </summary> | 899 | /// </summary> |
| 1058 | /// <param name="args">Additional arguments for this event.</param> | 900 | /// <param name="args">Additional arguments for this event.</param> |
| 1059 | protected virtual void OnExecuteFilesInUse(ExecuteFilesInUseEventArgs args) | 901 | protected virtual void OnExecuteFilesInUse(ExecuteFilesInUseEventArgs args) |
| @@ -1066,7 +908,7 @@ namespace WixToolset.Mba.Core | |||
| 1066 | } | 908 | } |
| 1067 | 909 | ||
| 1068 | /// <summary> | 910 | /// <summary> |
| 1069 | /// Called when the engine has completed installing a specific package. | 911 | /// Called by the engine, raises the <see cref="ExecutePackageComplete"/> event. |
| 1070 | /// </summary> | 912 | /// </summary> |
| 1071 | /// <param name="args">Additional arguments for this event.</param> | 913 | /// <param name="args">Additional arguments for this event.</param> |
| 1072 | protected virtual void OnExecutePackageComplete(ExecutePackageCompleteEventArgs args) | 914 | protected virtual void OnExecutePackageComplete(ExecutePackageCompleteEventArgs args) |
| @@ -1079,7 +921,7 @@ namespace WixToolset.Mba.Core | |||
| 1079 | } | 921 | } |
| 1080 | 922 | ||
| 1081 | /// <summary> | 923 | /// <summary> |
| 1082 | /// Called when the engine has completed installing packages. | 924 | /// Called by the engine, raises the <see cref="ExecuteComplete"/> event. |
| 1083 | /// </summary> | 925 | /// </summary> |
| 1084 | /// <param name="args">Additional arguments for this event.</param> | 926 | /// <param name="args">Additional arguments for this event.</param> |
| 1085 | protected virtual void OnExecuteComplete(ExecuteCompleteEventArgs args) | 927 | protected virtual void OnExecuteComplete(ExecuteCompleteEventArgs args) |
| @@ -1092,7 +934,7 @@ namespace WixToolset.Mba.Core | |||
| 1092 | } | 934 | } |
| 1093 | 935 | ||
| 1094 | /// <summary> | 936 | /// <summary> |
| 1095 | /// Called when the engine has completed installing the bundle. | 937 | /// Called by the engine, raises the <see cref="ApplyComplete"/> event. |
| 1096 | /// </summary> | 938 | /// </summary> |
| 1097 | /// <param name="args">Additional arguments for this event.</param> | 939 | /// <param name="args">Additional arguments for this event.</param> |
| 1098 | protected virtual void OnApplyComplete(ApplyCompleteEventArgs args) | 940 | protected virtual void OnApplyComplete(ApplyCompleteEventArgs args) |
| @@ -1105,7 +947,7 @@ namespace WixToolset.Mba.Core | |||
| 1105 | } | 947 | } |
| 1106 | 948 | ||
| 1107 | /// <summary> | 949 | /// <summary> |
| 1108 | /// Called by the engine while executing on payload. | 950 | /// Called by the engine, raises the <see cref="ExecuteProgress"/> event. |
| 1109 | /// </summary> | 951 | /// </summary> |
| 1110 | /// <param name="args">Additional arguments for this event.</param> | 952 | /// <param name="args">Additional arguments for this event.</param> |
| 1111 | protected virtual void OnExecuteProgress(ExecuteProgressEventArgs args) | 953 | protected virtual void OnExecuteProgress(ExecuteProgressEventArgs args) |
| @@ -1118,7 +960,7 @@ namespace WixToolset.Mba.Core | |||
| 1118 | } | 960 | } |
| 1119 | 961 | ||
| 1120 | /// <summary> | 962 | /// <summary> |
| 1121 | /// Called by the engine before trying to launch the preapproved executable. | 963 | /// Called by the engine, raises the <see cref="LaunchApprovedExeBegin"/> event. |
| 1122 | /// </summary> | 964 | /// </summary> |
| 1123 | /// <param name="args">Additional arguments for this event.</param> | 965 | /// <param name="args">Additional arguments for this event.</param> |
| 1124 | protected virtual void OnLaunchApprovedExeBegin(LaunchApprovedExeBeginEventArgs args) | 966 | protected virtual void OnLaunchApprovedExeBegin(LaunchApprovedExeBeginEventArgs args) |
| @@ -1131,7 +973,7 @@ namespace WixToolset.Mba.Core | |||
| 1131 | } | 973 | } |
| 1132 | 974 | ||
| 1133 | /// <summary> | 975 | /// <summary> |
| 1134 | /// Called by the engine after trying to launch the preapproved executable. | 976 | /// Called by the engine, raises the <see cref="LaunchApprovedExeComplete"/> event. |
| 1135 | /// </summary> | 977 | /// </summary> |
| 1136 | /// <param name="args">Additional arguments for this event.</param> | 978 | /// <param name="args">Additional arguments for this event.</param> |
| 1137 | protected virtual void OnLaunchApprovedExeComplete(LaunchApprovedExeCompleteEventArgs args) | 979 | protected virtual void OnLaunchApprovedExeComplete(LaunchApprovedExeCompleteEventArgs args) |
| @@ -1144,7 +986,7 @@ namespace WixToolset.Mba.Core | |||
| 1144 | } | 986 | } |
| 1145 | 987 | ||
| 1146 | /// <summary> | 988 | /// <summary> |
| 1147 | /// Called by the engine before beginning an MSI transaction. | 989 | /// Called by the engine, raises the <see cref="BeginMsiTransactionBegin"/> event. |
| 1148 | /// </summary> | 990 | /// </summary> |
| 1149 | /// <param name="args">Additional arguments for this event.</param> | 991 | /// <param name="args">Additional arguments for this event.</param> |
| 1150 | protected virtual void OnBeginMsiTransactionBegin(BeginMsiTransactionBeginEventArgs args) | 992 | protected virtual void OnBeginMsiTransactionBegin(BeginMsiTransactionBeginEventArgs args) |
| @@ -1157,7 +999,7 @@ namespace WixToolset.Mba.Core | |||
| 1157 | } | 999 | } |
| 1158 | 1000 | ||
| 1159 | /// <summary> | 1001 | /// <summary> |
| 1160 | /// Called by the engine after beginning an MSI transaction. | 1002 | /// Called by the engine, raises the <see cref="BeginMsiTransactionComplete"/> event. |
| 1161 | /// </summary> | 1003 | /// </summary> |
| 1162 | /// <param name="args">Additional arguments for this event.</param> | 1004 | /// <param name="args">Additional arguments for this event.</param> |
| 1163 | protected virtual void OnBeginMsiTransactionComplete(BeginMsiTransactionCompleteEventArgs args) | 1005 | protected virtual void OnBeginMsiTransactionComplete(BeginMsiTransactionCompleteEventArgs args) |
| @@ -1170,7 +1012,7 @@ namespace WixToolset.Mba.Core | |||
| 1170 | } | 1012 | } |
| 1171 | 1013 | ||
| 1172 | /// <summary> | 1014 | /// <summary> |
| 1173 | /// Called by the engine before committing an MSI transaction. | 1015 | /// Called by the engine, raises the <see cref="CommitMsiTransactionBegin"/> event. |
| 1174 | /// </summary> | 1016 | /// </summary> |
| 1175 | /// <param name="args">Additional arguments for this event.</param> | 1017 | /// <param name="args">Additional arguments for this event.</param> |
| 1176 | protected virtual void OnCommitMsiTransactionBegin(CommitMsiTransactionBeginEventArgs args) | 1018 | protected virtual void OnCommitMsiTransactionBegin(CommitMsiTransactionBeginEventArgs args) |
| @@ -1183,7 +1025,7 @@ namespace WixToolset.Mba.Core | |||
| 1183 | } | 1025 | } |
| 1184 | 1026 | ||
| 1185 | /// <summary> | 1027 | /// <summary> |
| 1186 | /// Called by the engine after committing an MSI transaction. | 1028 | /// Called by the engine, raises the <see cref="CommitMsiTransactionComplete"/> event. |
| 1187 | /// </summary> | 1029 | /// </summary> |
| 1188 | /// <param name="args">Additional arguments for this event.</param> | 1030 | /// <param name="args">Additional arguments for this event.</param> |
| 1189 | protected virtual void OnCommitMsiTransactionComplete(CommitMsiTransactionCompleteEventArgs args) | 1031 | protected virtual void OnCommitMsiTransactionComplete(CommitMsiTransactionCompleteEventArgs args) |
| @@ -1196,7 +1038,7 @@ namespace WixToolset.Mba.Core | |||
| 1196 | } | 1038 | } |
| 1197 | 1039 | ||
| 1198 | /// <summary> | 1040 | /// <summary> |
| 1199 | /// Called by the engine before rolling back an MSI transaction. | 1041 | /// Called by the engine, raises the <see cref="RollbackMsiTransactionBegin"/> event. |
| 1200 | /// </summary> | 1042 | /// </summary> |
| 1201 | /// <param name="args">Additional arguments for this event.</param> | 1043 | /// <param name="args">Additional arguments for this event.</param> |
| 1202 | protected virtual void OnRollbackMsiTransactionBegin(RollbackMsiTransactionBeginEventArgs args) | 1044 | protected virtual void OnRollbackMsiTransactionBegin(RollbackMsiTransactionBeginEventArgs args) |
| @@ -1209,7 +1051,7 @@ namespace WixToolset.Mba.Core | |||
| 1209 | } | 1051 | } |
| 1210 | 1052 | ||
| 1211 | /// <summary> | 1053 | /// <summary> |
| 1212 | /// Called by the engine after rolling back an MSI transaction. | 1054 | /// Called by the engine, raises the <see cref="RollbackMsiTransactionComplete"/> event. |
| 1213 | /// </summary> | 1055 | /// </summary> |
| 1214 | /// <param name="args">Additional arguments for this event.</param> | 1056 | /// <param name="args">Additional arguments for this event.</param> |
| 1215 | protected virtual void OnRollbackMsiTransactionComplete(RollbackMsiTransactionCompleteEventArgs args) | 1057 | protected virtual void OnRollbackMsiTransactionComplete(RollbackMsiTransactionCompleteEventArgs args) |
| @@ -1222,7 +1064,7 @@ namespace WixToolset.Mba.Core | |||
| 1222 | } | 1064 | } |
| 1223 | 1065 | ||
| 1224 | /// <summary> | 1066 | /// <summary> |
| 1225 | /// Called by the engine before pausing Windows automatic updates. | 1067 | /// Called by the engine, raises the <see cref="PauseAutomaticUpdatesBegin"/> event. |
| 1226 | /// </summary> | 1068 | /// </summary> |
| 1227 | /// <param name="args">Additional arguments for this event.</param> | 1069 | /// <param name="args">Additional arguments for this event.</param> |
| 1228 | protected virtual void OnPauseAutomaticUpdatesBegin(PauseAutomaticUpdatesBeginEventArgs args) | 1070 | protected virtual void OnPauseAutomaticUpdatesBegin(PauseAutomaticUpdatesBeginEventArgs args) |
| @@ -1235,7 +1077,7 @@ namespace WixToolset.Mba.Core | |||
| 1235 | } | 1077 | } |
| 1236 | 1078 | ||
| 1237 | /// <summary> | 1079 | /// <summary> |
| 1238 | /// Called by the engine after pausing Windows automatic updates. | 1080 | /// Called by the engine, raises the <see cref="PauseAutomaticUpdatesComplete"/> event. |
| 1239 | /// </summary> | 1081 | /// </summary> |
| 1240 | /// <param name="args">Additional arguments for this event.</param> | 1082 | /// <param name="args">Additional arguments for this event.</param> |
| 1241 | protected virtual void OnPauseAutomaticUpdatesComplete(PauseAutomaticUpdatesCompleteEventArgs args) | 1083 | protected virtual void OnPauseAutomaticUpdatesComplete(PauseAutomaticUpdatesCompleteEventArgs args) |
| @@ -1248,7 +1090,7 @@ namespace WixToolset.Mba.Core | |||
| 1248 | } | 1090 | } |
| 1249 | 1091 | ||
| 1250 | /// <summary> | 1092 | /// <summary> |
| 1251 | /// Called by the engine before taking a system restore point. | 1093 | /// Called by the engine, raises the <see cref="SystemRestorePointBegin"/> event. |
| 1252 | /// </summary> | 1094 | /// </summary> |
| 1253 | /// <param name="args">Additional arguments for this event.</param> | 1095 | /// <param name="args">Additional arguments for this event.</param> |
| 1254 | protected virtual void OnSystemRestorePointBegin(SystemRestorePointBeginEventArgs args) | 1096 | protected virtual void OnSystemRestorePointBegin(SystemRestorePointBeginEventArgs args) |
| @@ -1261,7 +1103,7 @@ namespace WixToolset.Mba.Core | |||
| 1261 | } | 1103 | } |
| 1262 | 1104 | ||
| 1263 | /// <summary> | 1105 | /// <summary> |
| 1264 | /// Called by the engine after taking a system restore point. | 1106 | /// Called by the engine, raises the <see cref="SystemRestorePointComplete"/> event. |
| 1265 | /// </summary> | 1107 | /// </summary> |
| 1266 | /// <param name="args">Additional arguments for this event.</param> | 1108 | /// <param name="args">Additional arguments for this event.</param> |
| 1267 | protected virtual void OnSystemRestorePointComplete(SystemRestorePointCompleteEventArgs args) | 1109 | protected virtual void OnSystemRestorePointComplete(SystemRestorePointCompleteEventArgs args) |
