My electron should not install in windows 7

Hi Team,

Currently I am able to install my electron in both windows 7 and windows 10.

My requirement is electron should install in windows 10 and not in windows 7.

If I try to install my electron in windows 7 then it should display a message as “windows support is not available”.

Can anyone help me out. how to achieve the above requirement.

Krishna Chaitanya