Skip to content

Commit

Permalink
Document how to check msiexec exit codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Orderud committed Aug 30, 2023
1 parent 69539d0 commit 758b7b8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ScheduleReboot/README.txt
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%
```

0 comments on commit 758b7b8

Please sign in to comment.