diff --git a/build.gradle b/build.gradle index 51b6ab8b45e..6bd7332d011 100644 --- a/build.gradle +++ b/build.gradle @@ -577,8 +577,7 @@ jlink { '--vendor', 'JabRef', '--app-version', "${project.version}", '--win-upgrade-uuid', 'd636b4ee-6f10-451e-bf57-c89656780e36', - // temporarily disabled due to conflict with Jpackage update - //'--win-dir-chooser', + '--win-dir-chooser', '--win-shortcut', '--temp', "$buildDir/installer", '--resource-dir', "${projectDir}/buildres/windows" diff --git a/buildres/windows/JabRef-post-image.wsf b/buildres/windows/JabRef-post-image.wsf index b7feaf3c66d..aa1b3e90030 100644 --- a/buildres/windows/JabRef-post-image.wsf +++ b/buildres/windows/JabRef-post-image.wsf @@ -11,7 +11,7 @@ // Copy additional installer resources fileSystem.CopyFile(jabRefRoot + "/buildres/windows/JabRefTopBanner.bmp", installerConfig); - var wxsFilePath = jabRefRoot + "/buildres/windows/JabRef.wxs"; + var wxsFilePath = installerConfig + "JabRef.wxs"; wxsFile = fileSystem.OpenTextFile(wxsFilePath, 1); var contents = wxsFile.ReadAll(); wxsFile.Close(); diff --git a/buildres/windows/JabRef.wxs b/buildres/windows/JabRef.wxs deleted file mode 100644 index 13bd4c38f6e..00000000000 --- a/buildres/windows/JabRef.wxs +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - 1 - - - !(loc.message.install.dir.exist) - - - - - - - - 1 - INSTALLDIR_VALID="0" - INSTALLDIR_VALID="1" - - - - 1 - 1 - - - - - - - - - - - - - - - - -