How to add SQL Server 2008 Express to List of Prerequisites

血红的双手。 提交于 2019-12-04 01:44:47

问题


How can I add SQL Server 2008 Express to the list of Pre-requisites in Visual Studio 2008 SP1 MSI Installer Project.


回答1:


You have to download the SQL Server 2008 Bootstrapper from the MS Download Center (I think it is also included in the VS2008 Express Edition) and copy it into C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Each folder under 'Packages' is an entry of the list of Pre-requisites in Visual Studio 2008 SP1 MSI Installer Project.

BTW - If you want to create a custom Bootstrapper have a look at the article Authoring a Custom Bootstrapper Package




回答2:


  1. Install any flavor of Visual Studio 2008 Express SP1.
  2. Go into the bootstrapper directory (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages) and rename both the SqlExpress2008 and WindowsInstaller4_5 directories.
  3. Uninstall Visual Studio 2008 Express SP1 (IF you don't want to keep it).

Copied and pasted from: Sql Server Express Blog




回答3:


The option of SQL Server 2008 Express is included in the prerequisete list




回答4:


In Visual Studio 2010 the option of SQL Server 2008 Express is included in the Prerequisites list.




回答5:


As far as I know, when Visual Studio 2008 was realesed, SQL Server 2008 doesn't exists yet, only the 2005 version. So I think that you might not install the SQL Server 2005 when installing Visual Studio 2008, and after that, install SQL Server 2008 separately.

Regards.



来源:https://stackoverflow.com/questions/923439/how-to-add-sql-server-2008-express-to-list-of-prerequisites

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!