You will have to open up the built msi in tools such as Orca, and check the custom action conditions. Most probably, they are set such a way that they do not run during upgrades.
Refer to this link -->
[
^] for information on how to log the install.
-Alpesh