for example, we have 3 versions of the product: DEV, QA, and LIVE
When compiling the installer, I run something like:
for dev:
>makensis.exe /V3 /DVERSION=DEV my_script.nsi
for qa:
>makensis.exe /V3 /DVERSION=QA my_script.nsi
for live:
>makensis.exe /V3 /DVERSION="" my_script.nsi
Now, in my installer, I only want to include a file for the DEV and QA installations....pseudocode:
I'm having difficulty queuing off of whether or not ${VERSION} is an empty string.
if(VERSION != empty string)
File "file_to_include.txt"