CreateIPaddress control to ini file
I have an installation file packed with NSIS, can you help me see the packaging of that file?
17 posts
Originally Posted by Anders View PostUse nsDialogs to create custom pages.


Page custom CreatePage PageLeave
...
var ipaddrhwnd
var ipaddr
Function CreatePage
...
${NSD_CreateIPaddress} 70u 0u 80u 12u ""
Pop $ipaddrhwnd
nsDialogs::Show
FunctionEnd
Function PageLeave
${NSD_GetText} $ipaddrhwnd $ipaddr
MessageBox mb_ok $ipaddr
FunctionEnd
Section
SetOutPath $InstDir
WriteIniStr "$InstDir\config.ini" Server IP $ipaddr
SectionEnd 

