check .net version and install newer if needed
I'm trying to figure out the best way to code this batch for an install package. There's a step in my install process that calls for installing .Net 4.6.1. I need the code to look on the target system and if it doesn't see .Net 4.6.1 or newer then it needs to install the .exe file.
I've search high and low and can't seem to find anything that will work so any help with this would be greatly appreciated.