2.12.12 Judging the result of software installation executed by the distribution function
Whether software installation executed by the distribution function was successful is judged based on the execution result of the installation command set for the package. The following shows how the result is judged for different formats of files registered in the package:
- For MSI files
-
The execution result of installation is judged depending on the value returned by the Windows Installer. The return value is judged as follows:
-
ERROR_SUCCESS(0): Normal termination
-
ERROR_SUCCESS_REBOOT_INITIATED(1641): Restart is required.
-
ERROR_SUCCESS_REBOOT_REQUIRED(3010): Restart is required.
-
Other codes: Abnormal termination
-
- For files with other formats
-
If the installation command set for the package is executed, installation is judged to have finished successfully.
Note that if startup of the installation command fails or if a timeout occurs during startup of the installation command or of the started installer, installation is judged to have failed.