CUSTOMFUNCTION_PRE not working ?!?
Hello,
I added the following lines to my NSIS script:
...
!define MUI_PAGE_CUSTOMFUNCTION_PRE preInstall
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!define MUI_UNPAGE_CUSTOMFUNCTION_PRE preUninstall
!insertmacro MUI_UNPAGE_DIRECTORY
!insertmacro MUI_UNPAGE_INSTFILES
...
When compiling, I get:
1 warning:
install function "preUninstall" not referenced - zeroing code (59-61) out
Why doesn't it work with the UNPAGE_CUSTOMFUNCTION ?
It works with PAGE_CUSTOMFUNCTION ...
(The function exists, I just left it out for readability reasons ...)
Thanks