Click here to Skip to main content
15,889,858 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone share the installer script ? and the method to use it with the setup project in Visual studio 2008.

I am using C#.Net with SQL Server 2005, i have done with setup(My setup detects and install SqlServer 2005 Express Edition, dotnet framework and windows Installer 3.1) but when project runs it says that it cannot find the SQL Server.

Now i think that i need a installer script to attach my db file to the sql server to client PCs.

I am stuck here and need urgent help.
Posted
Updated 30-Dec-10 1:42am
v2

Add a new Installer[^] class to your project and make the operations you need there.

Then add the required custom actions [^]to your setup project, build and test.
 
Share this answer
 
Thanks Erik for you quick response, this installer class was unknown to me , i have to study it a bit in order to implement it ,

i think it will solve my problem.
 
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