Re: [WiX-users] Create database by attaching mdf and ldf file

2009-01-21 Thread Yan Sklyarenko
.nabble.com/Attach-a-database-td712370.html#a712373 Hope this helps. -- Yan -Original Message- From: Peter Björkman [mailto:peter.bjork...@aptus.se] Sent: Wednesday, January 21, 2009 5:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Create database by

[WiX-users] Create database by attaching mdf and ldf file

2009-01-21 Thread Peter Björkman
Hi everyone I have been trying to create a database by attaching a pair of mdf/ldf files. I can't get it to work properly so I hope someone has an easy solution for this. I have been using a SqlString element with a call to sp_attach_db but I am getting problems. First I used the mdf file