Open gerhard4 opened 1 year ago
This is because the link used for the MSI installer in the manifest is incorrect and the zip from that InstallerUrl doesn't include paint.net.5.0.9.winmsi.x64.msi
Though the bigger concern here is that the PR should not have passed the validation pipelines with incorrect RelativeFilePath. The pipelines should be checking whether the executable mentioned in RelativeFilePath
actually exists in the zip archive (or maybe I'm wrong to assume that this functionality existed before).
Related to #115461
cc @denelon @stephengillie
Feature/bug request:
The pipelines should be checking whether the executable mentioned in
RelativeFilePath
actually exists in the zip archive.
To my knowledge, this check is not currently performed - these actions are run, and the output codes are checked, like other validation types. So adding this check would fix another gap in validation.
This bug still exists in 5.0.10 You have to manually find and run the installer in %TEMP%\WinGet\dotPDNLLC.paintdotnet.5.0.10\extracted
Still present in 5.0.11
Still present in 5.0.12
log:
PS C:\Users\Leon> winget upgrade dotPDNLLC.paintdotnet
Found paint.net [dotPDNLLC.paintdotnet] Version 5.0.12
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/paintdotnet/release/releases/download/v5.0.12/paint.net.5.0.12.install.x64.zip
██████████████████████████████ 62.4 MB / 62.4 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Nested installer file does not exist. Ensure the specified relative path of the nested installer matches: C:\Users\Leon\AppData\Local\Temp\WinGet\dotPDNLLC.paintdotnet.5.0.12\extracted\paint.net.5.0.12.winmsi.x64.msi
Attempt to run installer manually from temp folder also failed with error code 1603.
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
When running
winget upgrade
, it tries to updatedotPDNLLC.paintdotnet
and fails with this output:Steps to reproduce
winget upgrade dotPDNLLC.paintdotnet
with a current version of 5.0.7.Actual behavior
The upgrade fails.
Expected behavior
The upgrade succeeds.
Environment
Screenshots and Logs
The verbose log shows this:
The content of
C:\Users\gerhard\AppData\Local\Temp\WinGet\dotPDNLLC.paintdotnet.5.0.9\extracted
is:Note that it looks for a file
paint.net.5.0.9.winmsi.x64.msi
, but the extracted file name ispaint.net.5.0.9.install.x64.exe
.