Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I want to create a setup file of a c# project that will take user information at the time of installation and save the information in the database. How can it be possible?
Thank you in advance.
Posted
Comments
souidi abderrahman 9-Jan-11 7:30am    
eh!! what must do it !

one way is to add a new project to your solution that will do the "get input - record database" work and run that executable at the end of the installation as a custom action in VS deployment project or installshield project.
 
Share this answer
 
Comments
Espen Harlinn 9-Jan-11 7:46am    
5+ I think we are heading in the same direction :)
See Post-Install Action:

http://msdn.microsoft.com/en-us/library/ms994369.aspx[^]


Use the Custom Actions Editor[^] - as explained in:
Walkthrough: Creating a Custom Action[^]

Regards
Espen Harlinn

PS! This is the second attempt at posting - the first one got lost in space or something ...
 
Share this answer
 
v2
Comments
MCY 9-Jan-11 15:08pm    
yep, that's what I always do :)

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