diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-09-15 12:17:07 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-09-15 14:14:04 -0500 |
commit | 95e8b1be902cce3b5a394066a62e0c32d0688261 (patch) | |
tree | 955b165715e275b70033cf7cd4c956d71d365d21 /src/burn/engine/splashscreen.cpp | |
parent | ca3bf7968865be1cb80e9d63e7cc177f92469e2f (diff) | |
download | wix-95e8b1be902cce3b5a394066a62e0c32d0688261.tar.gz wix-95e8b1be902cce3b5a394066a62e0c32d0688261.tar.bz2 wix-95e8b1be902cce3b5a394066a62e0c32d0688261.zip |
Add more burn E2E tests.
Fix bug where first splash screen wasn't closed.
Fix bug where billboard only started the first time.
Fix bug where the restart status was lost when the exit code was an error.
Fix bug where the hash byte array length was compared to the hash string length (string is twice as long).
Fix bug where Burn didn't give update hash if the first byte was 0.
Diffstat (limited to 'src/burn/engine/splashscreen.cpp')
-rw-r--r-- | src/burn/engine/splashscreen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/burn/engine/splashscreen.cpp b/src/burn/engine/splashscreen.cpp index d8618feb..b9dc9f55 100644 --- a/src/burn/engine/splashscreen.cpp +++ b/src/burn/engine/splashscreen.cpp | |||
@@ -221,6 +221,11 @@ LExit: | |||
221 | ::DeleteObject(splashScreenInfo.hBitmap); | 221 | ::DeleteObject(splashScreenInfo.hBitmap); |
222 | } | 222 | } |
223 | 223 | ||
224 | if (splashScreenInfo.hwndPrevious) | ||
225 | { | ||
226 | ::PostMessageW(splashScreenInfo.hwndPrevious, WM_CLOSE, 0, 0); | ||
227 | } | ||
228 | |||
224 | return hr; | 229 | return hr; |
225 | } | 230 | } |
226 | 231 | ||
@@ -261,6 +266,7 @@ static LRESULT CALLBACK WndProc( | |||
261 | return 1; | 266 | return 1; |
262 | 267 | ||
263 | case WM_ENTERIDLE: | 268 | case WM_ENTERIDLE: |
269 | case WM_MOVING: | ||
264 | lres = ::DefWindowProcW(hWnd, uMsg, wParam, lParam); | 270 | lres = ::DefWindowProcW(hWnd, uMsg, wParam, lParam); |
265 | 271 | ||
266 | // We had to create our own splash screen so that Windows would automatically transfer focus from the other process's splash screen. | 272 | // We had to create our own splash screen so that Windows would automatically transfer focus from the other process's splash screen. |