I am afraid I am unaware of any mechanism you can use to get the list of the files scheduled to update after system reboot.
The best way to avoid this issue I think will be to schedule a force reboot within the installation setup itself (at the end of the installation). For instance, you can develop your own custom action
to trigger a system reboot at the end of the installation.
All the best,