PackageKit: Skipping component ... , but downgrades component version

I have 2 package versions, let say 10.01 and 10.02.
I install package version 10.02.
Pkgutil --pkg-info lists 10.02.
When installing version 10.01 then, the installer log says
PackageKit: Skipping component .10.01... because the version ..10.02. is already installed....
So far so good. No payload is extracted. Good.
But ....
After installer 10.02 closes, the package version
(pkgutil --pkg-info) is downgraded to 10.01; apparently.

Is this a bug in "Installer" or "installd" or how to fix ?

Packages are created using pkgbuild / productbuild,
MacOS 10.14, 10.15

I found this elsewhere but there is a checkbox in Packages to "allow downgrade." Have you attempted this option? It took me a while to find this solution as well. Original source: https://forum.juce.com/t/installer-issue-with-au-component-not-being-installed-but-vst-and-aax-are/48017

PackageKit: Skipping component ... , but downgrades component version
 
 
Q