.net Deployement  
Author Message
Fahad Faisal





PostPosted: ClickOnce and Setup & Deployment Projects, .net Deployement Top

Dear all

How to validate the user input in custom interface,

I am not able to access the textbox any where,

Plz help me




Windows Forms34  
 
 
PhilWilson





PostPosted: ClickOnce and Setup & Deployment Projects, .net Deployement Top

If you're referring to the text in a setup project's user interface, you can't check it directly when the user enters it. Visual Studio setup projects have no feature to add custom action code in the UI sequence. The best you can do is let the user enter it and then validate it in a custom action, but the custom action will run pretty much at the end of the installation and this may not be what you want. There are other tools that build MSI files that will let you do this.