I haven't used it but this was the best solution I could come up for headliner strip and was recommended by a top notch car upholstery shop.
https://www.sailrite.com/Flexible-Me...ip-Medium-Duty
they also sell this type:
https://www.sailrite.com/Upholstery-Tack-Strip-27