I want to call a function (which calculates my version number) when my NSIS script is compiling, but not while it’s executing. Is this possible? It uses nsExec and basic string manipulation functions.
I want to call a function (which calculates my version number) when my NSIS
Share
Sweet! It’s possible: see http://nsis.sourceforge.net/Invoking_NSIS_run-time_commands_on_compile-time
The basic idea is:
!system, at compile time) in your main script – and this generates a text file (which!defines whatever you need)!includethe text file in your main scriptand presto! You’ve got some stuff generated at compile time in your script.