mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Handle 64-bit apps properly in WiX
This commit is contained in:
parent
96070b52a5
commit
c0e6dfc226
@ -156,7 +156,10 @@ class WindowsBuilder(Builder):
|
||||
source_id = md5(source.encode('utf8')).hexdigest()
|
||||
file_id = 'file_{source_id}'.format(source_id=source_id)
|
||||
component_id = 'cmp_{source_id}'.format(source_id=source_id)
|
||||
file_ = E.File(Id=file_id, KeyPath="yes", Source=source)
|
||||
if self.arch == 'x64':
|
||||
file_ = E.File(Id=file_id, KeyPath="yes", Source=source, ProcessorArchitecture='x64')
|
||||
else:
|
||||
file_ = E.File(Id=file_id, KeyPath="yes", Source=source)
|
||||
component = E.Component(file_, Id=component_id, Guid='*')
|
||||
element.append(component)
|
||||
components.append(component)
|
||||
|
Loading…
Reference in New Issue
Block a user