diff --git a/builders/windows-builder.py b/builders/windows-builder.py index e254570..40174b1 100644 --- a/builders/windows-builder.py +++ b/builders/windows-builder.py @@ -205,7 +205,7 @@ class WindowsBuilder(Builder): self._print_verbose('Removing old MSI file') os.unlink(msi_file) config_dir = os.path.dirname(self.config_path) - os.chdir(os.path.abspath(os.path.join(self.dist_path, '..'))) + os.chdir(self.dist_path) self._run_command([self.candle_exe, '-ext', 'WiXUtilExtension', os.path.join(config_dir, 'OpenLP.wxs')], 'Error running WiX tool: candle') self._run_command([self.light_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension', 'OpenLP.wixobj',