Add SQL Server to your prerequisite
If you need configuration other then default one you need to write a custom action and execute SQL Server installation in your code.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP