Click here to Skip to main content
15,883,805 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,
I had created a windows application and a setup project for my application using custom actions UI forms. In my setup project I had added a dialog box which will takes two parameters (username and password) in this case I am Unable to validate these two fields. I need to validate these username and password text box fields.
if the user does not provide any username or password i have to disable the Next Button in the form else enable the Next Button.

How to do this check?

how to work with Back And Next Buttons in the setup and deployment project. where can i find the reference of the Back And Next Button?

I had created a Installer1 class which inherits the Installer class. I had override the code for Install Commit, Rollback And Uninstall methods. I need some examples on this type of setup projects.
Posted
Updated 20-Jul-12 0:09am
v2
Comments
wizardzz 19-Jul-12 14:18pm    
Why can't you validate? What are you stuck on?
SubrahmanyamGurram 20-Jul-12 3:49am    
I am unable to check textbox fields are filled or not? if they are filled then only i have to enable the next button else next button will be disabled. I want do this operation before going to next form in the setup forms. can you suggest me any articles on this.
Thanks for the interest!
Please proceed with what you can do by googling.
Then if u find difficulty in code execution, it is the best place to share your code so that we can track your problem and provide you solutions.
Please use "Improve question" link for the same.
SubrahmanyamGurram 20-Jul-12 3:20am    
Hi Tadit,

I am very new to setup and deployment type of programming. I find some useful articles in codeproject. I didnt find any article or examples how to work with Next and Back Button events.

1 solution

 
Share this answer
 
Comments
SubrahmanyamGurram 20-Jul-12 7:00am    
Hi Tadit,

I know how to make windows forms validation. But I am not asking about that. I am asking how to validate the UI Forms of the Custom Actions Dialog Boxes for setup and deployment template.
In the custom actions in VS 2010, We have Custom UI Interface like Textboxes A4 , RadioButtons A3 readme , Licence Agrement dialogboxes.
I need to validate these textboxes for the next form.
If you have any one working on these please forward my query.
Thanks And Regards
Pooja Kharape 26-Dec-12 0:56am    
Hi Subrahmanyam,
Like you am too new to setup and deployment type of programming.Am also facing same problem. Have you got any solution for the same...I hope you must have...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900