Fix JabRef icon top banner in wix installer dialog#15202
Conversation
Review Summary by QodoEnable WiX banner in Windows installer configuration
WalkthroughsDescription• Uncommented WixUIBannerBmp variable in Windows installer configuration • Changed forward slashes to backslashes in banner file path • Enables custom banner display in WiX installer UI Diagramflowchart LR
A["WixUIBannerBmp commented out"] -- "uncomment and fix path" --> B["WixUIBannerBmp enabled with correct path"]
File Changes1. jabgui/buildres/windows/main.wxs
|
Code Review by Qodo
1.
|
| <?endif?> | ||
|
|
||
| <!-- <WixVariable Id="WixUIBannerBmp" Value="$(var.JpConfigDir)/JabRefTopBanner.bmp"> --> | ||
| <WixVariable Id="WixUIBannerBmp" Value="$(var.JpConfigDir)\JabRefTopBanner.bmp"> |
There was a problem hiding this comment.
1. wixvariable tag not closed 📘 Rule violation ✓ Correctness
The new <WixVariable ...> element is opened but never closed/self-closed, making main.wxs not well-formed XML and likely breaking the WiX build. This diverges from established file conventions and reduces reviewability/maintainability.
Agent Prompt
## Issue description
`jabgui/buildres/windows/main.wxs` introduces a `<WixVariable ...>` start tag but does not close it, making the XML invalid and likely breaking the WiX build.
## Issue Context
WiX variable declarations are typically self-closing elements (e.g., `<WixVariable ... />`). The current code has no `</WixVariable>` later in the file context.
## Fix Focus Areas
- jabgui/buildres/windows/main.wxs[104-106]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Review Summary by QodoEnable WixUI banner in Windows installer configuration
WalkthroughsDescription• Uncommented WixUIBannerBmp variable in Windows installer configuration • Changed forward slashes to backslashes in file path for Windows compatibility Diagramflowchart LR
A["WixUIBannerBmp commented out"] -- "uncomment and fix path" --> B["WixUIBannerBmp enabled with correct path"]
File Changes1. jabgui/buildres/windows/main.wxs
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
This comment has been minimized.
This comment has been minimized.
try from packages subdir
* upstream/wix2: from packages subdir try with other dir # Conflicts: # jabgui/buildres/windows/main.wxs
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
* refs/heads/main: Increase max assignments from 2 to 3 Chore(deps): Bump io.zonky.test:embedded-postgres in /versions (#15213) Chore(deps): Bump jablib/src/main/resources/csl-styles (#15211) New Crowdin updates (#15208) Fix: Prevent creating empty or duplicate fields (#15168) chore(deps): update jackson monorepo to v3.1.0 (#15203) Update KeywordEditor to work with escaping (#14929) Chore(deps): Bump com.dlsc.gemsfx:gemsfx in /versions (#15205) Chore(deps): Bump tools.jackson:jackson-bom in /versions (#15206) Fix: Reset External File Type to default (#15167) docs: fix link formatting in ADR 0012 (#15201)
* upstream/wix2:
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ All tests passed ✅🏷️ Commit: 671963e Learn more about TestLens at testlens.app. |
|
The build of this PR is available at https://builds.jabref.org/pull-15202/. |
* try again with wix banner * try again with wix banner * try with other dir * from packages subdir try from packages subdir * move JabRefTopBanner.bmp to main dir * verbose * temp dir * copy over banner * copy over banner * cahngelog * cahngelog * remove verbose and temp
* try again with wix banner * try again with wix banner * try with other dir * from packages subdir try from packages subdir * move JabRefTopBanner.bmp to main dir * verbose * temp dir * copy over banner * copy over banner * cahngelog * cahngelog * remove verbose and temp
Related issues and pull requests
Closes #14965
PR Description
Steps to test
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)