summaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/ExitCodeTest.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-09-02 16:12:42 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-09-03 15:29:26 -0500
commit237bdc6a97c0dd455da99c16e6b3b7cac4c79e86 (patch)
tree1f2c789a7aa752e068fac8a4ca08815d13bf527a /src/burn/test/BurnUnitTest/ExitCodeTest.cpp
parent7728e34e48a4fdb710ecc92dd8dca833bff3993f (diff)
downloadwix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.tar.gz
wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.tar.bz2
wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.zip
Add WixCanRestart and make wixstdba elevate for restart when required.
Fixes 5499
Diffstat (limited to 'src/burn/test/BurnUnitTest/ExitCodeTest.cpp')
-rw-r--r--src/burn/test/BurnUnitTest/ExitCodeTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/ExitCodeTest.cpp b/src/burn/test/BurnUnitTest/ExitCodeTest.cpp
index d7d91d06..465ee04b 100644
--- a/src/burn/test/BurnUnitTest/ExitCodeTest.cpp
+++ b/src/burn/test/BurnUnitTest/ExitCodeTest.cpp
@@ -118,7 +118,7 @@ static void LoadEngineState(
118 // 118 //
119 LoadEngineState(&engineState); 119 LoadEngineState(&engineState);
120 120
121 hr = ElevationElevate(&engineState, NULL); 121 hr = ElevationElevate(&engineState, WM_BURN_ELEVATE, NULL);
122 TestThrowOnFailure(hr, L"Failed to elevate."); 122 TestThrowOnFailure(hr, L"Failed to elevate.");
123 123
124 for (DWORD i = 0; i < countof(rgExitCodeItems); ++i) 124 for (DWORD i = 0; i < countof(rgExitCodeItems); ++i)