Actually it doesn't check with Lansweeper data. A condition will check during deployment on the device. This also ensures that it is always using live data.
Basically, you'll have to add a condition step, condition type is registry and then you can fill in the rest.
An alternative way of doing this would be if you target your deployment with a report. This is only really useful if you want to deploy on a specific Windows version, not if you want to use the version as a deciding factor to choose which file to deploy.
Simply create a report with a condition so only assets with the specific Windows version you want to deploy on show up. Then deploy and use the report as the target.