I have this Sharepoint 2010 solution containing 3 projects:
- Class Library with Model classes
- Class Library with LINQ to SQL data context
- Sharepoint 2010 project
- WCF REST service
- 3 Visual web parts
- 1 package
- 1 feature
I'm developing an installer that will run the PowerShell cmdlets to install the solution.
But I have some code in the feature's FeatureInstalled event that needs to create and initalize a SQL server 2008 database. The connection string to this server will be asked to the end user in the installer.
How can I pass this connection string to the solution in order to make use of it in the FeatureInstalled event?