Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

How can i access next button click event in setup project with C# ? So; for example get the pop up message when i clicked next button in setup page.

I need help quickly!

Thanx

Mansur İşçel.
Posted
Updated 16-May-13 22:22pm
v4
Comments
Richard C Bishop 16-May-13 10:17am    
That makes no sense. If want to create an event handler then just do it. Button_Click(object sender, EventArgs e){}.
Johnny J. 16-May-13 10:26am    
If I understand him correctly, he wants to know how he can customize the setup dialog sequence in the msi installer that he creates from a setup project in VS
Richard C Bishop 16-May-13 10:30am    
You got more out of it than I did.
miscel05 17-May-13 3:03am    
Dear Johnny,
Yes, you're right understand. I want to access next button click event(step by step) when changing the setup page.

1 solution

You can add custom actions while installation process like,

Several installation events are exposed for you to override, like:

Install
Commit
OnAfterInstall
OnAfterRollback
OnAfterUninstall
OnBeforeInstall
OnBeforeRollback
OnBeforeUninstall
OnCommitted
OnCommitting
Rollback
Uninstall

Please refer for more details :
http://devcity.net/PrintArticle.aspx?ArticleID=339[^]

Hope this will help.
 
Share this answer
 
Comments
miscel05 23-May-13 11:34am    
Thanks Mayur Panchal, good job for me !

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