You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a package that is automatically updated using wingetcreate update from GitHub Actions. This worked fine, however, recently, the package manifest got updated to allow both per-user and per-machine installs (microsoft/winget-pkgs#103854). Because my installers support both scopes, this was done by duplicating an entry for each installer (there are two installers, one for 32-bit and one for 64-bit) and specifying each install scope once. So, there are now four installer entries with two different URLs.
This means that apparently the package cannot be updated with wingetcreate update anymore...
Steps to reproduce
First try, an existing command that was used for all previous versions:
wingetcreate update should upload all installers and create an updated manifest.
Actual behavior
wingetcreate update does not upload installers and create a manifest.
When only passing two (different) installer URLs (first command):
Retrieving latest manifest for filips.FirefoxPWA
Downloading and parsing: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86_64.msi...
Downloading and parsing: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86.msi...
The number of new installer packages must match the number of existing installer packages.
When passing all four installers URLs (second command):
Retrieving latest manifest for filips.FirefoxPWA
Downloading and parsing: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86_64.msi...
Downloading and parsing: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86.msi...
Downloading and parsing: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86_64.msi...
Downloading and parsing: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86.msi...
Each new installer URL must have a single match to an existing installer based on installer type and architecture. The following installers failed to match an existing installer:
No matches found for X64 Wix installer detected from url: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86_64.msi
No matches found for X86 Wix installer detected from url: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86.msi
No matches found for X64 Wix installer detected from url: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86_64.msi
No matches found for X86 Wix installer detected from url: https://github.com/filips123/PWAsForFirefox/releases/download/v2.6.0/firefoxpwa-2.6.0-x86.msi
Environment
[winget --info]
Windows Package Manager (Preview) v1.5.441-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.2965
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.441.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
[wingetcreate version]
WingetCreateCLI 1.2.5.0
Copyright (C) 2023 WingetCreateCLI
The text was updated successfully, but these errors were encountered:
@filips123 This should be resolved in WinGet-Create 1.2.6.0 (although I understand your use case is no longer valid as the scopes were removed from the package)
Brief description of your issue
I have a package that is automatically updated using
wingetcreate update
from GitHub Actions. This worked fine, however, recently, the package manifest got updated to allow both per-user and per-machine installs (microsoft/winget-pkgs#103854). Because my installers support both scopes, this was done by duplicating an entry for each installer (there are two installers, one for 32-bit and one for 64-bit) and specifying each install scope once. So, there are now four installer entries with two different URLs.This means that apparently the package cannot be updated with
wingetcreate update
anymore...Steps to reproduce
First try, an existing command that was used for all previous versions:
So, I tried to specify all four URLs in the same order as they are specified in the manifest:
Expected behavior
wingetcreate update
should upload all installers and create an updated manifest.Actual behavior
wingetcreate update
does not upload installers and create a manifest.When only passing two (different) installer URLs (first command):
When passing all four installers URLs (second command):
Environment
The text was updated successfully, but these errors were encountered: