Skip to content
⌘ NSIS Forum Archive

GetDLLVersionLocal is fatal on fail

2 posts

iostriz#

GetDLLVersionLocal is fatal on fail

I'm implementing something like:
SetOverwrite if_version_newer_or_same

To achieve this (missing :-P) feature, I'm comparing versions of files I try to install with versions on machine.
But, I have to take care if I'm trying to get version from "Readme.txt", or some dll that doesn't have version info, because my compile will fail.

GetDllVersionLocal "Readme.txt" ; <- fails

Would it be possible to do something like:

GetDllVersionLocal /nonfatal "Readme.txt" ; <- just warns and fills data with empty strings like GetDllVersion does ?


Best regards,

-- Igor