Determine how many lights you'll need and where they should be installed. Then identify the power source, which should be an outdoor GFCI outlet, and determine what other electrical devices are powered by it. Do not overload the circuit. Mount the transformer on the wall near the power source. The transformer should be at least 1' above ground level. (Image 1)
If you plan to attach the transformer to a brick wall, drill mounting holes, using a masonry bit, and place plastic or lead anchors in the holes (Image 2).
If you can't mount the transformer to the wall, drive a 3' stake into the ground near the outlet. Mount the transformer to the stake at least 1' above ground.
Most transformers use timers to turn the lights on and off. Some transformers use photocells to turn them on automatically at night.