Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Dear Sir/madam,
As I am very new in this technology, and I have made a windows application in C#.net 3.5 with sql server 2005.I also made the setup from vs2008 wizard, But I can not configure Server (such as Amit/SQLEXPRESS). Is there any way to make the setup that automatically configure the server name when I install the setup onto client system.
Please send me the step by step process.
Please help me
Posted

1 solution

hey dude,

save your connection string in app.config
and update it during setup

here is sample code

Modifying app.config File[^]


and


http://raquila.com/software/configure-app-config-application-settings-during-msi-install/[^]
 
Share this answer
 

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