mdf file not attached when deployed using Windows Installer?
I do have mdf data file which is static, when i tried to deploy using Windows Installer method. The mdf file was not attached. But when i use the OnceClick method, the file is attached and is running fine.
In the codes, i have set the connection to
Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\myfile.mdf;Integrated Security=True
am i correct on this?

