1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02:50 +00:00

Try to fix up Firewall extension namespacing

This commit is contained in:
Raoul Snyman 2019-04-25 14:42:08 -07:00
parent 3344018f79
commit d9e3a66fe8

View File

@ -165,16 +165,14 @@ class WindowsBuilder(Builder):
if 'OpenLP.exe' in source:
description = 'Firewall exception for OpenLP\'s remote interface (UDP)'
program = '[#file_e368869eb54b01e2288a3359b1cf51f8]'
namespace = 'http://schemas.microsoft.com/wix/FirewallExtension'
nsmap = {'fx': namespace}
component.append(E.FirewallException(Id='1797D56F-0AD4-81A6-6011-F8AE0B7CFB4F', Name='OpenLP',
component.append(E.FirewallException('fw:FirewallException',
Id='1797D56F-0AD4-81A6-6011-F8AE0B7CFB4F', Name='OpenLP',
Description=description, IgnoreFailure='yes',
Program=program, Protocol='tcp', Scope='any',
namespace=namespace, nsmap=nsmap))
component.append(E.FirewallException(Id='183115E6-A080-964D-4A4F-43880083F189', Name='OpenLP',
Program=program, Protocol='tcp', Scope='any'))
component.append(E.FirewallException('fw:FirewallException',
Id='183115E6-A080-964D-4A4F-43880083F189', Name='OpenLP',
Description=description, IgnoreFailure='yes',
Program=program, Protocol='udp', Scope='any',
namespace=namespace, nsmap=nsmap))
Program=program, Protocol='udp', Scope='any'))
element.append(component)
components.append(component)