Exit codes indicate the level of success for a command. The following table provides exit codes for Install.exe.

Exit codes for Install.exe

Setup status

Restart not required

Restart required

Description

Success

0x00000000

[0]

0x00000bc2

[3010]

Successful installation.

Success but incomplete

0x80040000

[-2147221504]

0x80048000

[-2147188736]

Successful installation of all vital packages, but at least one non-vital package failed.

Block

0x80044000

[-2147205120]

0x8004c000

[-2147172352]

A blocking condition was encountered during installation.

Cancel

0x00000642

[1602]

0x80048642

[-2147187134]

Installation was canceled, or the UAC failed or timed out.

Incomplete – restart required

N/A

0x80048bc7

[-2147185721]

A restart is required before installation can continue.

Failure

0x00000643

[1603]

0x80048643

[-2147187133]

A fatal error occurred during installation.