I have created a Web Setup project for a web application that I have written. I added several new dialog windows to the user interface to collect various details, such as SQL Server info, company info, etc. I created custom actions to install the database, etc. The problem that I currently have is that I do not know how to validate the data within the new dialog windows (Textboxes A, etc) before the installation actually starts. So, if someone enters invalid SQL Server details, the installation starts, then my custom action is executed. If I validate the information and determine it is invalid, I can throw an exception which would cause the setup to fail. But, doing so requires the user to open the setup.msi again and start all over. Is there anyway to validate this information when the Next button is clicked?
Also, I have created a banner that I would like to use at the top of each of the dialogs. If I use it, the BannerText at the top of each dialog sits on top the banner and doesn't look right, based on the color I have chosen for the banner. I would like to remove the BannerText completely from all dialogs. Each of the custom dialogs that I added to the user interface myself have a property called BannerText. On those dialogs, I can just delete the text within this property and my banner looks great. Why is it that I can't do the same on all other dialogs? Or can i? Does anyone have a suggestion?
Thanks in advance for your help!
- John