SimpleFC::AdvAddRule from NSIS Simple Firewall Plugin will add a duplicate rule if the exact rule already exists.
SimpleFC::AdvRemoveRule [name] will remove one entry, but not all of them.
What is a good way to remove duplicated firewall rules?
SimpleFC::AdvAddRule from NSIS Simple Firewall Plugin will add a duplicate rule if the exact rule already exists.
SimpleFC::AdvRemoveRule [name] will remove one entry, but not all of them.
What is a good way to remove duplicated firewall rules?
You could probably use a loop and remove one by one until SimpleFC::AdvExistsRule is false if they all have the same name.