-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document how to check msiexec exit codes.
- Loading branch information
Fredrik Orderud
committed
Aug 30, 2023
1 parent
69539d0
commit 758b7b8
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
Dummy application for testing of reboot handling. | ||
Dummy installer for testing of reboot handling. | ||
The installer always returns ERROR_SUCCESS_REBOOT_REQUIRED (3010) to indicate that a reboot is required to complete the install. | ||
|
||
Doc: https://learn.microsoft.com/en-us/windows/win32/msi/error-codes | ||
|
||
|
||
### How check msiexec codes | ||
|
||
Run the following commands from a batch script: | ||
``` | ||
start /wait msiexec.exe /i ScheduleReboot | ||
echo msiexec exit code: %ERRORLEVEL% | ||
``` |