I haven't done this, but have you considered an alternative approach - disabling the firewall post-install via netsh (so it could be scripted?) ...
1. Disable Firewall and Antivirus Windows Firewall or third-party antivirus software monitors traffic to prevent unauthorized ...