diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-05-03 15:30:50 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-05-04 10:05:21 -0500 |
commit | 29f7e00586412163a20e298fbf84505f8a917425 (patch) | |
tree | 30257a3544f6982ded159443ebed0eb933f11a51 /src/test/burn/TestBA | |
parent | 41d2c12d60ee84cefc26ec99abb328701883c8f5 (diff) | |
download | wix-29f7e00586412163a20e298fbf84505f8a917425.tar.gz wix-29f7e00586412163a20e298fbf84505f8a917425.tar.bz2 wix-29f7e00586412163a20e298fbf84505f8a917425.zip |
Only block shutdown during Apply.
Diffstat (limited to 'src/test/burn/TestBA')
-rw-r--r-- | src/test/burn/TestBA/TestBA.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/burn/TestBA/TestBA.cs b/src/test/burn/TestBA/TestBA.cs index b4d74341..5f492efd 100644 --- a/src/test/burn/TestBA/TestBA.cs +++ b/src/test/burn/TestBA/TestBA.cs | |||
@@ -531,15 +531,6 @@ namespace WixToolset.Test.BA | |||
531 | this.ShutdownUiThread(); | 531 | this.ShutdownUiThread(); |
532 | } | 532 | } |
533 | 533 | ||
534 | protected override void OnSystemShutdown(SystemShutdownEventArgs args) | ||
535 | { | ||
536 | // Always prevent shutdown. | ||
537 | this.Log("Disallowed system request to shut down the bootstrapper application."); | ||
538 | args.Cancel = true; | ||
539 | |||
540 | this.ShutdownUiThread(); | ||
541 | } | ||
542 | |||
543 | protected override void OnUnregisterBegin(UnregisterBeginEventArgs args) | 534 | protected override void OnUnregisterBegin(UnregisterBeginEventArgs args) |
544 | { | 535 | { |
545 | if (this.forceKeepRegistration && args.RegistrationType == RegistrationType.None) | 536 | if (this.forceKeepRegistration && args.RegistrationType == RegistrationType.None) |