|
|
#1 |
|
Junior Member
Join Date: Apr 2008
Posts: 4
|
!if !endif problem
I try to use !if and !endif in the macro, but it always fails to check the if condition as below. I'm noticed the text color of "!if" didn't change to green color as the !macro. It shows in black color. Does anybody know why it is wrong? I use NSIS version 2.36
!define BUILD_TYPE "1" !macro SET_BUILD_TYPE !if ${BUILD_TYPE} == "1" !define APP_NAME "BETA" !else !define APP_NAME "FULL" !endif !macroend Thanks, Oai |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|