Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

Well i want to make a installation for my application, which would include only 3 files (.exe file and the database), but the catch is that i want the installer actually to add some data in one of the table in the database file (which is .mdf).

So any intro on how could i actually manage to do that?
(like maybe in visual studio 2008, or some other free program that makes setups?)

Thanks in Advance.
Posted
Updated 31-Mar-11 2:50am
v2

1 solution

Using a Custom Action On Database during installation[^]

Custom Action[^]

The above methods explain as to how you can go about creating a new database during the installation. I think the same with some modification can be used to insert the details into Database.
 
Share this answer
 
Comments
Аslam Iqbal 31-Mar-11 9:55am    
good link.5
Sandeep Mewara 31-Mar-11 10:17am    
Good answer & links. My 5!
Xonfused 31-Mar-11 10:25am    
thank you sir, i ll have a look at it
ZeeroC00l 31-Mar-11 11:16am    
You are welcome mate

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