Other point to consider, you can nest this element within the component, in that case, the installer will create a windows user account user during the install, and we do not need that in this sample. <SqlDatabase> Using this element we can specify some settings required to create the database, such as database name, server, instance and user.