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