Create install problem

I have a small problem. I have a program I created that will ONLY run in Windows 7 (Windows 7 specific).

I want to create an installer for it, but I want to make sure it will ONLY install if it detects Windows 7.

What is the best way to do this? Do I need a specific program to accomplish this, or a script, or what?

Thanks, geniuses!