I have a situation where I need to change the status of an existing Windows Firewall rule. The Windows Management Instrumentation (WMI-In) and (WMI-Out) are existing rules but disabled. I want to enable them without adding a new rule. I can't see a way to change an existing system rule or even add a rule for an EXE that isn't part of the package. It's looking like I'll have to hack this programmatically. Is that correct?
Edit: Nevermind. I found my own answer 2 minutes after posting this. For anyone else, I use a Run Windows Powershell Script deferred action just before Finish Execution:
Code: Select all
enable-NetFirewallRule -DisplayName "Windows Management Instrumentation (WMI-In)"
enable-NetFirewallRule -DisplayName "Windows Management Instrumentation (WMI-Out)"
FOLLOW US
Get the latest news in Application Packaging