Archive: InstallTTFFont only if newer?


InstallTTFFont only if newer?
Hello there,

i use the scripts FontName.nsh and FontReg.nsh to install new fonts and it works fine.

If the font is already registered, the operation will be skipped.

I want the installer to do it in this way:

If the font is already registerted, the font in my installer will only be extracted if it's newer.

I'm very busy, so i haven't tried alot on my own. Any ideas?

Is it necessary to compare the dates of the two files on my own and then decide to to InstallTTFFont or not?

Thanks in advance,

Huette


You'll have to compare the dates on your own using GetFileTime and GetFileTimeLocal.