+ Leave function for pages
+ Components page text always shown if Page components used git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2080 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c10483f967
commit
0aed08e3f7
8 changed files with 162 additions and 73 deletions
|
@ -1087,7 +1087,8 @@ int CEXEBuild::resolve_coderefs(const char *str)
|
|||
int i = 0;
|
||||
while (i < build_uninst.common.num_pages) {
|
||||
if (resolve_call_int("uninstall pages","pre-page function",p->prefunc,&p->prefunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","post-page function",p->postfunc,&p->postfunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","show-page function",p->showfunc,&p->showfunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","leave-page function",p->leavefunc,&p->leavefunc)) return 1;
|
||||
p++;
|
||||
i++;
|
||||
}
|
||||
|
@ -1118,7 +1119,8 @@ int CEXEBuild::resolve_coderefs(const char *str)
|
|||
int i = 0;
|
||||
while (i < build_header.common.num_pages) {
|
||||
if (resolve_call_int("pages","pre-page function",p->prefunc,&p->prefunc)) return 1;
|
||||
if (resolve_call_int("pages","post-page function",p->postfunc,&p->postfunc)) return 1;
|
||||
if (resolve_call_int("pages","show-page function",p->showfunc,&p->showfunc)) return 1;
|
||||
if (resolve_call_int("pages","leave-page function",p->leavefunc,&p->leavefunc)) return 1;
|
||||
p++;
|
||||
i++;
|
||||
}
|
||||
|
@ -1288,6 +1290,7 @@ int CEXEBuild::write_output(void)
|
|||
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
#endif
|
||||
0
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue