NSIS MessageBox jump offset -
i'm not able understand what's wrong below code jumping particular offset if messagebox returns idno.
below code quit installer while idno selected, jumping goto endcurrentblock
line
messagebox mb_yesno|mb_iconexclamation "would continue installation?" idno +3 !insertmacro showstatus "failed install software" goto endcurrentblock quit
if use absoule label jump it's working good. reason?
jumping offset skips x number of nsis instructions !insertmacro
preprocessor instruction might expand zero, 1 or several nsis instructions.
it not recommended combine offset jumps , !insertmacro
because can break code changing macro...
Comments
Post a Comment