Archive: why NOTIFY does not work for me?


why NOTIFY does not work for me?
Dear all,

I'm new to NSIS, we use NSIS version 2.0. When I write a custom page which has a Checkbox to NOTIFY some action. I don't see the LeaveCustom page got called.

However when I try the NSIS version 2.19, NOTIFY work there. So, what should I use if I need to use NSIS v2.0 to build to notify some action to the LeaveCustom page?

Thanks,


I noticed when I build my nsi file using v2.0, I see something interesting:

Page: custom (creator:ShowCustom) (caption:LeaveCustom)
...
warning: install function "LeaveCustom" not referenced - zeroing code (18-59) out

When I use v2.19 I see
Page: custom (creator:ShowCustom) (leave:LeaveCustom)
no warning

Does anyone has an idea? I need to use v2.0 to build :(.


It's possible the NOTIFY flag for check boxes was fixed or added somewhere along the way. I can't find it right now in the change log, but it's not that far fetched.

The syntax for custom page definition was changed in v2.0 beta 4. It looks like the version you call 2.0 is actually a very old beta of 2.0. You should upgrade to the latest version of NSIS - version 2.20.