View Full Version : disable the NEXT button..

07-27-2004, 10:15 AM
I am creating a setup using the Basic MSI project. I have used the login (standard one that comes with installshield) dialog box before executing a sql script.

The login button accepts the server name, user id and password.

My problem is, even if i give wrong data (credentials), after displaying an error it proceeds to the next dialog. How can i stop it from moving to the next dialog unless valid information is provided.



07-27-2004, 11:14 AM
Did you make any changes to the dialog? or its behavior?
What you are describing should work by default. When Next is pressed, credentials are verified and only if they are valid the next dialog is displayed.

Try creating a new project and then add a new connection and a new script then run the installation, you should get the behavior you described.

By the way, this is the InstallScript community, make sure you post Basic MSI questions to the "Basic MSI Projects" community next time as to get more prompt replies.