Remodeling projects

Often remodeling projects are run by general contractors who obtain and install products for you. But they are not in the service business. For example, if you have a tankless water heater installed in your basement, who will be available to fix it or do the annual maintenance? Or, if you have purchased windows with a 20-year warranty, who will be doing the work when and if there is ever a claim?