I have a custom font that is installed with my Inno Setup, and I would like to overwrite the existing font only if the font in my setup was upgraded.

In order to do this, I have tried to get the version from my font file but GetVersionNumbersString in a function or GetFileVersionString in the Inno Setup preprocessor. As far as I have understood, those functions only apply to exe or dll but I might be wrong.
Any lead to help me achieve this would be very much appreciated.
Thanks,
Olivier