How can I make my project installer only (Setup Project) install if specific operating system conditions are met..

For example, I know my program doesn't work on Windows 98, what happens if someone installs on it? I need it to automatically say 'Invalid operating system' or some error, and list the operating systems supported...

Does anyone know how to do this?

Thanks