Hi all,
My installation requires a version number that is !define'd in the NSIS script. Is it possible to read a value from an environment variable (or pass a value to the compiler via command line) *at compile time*?
This would allow my "create release" batch to pass the version number to the NSIS script, thus freeing me from the need to set the version number there manually (which is rather error-prone).
Or is it, by some way, possible the other way round? Can the compiler "return" the version number to the calling batch?
I couldn't find anything useful when searching the forum and the net. Any idea or pointer would be greatly appreciated.
Regards,
Steve
My installation requires a version number that is !define'd in the NSIS script. Is it possible to read a value from an environment variable (or pass a value to the compiler via command line) *at compile time*?
This would allow my "create release" batch to pass the version number to the NSIS script, thus freeing me from the need to set the version number there manually (which is rather error-prone).
Or is it, by some way, possible the other way round? Can the compiler "return" the version number to the calling batch?
I couldn't find anything useful when searching the forum and the net. Any idea or pointer would be greatly appreciated.
Regards,
Steve
Comment