Archive: Question about getting values from custom pages


Question about getting values from custom pages
I have a custom page like this:

Function un.StringsCustom

nsDialogs::Create 1018
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}

${NSD_CreateLabel} 0 0 100% 12u "Oracle Boxtone user password"
Pop $Label

${NSD_CreatePassword} 0 13u 100% 12u ""
Pop $Password
nsDialogs::Show
FunctionEnd


In my uninstall section, I try to get the password:

UninstPage custom un.StringsCustom
UninstPage instfiles
Section Uninstall

${NSD_GetText} $Password $0
MessageBox MB_OK $0

SectionEnd

When I run the uninstaller, I enter the password in the password field. However, when the message box pops up, it displays a blank password. How do I get the password I enter?

In the page leave function.

Stu


Ok thanks fixed it.