I mounted mine on my awning roller on my last RV; and simply plugged it in when I set up with a wire running down the awning leg. On my current RV, I instead mounted it on the side of the RV just under the awning. That way I can use it regardless of whether the awning is deployed or not, and the wiring is permanent. Can't say I really notice much of a difference in the amount of usable light between the 2 locations.
Seem to remember someone posting that they installed on the roller and ran the wiring diagonally across the awning so that it would roll up with the awning. Seems like a lot of work to me, but the person swore it worked well.