Probably not what you are seeking - It really shouldn’t be required to disable the firewall to install a program.
How do you know the problem (whatever it is) is related to the firewall ?
What do you feel it is necessary to disable the firewall ?
Are you getting any errors ?