|
|
#1 |
|
Junior Member
Join Date: Dec 2004
Posts: 2
|
Leave function with InstFiles page
Hi,
I tried to use the custom function MUI_PAGE_CUSTOMFUNCTION_LEAVE with MUI_UNPAGE_INSTFILES page, but have trouble, it works like MUI_PAGE_CUSTOMFUNCTION_SHOW function (not like leave). When I use it in any other page, it works fine. NSIS version 2.0. Any idea? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Works fine for me. Try upgrading to NSIS 2.03. If you're still having problem with it, attach the script.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2004
Posts: 2
|
The problem persist. I'm using the following code:
!define MUI_FINISHPAGE_NOAUTOCLOSE !insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Contrib\Modern UI\License.txt" !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_DIRECTORY !define MUI_PAGE_CUSTOMFUNCTION_LEAVE OnLeave !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_FINISH ;-------------------------------- Function OnLeave ... FunctionEnd The function OnLeave is called but not in the end of dialog, it called immediately after creating. How to solve this? |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Still works fine for me. Attach a complete example.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|