Problems with wrong value in variable.
Ask for help.
code:
# database selection
!define MUI_PAGE_CUSTOMFUNCTION_PRE SqlPage
!insertmacro MUI_PAGE_COMPONENTS
##Query the input values
code:
Function SqlPage
nsDialogs::Create /NOUNLOAD 1018
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}
${NSD_CreateLabel} 7.9u 22.77u 65.82u 14.15u "Server"
Pop $lblServer
${NSD_CreateLabel} 7.9u 69.54u 55.95u 14.15u "Database"
Pop $lblDatabase
${NSD_CreateLabel} 7.9u 39.38u 65.82u 14.15u "SQLUser"
Pop $lblUsername
${NSD_CreateLabel} 7.9u 55.38u 65.82u 14.15u "SQLPassword"
Pop $lblPassword
${NSD_CreateText} 77.67u 22.77u 208.66u 12.31u ""
Pop $txtServer
${NSD_CreateText} 77.67u 71.38u 98.73u 12.31u ""
Pop $txtDatabase
${NSD_CreateText} 77.67u 38.77u 98.73u 12.31u ""
Pop $txtUsername
${NSD_CreateText} 77.67u 55.38u 98.73u 12.31u ""
Pop $pwdPassword
nsDialogs::Show
FunctionEnd
Click "Next" button no function.
When clicking on the start button, $ 0 - $ 3 are incorrectly assigned
# finish page
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE InstStartWeb
!define MUI_PAGE_CUSTOMFUNCTION_SHOW Questions
!define MUI_FINISHPAGE_TEXT $(mui_finishpage_text)
!define MUI_FINISHPAGE_BUTTON $(mui_finishpage_button)
# finish page
!insertmacro MUI_PAGE_FINISH
##
code:
Function InstStartWeb
# after completion launch the web installer for a new install
# or the agent interface for upgrade (possibly even package manager?)
${If} $Upgrade == "no"
# write a .json file to indicate we already had the License page
CreateDirectory $INSTDIR\KIX\var\tmp
FileClose $9 ;Closes the filled file
NSExec::ExecToLog "perl $\"$INSTDIR\test\config\mssql.pl$\" -u $0 -h $1 -p $2 -d $3"
FunctionEnd
Click "Next" button no function.
When clicking on the start button, $ 0 - $ 3 are incorrectly assigned?