I have been working on an application which works depending on the Operating System. I have written code of detecting OS version it works correctly when i run application in VS2013, it correctly detect windows 10 OS. But same code when i deploy and create an MSI and install that in windows 10 it detects OS as windows 7 even though i am installing that MSI in windows 10.
I am creating installer in Wix don't know what i am missing.