Hello,
The steps should follow in this order:
- set SQL Server Express 2005 as a prerequisite for your package
- install the .mdf to the proper location by creating the appropriate structure from the Files and Folders Page. According to the Microsoft forums, the usual location is:
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\. However note that your user might select a different install location for your prerequisite, so you should use a Search to determine the location of SQL Server.
- consult the documentation on how to attach the database. Maybe this article on
how to move sql server databases will help.
Regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging