|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2004
Location: UK
Posts: 33
|
Compile Time Commands
http://nsis.sourceforge.net/Docs/Chapter5.html variant1.nsi: !define VARIANT "1" !include main.nsi variant2.nsi: !define VARIANT "2" !include main.nsi main.nsi: !if "${VARIANT}" == "1" Name "Installer Variant One" !else if "${VARIANT}" == "2" Name "Installer Variant Two !endif I've never been very sure about what is right. I'm not even sure that there is such a thing as right. Or wrong. Just places to stand. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Apr 2012
Posts: 18
|
Thanks Marshall7a. Exactly what I am looking for.
Now that you have pointed me to !define and !if ${}, I have found it in the docs. Cheers. ;-) |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|