Install Application in Compatibility Mode

Hi Everyone! Can anyone tell me how can I install any application in Compatibility Mode in windows 10? I am facing issue while installing. I tried through CMD but it dosen’t worked for me. Waiting for solution.