My goal is to have one setup file that will first install SQL Express via the EmbedSQLExpress project and then install my custom application. Here is what I've tried but with no luck
I add my custom app to the setup project and then all the release files from EmbedSQLExpress. I then point a custom action at EmbedSQLExpress.exe in the install folder. I would expect that during the install this would get called first and then my custom app would be installed.
The thing is, if I go to my EmbedSQLExpress project and double click the exe, everything works right, sql express installs, so, it's working correctly. I'm missing something in the setup project.
I don't add "primary output" from the EmbedSQLExpress.
I'm doing almost exactly what's going on here in the Deploying SQL Server 2005 Express Edition by Using a Wrapper
http://msdn.microsoft.com/en-us/library/bb264562(SQL.90).aspx