In PowerShell (as Administrator) run the command

installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2012R1.txt

or

installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2012R2.txt

or

installRolesAndFeaturesOneByOne.ps1 -configurationFile .\rolesFeaturesWindowsServer2016.txt