-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
Description
Brief description of your issue
I used to be able to run this command line:
wingetcreate update Microsoft.XMLNotepad --version %VERSION% -o %WINGET_SRC% -u https://github.com/microsoft/XmlNotepad/releases/download/2.9.0.17/XmlNotepadPackage_2.9.0.17_AnyCPU.msixbundle
curl -O --location ... can find and download this url no problem, but now I get this error:
System.IO.FileNotFoundException: The system cannot find the file specified. (0x80070002)
Is it no longer able to follow redirects? Can you fix this? Weirdly, I get the same error on the fully expanded redirected URL also....
Stack trace:
System.IO.FileNotFoundException: The system cannot find the file specified. (0x80070002)
at Microsoft.Msix.Utils.AppxPackagingInterop.IAppxBundleReader.GetFootprintFile(APPX_BUNDLE_FOOTPRINT_FILE_TYPE fileType)
at Microsoft.WingetCreateCore.PackageParser.GetAppxMetadataAndSetInstallerProperties(String path, InstallerManifest installerManifest, Installer baseInstaller, List`1 installers)
at Microsoft.WingetCreateCore.PackageParser.ParseMsix(String path, Installer baseInstaller, Manifests manifests, List`1 newInstallers)
at Microsoft.WingetCreateCore.PackageParser.ParsePackageAndGenerateInstallerNodes(InstallerMetadata installerMetadata, Manifests manifests)
at Microsoft.WingetCreateCore.PackageParser.ParsePackage(InstallerMetadata installerMetadata, Manifests manifests)
at Microsoft.WingetCreateCore.PackageParser.ParsePackages(List`1 installerMetadataList, Manifests manifests)
at Microsoft.WingetCreateCLI.Commands.NewCommand.Execute()
at Microsoft.WingetCreateCLI.Program.Main(String[] args)
Steps to reproduce
wingetcreate update Microsoft.XMLNotepad --version %VERSION% -o %WINGET_SRC% -u https://github.com/microsoft/XmlNotepad/releases/download/2.9.0.17/XmlNotepadPackage_2.9.0.17_AnyCPU.msixbundle
Expected behavior
Used to work fine.
Actual behavior
System.IO.FileNotFoundException: The system cannot find the file specified. (0x80070002)
Environment
Windows Package Manager Manifest Creator v1.10.3.0
Copyright (c) Microsoft Corporation. All rights reserved.
Operating System: Microsoft Windows NT 10.0.26100.0
System Architecture: X64
Winget-Create Directories Path
------------------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\DiagOutputDir
User settings %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\settings.json
Installer cache %TEMP%\wingetcreate
Links
------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-create-privacy
License Agreement https://aka.ms/winget-create-license
Third Party Notices https://aka.ms/winget-create-3rdPartyNotice
Homepage https://aka.ms/winget-create