If you're going to use the window foam (which I highly recommend), and you have 12 windows, it's worth it to spend the extra $20 for the applicator. It will make your job easier and faster and more accurate. There's a "professional" spray foam gun that is reusable. The cans are bigger, so you get more out of a can for about the same price as the consumer can. You can get them at Lowes, HD, or Amazon. Get the spray foam cleaner too and rinse out the gun according to the instructions as SOON AS YOU ARE DONE FOR THE DAY. Don't wait or you'll make the gun a pretty stainless prop that is effectively sealed shut.
And, as somebody else said, the MOST IMPORTANT thing when doing windows is to get the taping/flashing done around the windows right! If you don't do this, you'll have water in the walls, and rot, and then your sheating and insulation and windows and framing all need to be replaced the hard way. Trust me on this, you don't want this. I had to have all my windows replaced and some of the framing around them as a result of this from a professional window installer not properly doing the flashing. It's a very, very important thing.