Replace
<ExitCode Behavior="forceReboot"/>
With
<ExitCode Behavior="forceReboot" Value="1641" />
<ExitCode Behavior="forceReboot" Value="3010" />
Both 1641 and 3010 are "A restart is required to complete the installation. This message indicates success."
Your version treats all exit codes as the same, which you observed. See the documentation on that installer. Fortunately, exit codes are documented.
UPDATE:
I added known success codes and a catch-all which could be error
if you are confident that all success codes are documented.
<ExitCode Behavior="success" Value="0" />
<ExitCode Behavior="error"/>