Deliverator
21st August 2004, 17:59
Suppose you have a macro that consists of 5 lines.
You do a
IfFileExists "$ApplicationDir\${MY_DIR}\${MY_EXE}" 0 +1
!insertmacro UnselectSection ${MySec}
I don't think will work because the macro is expanded into 5 lines. The +1 will jump into the middle of the macro code.
Other than using a label for the jump, is there a way around this?
I have about 7-8 lines od code that need this logic and didn't want to use a lot of labels.
You do a
IfFileExists "$ApplicationDir\${MY_DIR}\${MY_EXE}" 0 +1
!insertmacro UnselectSection ${MySec}
I don't think will work because the macro is expanded into 5 lines. The +1 will jump into the middle of the macro code.
Other than using a label for the jump, is there a way around this?
I have about 7-8 lines od code that need this logic and didn't want to use a lot of labels.