WingetIntune
WingetIntune copied to clipboard
[Bug]: PowerShell "Could not find file logo.png
CommandLet
New-WtWingetPackage
Full command
New-WtWingetPackage -PackageId Dell.CommandUpdate -PackageFolder $rootPackageFolder | Deploy-WtWin32App
Module version
1.0.2
What happened?
I tried to package Dell.CommandUpdate or also Microsoft.PowerToys with New-WtWingetPackage, but i get an error that the logo.png missing. It wants do download the logo from api.winstall.app but there is no logo for this packet in this service. If you open "https://api.winstall.app/icons/Microsoft.PowerToys.png" it answer with "Cannot GET /icons/Microsoft.PowerToys.png".
I think it would be great if you could include error handling and detection and whether or not this service has a logo for this package and try another service or provide a sample/standard log file.
Command output
INFO: Packaging package Dell.CommandUpdate 5.4.0
INFO: [WingetManager] Getting package info for Dell.CommandUpdate 5.4.0 from github
INFO: [IntuneManager] Generating IntuneWin package for Dell.CommandUpdate 5.4.0 X64 System in C:\whoami\intunepkg
INFO: [IntuneManager] Downloading installer from https://dl.dell.com/FOLDER11914075M/1/Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE to C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0\Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE
INFO: [DefaultFileManager] Downloading https://dl.dell.com/FOLDER11914075M/1/Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE to C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0\Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE
INFO: [DefaultFileManager] Downloaded file https://dl.dell.com/FOLDER11914075M/1/Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE has hash 'B62A438922232DDDAB51A18BDCCF4BE4D1C9D26B04B048B4A77A77D4CD228B49' as expected
INFO: [Packager] Creating Intune package from C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0
INFO: [Packager] Creating package for C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0\Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE in C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0 to C:\whoami\intunepkg\Dell.CommandUpdate\5.4.0
INFO: [Packager] Compressing the source folder C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0 to C:\Users\whoami\AppData\Local\Temp\85c87382-5a53-4037-9a0a-4058f4d32049\IntuneWinPackage\Contents\IntunePackage.intunewin
INFO: [Packager] Generating application info
INFO: [Packager] Encrypting file C:\Users\whoami\AppData\Local\Temp\85c87382-5a53-4037-9a0a-4058f4d32049\IntuneWinPackage\Contents\IntunePackage.intunewin
INFO: [Packager] Generated detection XML file C:\Users\whoami\AppData\Local\Temp\85c87382-5a53-4037-9a0a-4058f4d32049\IntuneWinPackage\Metadata\Detection.xml
INFO: [Packager] Done creating package for C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0\Dell-Command-Update-Application_6VFWW_WIN_5.4.0_A00.EXE in C:\Users\whoami\AppData\Local\Temp\wintuner\Dell.CommandUpdate\5.4.0 to C:\whoami\intunepkg\Dell.CommandUpdate\5.4.0
INFO: [IntuneManager] Downloading logo from https://api.winstall.app/icons/Dell.CommandUpdate.png
INFO: [DefaultFileManager] Downloading https://api.winstall.app/icons/Dell.CommandUpdate.png to C:\whoami\intunepkg\Dell.CommandUpdate\logo.png
New-WtWingetPackage: Could not find file 'C:\whoami\intunepkg\Dell.CommandUpdate\logo.png'.
PowerShell version
7.4.5
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I won't demand an immediate answer