In windows forms I have created an application.
I have created an exe file for that application.
But what I need is, While installing that exe file it should able to store user's infomation in database like user name, company name & etc..
Please provide the information.
Thank you.

Hemant SrivastavaPosted Dec 23, 2014, 2:17 PM
In VS-2010, you may add a setup installer project into your application (Not sure in VS-2013, may be through third party installer project Wix etc)
After adding installer project and setting up properly, you need to add an installer class into your main project In this class you need to define you custom Actions during install
Refer http://msdn.microsoft.com/en-us/library/9cdb5eda(v=vs.100).aspx
Then on the install method, get the Product Name etc info and save into your database
public override void Install(System.Collections.IDictionary stateSaver)