i hope my headline is somewhere in the vincinity of being correct of what i will describe now, if not i hope you can still help me 🙂
I want to create my own "string" that i can use with the ${IF}..${ENDIF} clause. For example with logiclib you can use
i want to create my own ${silent}, in my case it should be:
${IF} ${silent}
#do stuff
${ENDIF}
so "$InstallPartOfApplication = 1" should become ${InstallPartOfApplication)
${IF} $InstallPartOfApplication = 1
#do stuff
${ENDIF}
now if $InstallPartOfApplication = 1 or not would be defined from a license file that is read during the beginning of the installation.
${IF} ${InstallPartOfApplication)
#do stuff
${ENDIF}
I hope (lots of hoping in this one) i could post my question understandable, and somebody can help me.
Btw. i looked at examples in the x64.nsh, which frankly i do not understand also looking at the silent part of logiclib.nsh did not bring me any step ahead i still wonder how _silent can be referenced from the !define below it....
!macro _Silent _a _b _t _f
IfSilent `${_t}` `${_f}`
!macroend
!define Silent `"" Silent ""`
Thanks a lot.
x