After You Install > Post-installation Tasks > AttachTemplateDatabase

AttachTemplateDatabase

This task attaches an existing database to the program. It attaches the full specified database--- (not a *.bak file) to the existing database, and copies it to the specified data path.

Option

Description

ConnectString

Enter the connection string for the SQL Server instance where the database is created.

Server=<server machine>\<server instance name>;integrated security=sspi;database=<database name>

Server=MYMACHINE\MSSQLSERVER;integrated security=sspi;database=BBInfinity

A Microsoft article about connection strings for SQL Server in .NET: SqlConnection.ConnectionString Property

DataPath

Enter the location to store the new data files on the SQL Server instance. If you do not enter a path, the default is used.

DBName

Enter the name of the database to create in SQL Server.

SourceDataPath

Enter the location of the source data files. The path must contain a valid database file named bb_prim.mdf.