diff --git a/builders/windows-builder.py b/builders/windows-builder.py index 19f94c0..4357997 100644 --- a/builders/windows-builder.py +++ b/builders/windows-builder.py @@ -174,7 +174,8 @@ class WindowsBuilder(Builder): Description=description, IgnoreFailure='yes', Program=program, Protocol='udp', Scope='any')) # Add the file association XML - with open(os.path.join(self.config_dir, 'file_associations.xml')) as assoc_file: + config_dir = os.path.dirname(self.config_path) + with open(os.path.join(config_dir, 'file_associations.xml')) as assoc_file: file_assoc = parse(assoc_file) component.append(file_assoc.getroot()) element.append(component)