Deployment with SQL Express 2005
-
First off, I have read this article: http://msdn.microsoft.com/en-us/library/bb264562.aspx#[^] And I have created the classes it mentions and I understand how to change the properties and all that. That is the easy part. My problem is how do I get the installer to trigger this wrapper during the application install process to get SQL Server installed? I have made many setup packages, but I've never tried to roll the installation of SQL Server itself into the setup package and I'm hitting a major brick wall and just can't get it figured out. I have my application, let's call it "MainProgram". I then created a secondary application called "SQLInstaller" that consists of the classes outlined in the article, and have built that exe. What I can't figure out is how to make the installer run my "SQLInstaller" during the installation of "MainProgram". I'm sure I'm making this more difficult than it needs to be, but I've just not been able get it, and all google articles seem to merely point back to the original article I've already read. Any assistance that would clarify the missing pieces would be greatly appreciated.
-
First off, I have read this article: http://msdn.microsoft.com/en-us/library/bb264562.aspx#[^] And I have created the classes it mentions and I understand how to change the properties and all that. That is the easy part. My problem is how do I get the installer to trigger this wrapper during the application install process to get SQL Server installed? I have made many setup packages, but I've never tried to roll the installation of SQL Server itself into the setup package and I'm hitting a major brick wall and just can't get it figured out. I have my application, let's call it "MainProgram". I then created a secondary application called "SQLInstaller" that consists of the classes outlined in the article, and have built that exe. What I can't figure out is how to make the installer run my "SQLInstaller" during the installation of "MainProgram". I'm sure I'm making this more difficult than it needs to be, but I've just not been able get it, and all google articles seem to merely point back to the original article I've already read. Any assistance that would clarify the missing pieces would be greatly appreciated.