Measure the area around the ceiling where you want to install the rope light. For tray ceilings, the ideal location is around the edge where the corner of the ceiling meets the wall. This edge is usually darker than the rest of the ceiling. You can also use the lighting along the edge where the tray ceiling meets the main ceiling. Use the measurement to determine how much rope light you need when you go shopping. Make sure it is long enough to cover the entire circumference and that you are able to reach an electrical plug with the end.
Predrill the track, using a drill bit that is slightly smaller than your drywall screws. Drill at each end of the track. If the tracks are longer, such as more than 3 feet long, you should add a hole in the middle of every foot.
Screw the track into the desired location along the edge of the tray ceiling. Use drywall screws and screw into each hole. Make sure you use screws with a flat head so they lie flush along the track.
Press the rope light into the track so it is firmly in position. Start at the end of the room farthest from your plug and work toward the side that has the plug. Make sure the lights are snugly in position all the way along by running your hand over them.
Plug the lights in, using an extension cord or the cord that came with the rope lights.