ODBC Entry via Installer
Hey,
I'm really new to the NSIS.
I need to write an installer which sets an odbc connection in Windows.
Most of the script is done. What I need is a check whether the user enters all parameters needed to make an entry.
I uploaded my files.
You need to remove tht .txt from the Layout.ini.
Section InstallODBC
${Ifnot} $Server == ""
${Ifnot} $Database == ""
${If} ${RunningX64}
call Install64bit
${Else}
call Install32bit
${EndIf} ;ruft die Function Install auf
${Else}
MessageBox MB_OK "Please check if you have entered Server and Database!"
Abort
${Endif}
${Else}
MessageBox MB_OK "Please check if you have entered Server and Database!"
Abort
${Endif}
SectionEnd ; Ende Section InstallODBC
This was my try to handle this but it did not work as I thought.
Could someone please help me?
I got the idea to make the next button uncklickable if the three fields where not filled out.
Possible?