FAQ: "Installing" the SQL Server 2008 Express ClickOnce Bootstrapper for Visual Studio 2008 SP1
Clearly, the names of our components are getting too long, but that's a matter for another post…
Many of you have noticed that the VS bootstrapper for SQL Express 2008 (and similarly the bootstrapper for Windows Installer 4.5) are installed by the Visual Studio 2008 Express SP1 products, but not by the VS SP1 patch that is applied to the non-Express versions. After noticing this, many of you have ask, "What's up with that?"
The short answer is that it's just one of those things that happens when two large development organizations get together, one group is using metric, the other is using standard and the next thing you know your Mars Probe is crashing; but I digress. The deal here is that we shipped SQL Express 2008 as part of VS Express 2008 SP1, so we included the necessary bootstrappers to support ClickOnce with the Express products. We didn't include SQL Express in the VS 2008 SP1 patch (non-Express) so we didn't include the bootstrappers. You can always install SQL Express 2008 for use with any SP1 edition of VS 2008, but the bootstrappers themselves are actually installed by VS, so we've got a gap. I've been talking to the VS team to get this sorted out, but in the mean time, here is a workaround to get the bootstrappers required for ClickOnce deployment of SQL Express 2008 onto your non-Express VS installations.
- Install any flavor of Visual Studio 2008 Express SP1.
- Go into the bootstrapper directory (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages) and rename both the SqlExpress2008 and WindowsInstaller4_5 directories.
- Uninstall Visual Studio 2008 Express SP1.
OK, it's silly, but it works. Steps 2 & 3 are optional if you don't mind leaving the VS Express installation on your computer, but if you don't want to keep it around you need to rename the directories to prevent the uninstall action from removing them. You don't have to re-rename the directories because population of the ClickOnce Prerequisites doesn't have anything to do with the directory names, it just scans the sub-directories under Packages and builds the list based on the manifests it finds there. There you have it, have fun.
- Mike
Comments
Anonymous
September 12, 2008
PingBack from http://www.easycoded.com/faq-installing-the-sql-server-2008-express-clickonce-bootstrapper-for-visual-studio-2008-sp1/Anonymous
September 12, 2008
You've been kicked (a good thing) - Trackback from DotNetKicks.comAnonymous
March 18, 2009
Has there been any change in this situation?Anonymous
March 18, 2009
No change at this time.Anonymous
August 01, 2009
Installing Visual Studio 2008 Express for C++ doesn't install the bootstrappers.Anonymous
August 25, 2009
This works ok, as next step I want to populate and configure the database in the same time as setup. No good support for everyday development problem found so far.Anonymous
January 07, 2010
Unfortunately there does not seem to be a solution for SQL Server 2008 Express SP1 which is required for installation on Windows 7. I can understand that there is a limit to what can be bundled with VS but surely it must be possible to provide the necessary bootstrapper files for download along with the distributables. I have posted a suggestion on Connect, please vote for it if you agree: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=523095Anonymous
January 07, 2010
@allancat: Probably too late now but if not or for anyone else, try the following: http://msdn2.microsoft.com/en-us/library/49b92ztk(VS.80).aspxAnonymous
September 18, 2010
hi i want to install sql server 2008 , and that required .netframework 3.5, but i m already install it, but it always required.. why??? plz help me .... its my email id- ssoni346@gmail.com so plz post solutionAnonymous
September 22, 2010
Why not go for .NET Framework 4.0 directly?Anonymous
January 05, 2011
Perhaps I am being dense, but, "1.Install any flavor of Visual Studio 2008 Express SP1. " does not result in a SqlExpress2008 or WindowsInstaller4_5 directory. I grabbed thhe c++ installer from here: www.microsoft.com/.../details.aspx. What could I be doing wrong?Anonymous
January 05, 2011
Hi Scott, I'm jumping in my Way Back Machine here, but if I recall correctly the issue you're seeing is specific to C++ Express. For some reason the C++ folks decided they didn't need/want SQL Express, so they don't ship it with that SKU, thus you don't see the directories. You actually have to install one of the other VS Express SKUs (VB, C# or VWD) to get the desired directories. Sorry for the oversight in my original post. -MikeAnonymous
June 05, 2011
hi guys i have problem like this i export my project but doesn't work in another computer (i should install the vs10) . and i installed sql express sp1 but i didn't get result (and i installed .net frame work 4 before the sql express)