Hi Amit,
You can use SQL Scripts in your package through the
SQL Scripts page. Please note that the User Guide contains a
tutorial which may help you. After adding the install scripts, you can also add an uninstall SQL Script which removes the database. Please note that you can choose when the script will run (install or uninstall) by using the "Script Execution" section of the
SQL Script page.
Another approach would be to use
sqlcmd.exe as a
custom action.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging