问题
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:
- 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 (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