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

Add Firewall extension to candle and light

This commit is contained in:
Raoul Snyman 2019-04-25 14:54:48 -07:00
parent d9e3a66fe8
commit 10d421b619

View File

@ -222,10 +222,11 @@ class WindowsBuilder(Builder):
os.unlink(msi_file)
config_dir = os.path.dirname(self.config_path)
os.chdir(self.dist_path)
self._run_command([self.candle_exe, '-ext', 'WiXUtilExtension', os.path.join(config_dir, 'OpenLP.wxs')],
self._run_command([self.candle_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension',
'-ext', 'WixFirewallExtension', os.path.join(config_dir, 'OpenLP.wxs')],
'Error running WiX tool: candle')
self._run_command([self.light_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension', 'OpenLP.wixobj',
'-o', msi_file],
self._run_command([self.light_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension',
'-ext', 'WixFirewallExtension', 'OpenLP.wixobj', '-o', msi_file],
'Error running WiX tool: light')
def _create_portableapp_structure(self):