Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] (IDM update.exe launching on update check) #1655

Closed
4 tasks done
parlevjo2 opened this issue Dec 25, 2023 · 16 comments · Fixed by #1687
Closed
4 tasks done

[BUG] (IDM update.exe launching on update check) #1655

parlevjo2 opened this issue Dec 25, 2023 · 16 comments · Fixed by #1687
Assignees
Labels
bug Something isn't working important ready-to-go

Comments

@parlevjo2
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions
  • This issue is about a bug (if it is not, please use the correct template)

Describe your issue

After installing version 2.2.0 Each time I press Refresh on The Updates packages tab this program is started 3 times: c:\Program Files\IDM Computer Solutions\UltraFinder\update.exe and asks for administration permission. Also on initial start, then immediately this update.exe is started.
I have 3 Ultra* programs installed from IDM Computer Solutions. UltraEdit, UltraFInder, UltraCompare.
I have already uninstalled version 2.2.0 and reinstalled it, but still the same behaviour

Steps to reproduce the issue

Press Refresh button

WingetUI Log

🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
🔵 It took 0.0 to load all language files
🟢 checkQueue Thread started!
🔵 Language file up-to-date
🔵 Found default chocolatey installation on expected location
---------------------------------------------------------------------------------------------------

   WingetUI version 2.2.0 (version number 2.2) log
   All modules loaded successfully and sys.stdout patched correctly, starting main script
   Translator function language set to "nl"

---------------------------------------------------------------------------------------------------

 Log legend:
 🔵: Verbose
 🟢: Information
 🟡: Warning
 🟠: Handled unexpected exception
 🔴: Unhandled unexpected exception

🔴  Traceback (most recent call last):

🔴  Traceback (most recent call last):

🔴    File ".\__main__.py", line 75, in <module>

🔴    File ".\__main__.py", line 75, in <module>

🔴    File ".\PackageEngine\Classes.py", line 39, in __init__

🔴    File ".\PackageEngine\Classes.py", line 39, in __init__

🔴  AttributeError: 'NoneType' object has no attribute 'NAME'

🔴  AttributeError: 'NoneType' object has no attribute 'NAME'

🔴 Note this traceback was caught by reporter and has been added to the log ('NoneType' object has no attribute 'NAME')
🔵 Starting main application...
🔵 Looking for alive instances...
🔵 Starting API with random session authentication token 97e18ad9386cb6b22cb076e4bdc5682e4a88ed21ac0bb4387b0b376f0b4f1109
🟡 Found lock file(s), reactivating...
🔵 Reloading Winget sources...
🔵 Loading WingetUI AUMID...
🔵 Starting update check
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🔵 Starting Winget source search...
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🟢 Winget source search finished with 2 sources
🔵 Reactivation signal ignored: RaiseWindow_[1703523122.5272906]
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\wingetui.exe
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Scoop is uitgeschakeld', 'PipFound': False, 'PipVersion': 'Pip is uitgeschakeld', 'NpmFound': False, 'NpmVersion': 'Npm is uitgeschakeld', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool is uitgeschakeld', 'ChocolateyFound': True, 'ChocolateyVersion': '', 'WingetFound': True, 'WingetVersion': 'v1.6.3482  ', 'PowerShellFound': False, 'PowerShellVersion': ''}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🔵 Starting PowerShell search for installed packages
🟢 Searching for string ""
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🔵 Starting PowerShell source search...
🟢 Settings tab loaded!
🟢 About tab loaded!
🟢 Chocolatey source search finished with 0 sources
🟢 Winget source search finished with 0 sources
Win32Mica Error: win32 version 19045 is not supported
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
Win32Mica Error: win32 version 19045 is not supported
🟢 Main application loaded...
🟢 Total packages: 0
🟢 Total packages: 0
🟢 Total packages: 0
Traceback (most recent call last):
  File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in <lambda>
TypeError: 'NoneType' object is not callable
🟢 Scoop source search finished with 0 sources
🟢 Winget search for installed packages finished with 174 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🔵 Starting Winget search for updates
🔵 Starting Chocolatey search for updates
🔵 Starting PowerShell source search...
🟢 PowerShell search for installed packages finished with 2 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 176
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 PowerShell source search finished with 1 sources
🟢 Winget search for updates finished with 9 result(s)
🟡 Package EaseUS.PartitionMaster has version * ignored
🟡 Package DominikReichl.KeePass has version * ignored
🟡 Package IDMComputerSolutions,Inc.UltraEdit has version * ignored
🟢 Searching for string ""
🟢 PowerShell source search finished with 1 sources
🔵 Starting PowerShell search for updates
🔵 Loading WingetUI log...
🔵 Copying log to the clipboard...
🔵 Loading WingetUI log...

Package Managers Logs

Outputs from package managers on the current session:
 ---------Chocolatey
Chocolatey v2.2.2
0 packages installed.

---------Winget
- 
   \ 
   | 
                                                                                                                        

  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 8.68 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 8.68 MB
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 8.68 MB
  █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 8.68 MB
  █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 8.68 MB
  ████████████████████▒▒▒▒▒▒▒▒▒▒  6.00 MB / 8.68 MB
  ████████████████████████▒▒▒▒▒▒  7.00 MB / 8.68 MB
  ███████████████████████████▒▒▒  8.00 MB / 8.68 MB
  ██████████████████████████████  8.68 MB / 8.68 MB
                                                                                                                        

   - 
   \ 
   | 
   / 
   - 
   \ 
                                                                                                                        
Name                                    Id                                       Version               Available Source
-----------------------------------------------------------------------------------------------------------------------
UpNote 8.2.5                            25d6aa7b-585b-5b4c-8403-aece86b972ea     8.2.5
Gmail                                   5c673600487ab9f45d25b8ed2457de58         1.0
7-Zip 23.01 (x64)                       7zip.7zip                                23.01                           winget
Stuurprogrammapakket voor Windows - Ga… 98157A226B40B173301B0F53C8E98C47805D5152 04/19/2012 2.3.1.0
HP Smart                                AD2F1837.HPPrinterControl_v10z8vjag6ke6  150.1.1140.0
RoboForm 9-5-6-6 (All Users)            SiberSystems.RoboForm                    > 9.5.6                         winget
AVS DVD Copy version 4.1.2              AVS DVD Copy_is1                         Unknown
AVS Media Player 4.5.4                  AVS Media Player_is1                     4.5.4.123
AVS Screen Capture version 2.0.1        AVS Screen Capture_is1                   Unknown
AVS Update Manager 1.0                  AVS Update Manager_is1                   Unknown
AVS Video Editor 6.5                    AVS Video Editor_is1                     6.5.1.246
AVS Video ReMaker 4.0.8.140             AVS Video ReMaker_is1                    Unknown
AVS Video Recorder 2.6                  AVS Video Recorder_is1                   2.6.1.94
AVS4YOU Software Navigator 1.4          AVS4YOU Software Navigator_is1           Unknown
AVS Video Converter 10.0.4              AVS4YOU Video Converter 7_is1            10.0.4.616
Aangifte inkomstenbelasting 2012        Aangifte inkomstenbelasting 2012         Unknown
Aangifte inkomstenbelasting 2013        Aangifte inkomstenbelasting 2013         Unknown
Aangifte inkomstenbelasting 2014        Aangifte inkomstenbelasting 2014         Unknown
YouTube Song Downloader 2019            AbAppId-55_is1                           19.14
Access Console 22.4.1 [ghost.pinkeleph… Access Console [ghost.pinkelephant.nl]   22.4.1
Adobe Acrobat Reader                    AdobeAcrobatReaderCoreApp_pc75e8sa7ep4e  23.0.0.0
Architag XRay XML Editor                Architag XRay XML Editor                 2.0
Audacity 3.4.2                          Audacity.Audacity                        3.4.2                           winget
AutoHotkey                              AutoHotkey.AutoHotkey                    2.0.10                          winget
Backblaze                               Backblaze                                Unknown
Beyond Compare 3.3.13                   BeyondCompare3_is1                       3.3.13.18981
Bulk Rename Utility 3.4.4.0 (64-bit)    TGRMNSoftware.BulkRenameUtility          3.4.4.0                         winget
Canon Inkjet Printer/Scanner/Fax Exten… CANONIJPLM100                            Unknown
Canon LBP6000/LBP6018                   Canon LBP6000/LBP6018                    Unknown
Canon Quick Menu                        CanonQuickMenu                           2.8.5
Stuurprogrammapakket voor Windows - Si… D1506E0025B5A3F9EB8270FE81C1EEDD9388B8A2 02/06/2007 3.1
Dropbox                                 Dropbox.Dropbox                          189.4.8395                      winget
Dropbox                                 DropboxInc.Dropbox_wkt425jdc3sga         187.4.5691.0
Duplicate Photo Cleaner                 Duplicate Photo Cleaner_is1              Unknown
EaseUS Partition Master                 EaseUS.PartitionMaster                   Unknown               17.0      winget
Stuurprogrammapakket voor Windows - Dy… F9D2A789F9CFF8CEC36B544F53877C80F1F73C46 04/11/2012 1.2.40.201
MyHeritage Family Tree Builder          MyHeritage.FamilyTreeBuilder             8.0.0.8640                      winget
GnuWin32: File-5.03                     File-5.03_is1                            5.03
Geef me de 5                            Geef me de 5                             Unknown
Google Chrome                           Google.Chrome                            120.0.6099.130                  winget
Greenshot 1.2.10.6                      Greenshot.Greenshot                      1.2.10.6                        winget
Samsung Kies                            InstallShield_{758C8301-2696-4855-AF45-… 2.6.4.17113.1
IrfanView 4.62 (64-bit)                 IrfanSkiljan.IrfanView                   4.62                            winget
KeePass Password Safe 1.41              DominikReichl.KeePass                    1.41                  2.55.0    winget
KeePass Password Safe 2.55              DominikReichl.KeePass                    2.55                            winget
LockHunter 3.4, 32/64 bit               CrystalRich.LockHunter                   3.4.3.146                       winget
Look@LAN 2.50 Build 35                  Look@LAN_1.0                             Unknown
Canon MP Navigator EX 4.0               MP Navigator EX 4.0                      Unknown
MediaInfo 23.11                         MediaArea.MediaInfo.GUI                  23.11                           winget
Microsoft Edge                          Microsoft.Edge                           120.0.2210.91                   winget
Microsoft Edge Update                   Microsoft Edge Update                    1.3.181.5
Microsoft Edge WebView2 Runtime         Microsoft.EdgeWebView2Runtime            120.0.2210.91                   winget
Visual Studio 2005 Tools for Office tw… Microsoft Visual Studio 2005 Tools for … Unknown
Microsoft Visual Studio 2010 Tools for… Microsoft Visual Studio 2010 Tools for … 10.0.60910
Taalpakket voor Microsoft Visual Studi… Microsoft Visual Studio 2010 Tools for … 10.0.60910
App-installatieprogramma                Microsoft.AppInstaller                   1.21.3482.0                     winget
Uitbreidingen voor HEVC-video           Microsoft.HEVCVideoExtensions_8wekyb3d8… 2.0.61933.0
Microsoft Edge                          Microsoft.MicrosoftEdge.Stable_8wekyb3d… 120.0.2210.77
Microsoft .Net Native Framework Packag… Microsoft.NET.Native.Framework.2.2_8wek… 2.2.29512.0
Microsoft .Net Native Runtime Package … Microsoft.NET.Native.Runtime.2.2_8wekyb… 2.2.28604.0
Microsoft.UI.Xaml.2.7                   Microsoft.UI.Xaml.2.7                    7.2208.15002.0                  winget
Microsoft.UI.Xaml.2.8                   Microsoft.UI.Xaml.2.8                    8.2310.30001.0                  winget
Microsoft Visual C++ 2015 UWP Desktop … Microsoft.VCLibs.Desktop.14              14.0.32530.0                    winget
Microsoft Visual C++ 2015 UWP Runtime … Microsoft.VCLibs.140.00_8wekyb3d8bbwe    14.0.32530.0
Microsoft Foto's                        Microsoft.Windows.Photos_8wekyb3d8bbwe   2023.10070.17002.0
Windows Package Manager Source (winget) Microsoft.Winget.Source_8wekyb3d8bbwe    2023.1225.1204.175
Mozilla Firefox (x64 en-US)             Mozilla.Firefox                          120.0.1                         winget
Mozilla Maintenance Service             MozillaMaintenanceService                119.0
Mp3tag v3.23                            Mp3tag.Mp3tag                            3.23                            winget
No-IP DUC                               NoIP.DUC                                 4.1.1                           winget
Notepad++ (64-bit x64)                  Notepad++.Notepad++                      8.6                             winget
Microsoft 365-apps voor ondernemingen … O365ProPlusRetail - nl-nl                16.0.17029.20068
Microsoft OneDrive                      Microsoft.OneDrive                       23.246.1127.0002                winget
OpenSSL 3.1.4 Light (64-bit)            OpenSSL Light (64-bit)_is1               3.1.4
Opera Stable 105.0.4970.48              Opera.Opera                              105.0.4970.48         106.0.49… winget
Picasa 3                                Picasa 3                                 3.9.141.259
Red Eye Remover 2.0                     Red Eye Remover_is1                      Unknown
VLC media player                        VideoLAN.VLC                             3.0.20                          winget
Video Fingerprinting SDK .Net TRIAL     Video Fingerprinting SDK .Net TRIAL 12.… 12.1.11.0
Vim 9.0                                 Vim 9.0                                  9.0.0
VueScan x64                             VueScan x64                              9.6.47
Dashboard                               Western Digital SSD Dashboard            4.0.2.20
WinMerge 2.16.36.0 x64 (Current user, … WinMerge.WinMerge                        2.16.36.0                       winget
WinRAR 6.24 (64-bit)                    RARLab.WinRAR                            6.24.0                          winget
XnView 2.51.5                           XnSoft.XnView.Classic                    2.51.5                          winget
Google Drive                            a035982023c1756de24f1f91905c6f20         1.0
Mobirise 5.9.4                          Mobirise.Mobirise                        5.9.4                 5.9.11.76 winget
abcAVI                                  abcavi_tag_editor_is1                    Unknown
YouTube                                 c27eef9ad20e890bcfbc1a702b478007         1.0
Evernote 10.68.2                        evernote.evernote                        10.68.2               10.68.3   winget
Documenten                              e73a1bdaa07d3dc5859d5a6b4fb99eac         1.0
Presentaties                            f85a2d9270fbd7808f20034dc78b51d3         1.0
Spreadsheets                            faf9c1807b0207d8141ef2cf7249561e         1.0
Amplenote                               www.amplenote.com-8DF11B1B_c3yy4tv0rxzxc 1.0.0.0
Virtual Machine Manager Self-Service C… {0288C02B-0A3A-471A-8200-587620572B58}   2.0.4521.0
Microsoft Visual C++ 2013 Redistributa… Microsoft.VCRedist.2013.x64              12.0.40664.0                    winget
MiniTool Partition Wizard Free 12       {05D996FA-ADCB-4D23-BA3C-A7C184A8FAC6}_… Unknown
UltraCompare                            {07A7AE94-5AAA-468A-9A3C-EF75E73D8EE2}   23.0.0.40
CanoScan LiDE 210 Scanner Driver        {1199FAD5-9546-44f3-81CF-FFDB8040B7BF}_… Unknown
Microsoft Visual C++ 2008 Redistributa… {14297226-E0A0-3781-8911-E9D529552663}   9.0.30729
MSXML 4.0 SP3 Parser                    {196467F1-C11F-4F76-858B-5812ADC83B94}   4.30.2100.0
Microsoft Visual C++ 2010  x64 Redistr… Microsoft.VCRedist.2010.x64              10.0.40219                      winget
Microsoft Visual C++ 2008 Redistributa… {1F1C2DFC-2D24-3E06-BCB8-725134ADF989}   9.0.30729.4148
Microsoft Update Health Tools           {1FC1A6C2-576E-489A-9B4A-92D21F542136}   3.74.0.0
Microsoft Visual C++ 2015-2022 Redistr… Microsoft.VCRedist.2015+.x64             14.38.33130.0                   winget
Python 3.11.5 (64-bit)                  Python.Python.3.11                       3.11.5                3.11.7    winget
Samsung Magician                        Samsung.SamsungMagician                  8.0.0.900                       winget
Garmin City Navigator Europe NTU 2020.… {2F148A31-343B-4371-972A-AD3771DC8CC0}   2.0.0.0
Python Launcher                         Python.Launcher                          < 3.12.0              3.12.0    winget
Microsoft Visual C++ 2015-2022 Redistr… Microsoft.VCRedist.2015+.x86             14.38.33130.0                   winget
Malwarebytes version 4.6.6.294          Malwarebytes.Malwarebytes                4.6.6.294                       winget
Microsoft Visual C++ 2008 Redistributa… {350AA351-21FA-3270-8B7A-835434E766AD}   9.0.21022
MultiPing 2.20.1                        {3549B1E7-EC1C-4EE3-A7BA-DBE9A96BA132}   2.20.1.1
Garmin USB Drivers                      {3D5D6CFC-3097-425A-8D8F-7EAF5D57641D}   2.3.1.0
Microsoft ASP.NET MVC 4 Runtime         {3FE312D5-B862-40CE-8E4E-A6D8ABF62736}   4.0.40804.0
UltraEdit-32                            {43B6667D-7520-4186-B05B-F5C0494C495D}   10.20a
Software voor Intel® Chipset-apparaten  {4551f75f-3c54-4f09-8221-8c8a061bad00}   10.1.18019.8144
Garmin WebUpdater                       {4e365b8d-ed6f-4316-a1b8-f8762eaed5a0}   2.5.8
Bonjour                                 {56DDDFB8-7F79-4480-89D5-25E1F52AB28F}   3.1.0.1
Microsoft Visual C++ 2008 Redistributa… Microsoft.VCRedist.2008.x64              9.0.30729.6161                  winget
ManicTime                               ManicTime.ManicTime                      23.3.1.0                        winget
Calendar Sync Pro version 3.0           {676333C8-AB13-4221-89DD-2EF6361917EE}_… 3.0
Google Drive                            Google.GoogleDrive                       85.0.26.0                       winget
UltraFinder                             {6DF6BFEE-A212-4B4B-A99E-08F165B4E20E}   22.0.0.50
Microsoft Visual C++ 2005 Redistributa… Microsoft.VCRedist.2005.x86              8.0.61001                       winget
Java 8 Update 391 (64-bit)              Oracle.JavaRuntimeEnvironment            8.0.3910.13                     winget
Microsoft .NET Core Runtime - 3.1.32 (… Microsoft.DotNet.Runtime.3_1             3.1.32                          winget
Update for Windows 10 for x64-based Sy… {7B63012A-4AC6-40C6-B6AF-B24A84359DD5}   8.93.0.0
Microsoft Visual C++ 2008 Redistributa… {8220EEFE-38CD-377E-8595-13398D740ACE}   9.0.30729
Analysis Software                       {84F7BD75-F286-411F-A073-DDD46E15CEC6}   1.63
Realtek Ethernet Controller Driver      {8833FFB6-5B0C-4764-81AA-06DFEED9A476}   8.2.612.2012
WingetUI                                SomePythonThings.WingetUIStore           2.2.0                           winget
Microsoft Silverlight                   {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}   5.1.50918.0
Chess Tutor Step 1                      {8A6FDA71-871C-4F35-9392-A27B7E9B7A54}_… Unknown
Visual Studio Tools for the Office sys… {8FB53850-246A-3507-8ADE-0060093FFEA6}.… 1
iTunes                                  Apple.iTunes                             12.13.1.3                       winget
Time Zone Data Update Tool for Microso… {95120000-0038-0409-0000-0000000FF1CE}   12.0.4518.1093
Realtek USB 2.0 Card Reader             {96AE7E41-E34E-47D0-AC07-1091A8127911}   6.1.8400.39030
Apple Application Support (32-bit)      {9738288C-21BC-4F54-AB4F-72F059339376}   8.6
Ziggo Safe Online                       {9909EA19-6E44-4ED2-9873-FD467D8EBED4}   19.2
Microsoft Visual C++ 2008 Redistributa… {9A25302D-30C0-39D9-BD6F-21E6EC160475}   9.0.30729
Microsoft Visual C++ 2008 Redistributa… Microsoft.VCRedist.2008.x86              9.0.30729.6161                  winget
Sitecom 150N USB Wireless LAN Driver a… {9C049499-055C-4a0c-A916-1D8CA1FF45EB}   1.00.0142
T-Clock                                 {9C368D73-86BD-4114-B8BF-B5D1437479AA}_… 2.4.4.492
Microsoft Visual C++ 2013 Redistributa… Microsoft.VCRedist.2013.x86              12.0.40664.0                    winget
Adobe Acrobat (64-bit)                  {AC76BA86-1043-1033-7760-BC15014EA700}   23.006.20380
PowerShell 7-x64                        Microsoft.PowerShell                     7.4.0.0                         winget
UltraEdit                               IDMComputerSolutions,Inc.UltraEdit       30.1.0.23             30.2.27   winget
GoodSync                                SiberSystems.GoodSync                    12.5.1.1                        winget
Apple Software Update                   {B292D163-23D2-4523-A699-1ABEC1875609}   2.7.0.3
NVIDIA 3D Vision stuurprogramma 391.35  {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_… 391.35
NVIDIA Grafisch stuurprogramma 391.35   {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_… 391.35
NVIDIA GeForce Experience 3.13.1.30     Nvidia.GeForceExperience                 3.13.1.30             3.27.0.1… winget
NVIDIA 3D Vision controllerstuurprogra… {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_… 390.41
NVIDIA PhysX Systeem Software 9.19.0218 {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_… 9.19.0218
NVIDIA FrameView SDK 1.2.4999.30397803  {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_… 1.2.4999.30397803
NVIDIA HD Audio-stuurprogramma 1.3.36.6 {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_… 1.3.36.6
PDFCreator                              {CF96ADDA-9A70-4424-AE74-39654F8DCE0A}   5.1.2
Samsung USB Driver for Mobile Phones    {D0795B21-0CDA-4a92-AB9E-6E92D8111E44}   1.5.63.0
Windows Pc-statuscontrole               {D1F16371-7951-41EB-A367-507D779F1E64}   3.2.2110.14001
Windows 10-updateassistent              Microsoft.UpdateAssistant                1.4.19041.2183                  winget
Apple Mobile Device Support             {D76F9829-A6F3-48D3-A0B6-BC1522CB9F49}   17.0.0.21
Microsoft Online Services-aanmeldhulp   {D8AB93B0-6FBF-44A0-971F-C0669B5AE6DD}   7.250.4556.0
Apple Application Support (64-bit)      {DEB339C1-2687-43AB-816A-8714F3E26846}   8.6
Duplicate Photo Cleaner 7               {DF4FE8F9-110F-4F20-8F4B-204AAA1A64A5}_… 7.16.0.40
Microsoft Visual C++ 2010  x86 Redistr… Microsoft.VCRedist.2010.x86              10.0.40219                      winget
Realtek High Definition Audio Driver    {F132AF7F-7BCA-4EDE-8A7C-958108FE7DBC}   6.0.1.6680
Google Earth Pro                        Google.EarthPro                          7.3.6.9345                      winget
Microsoft Visual C++ 2008 Redistributa… {FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}   9.0.21022
Microsoft Visual C++ 2005 Redistributa… {ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}   8.0.61000
Microsoft Visual C++ 2012 Redistributa… Microsoft.VCRedist.2012.x64              11.0.61030.0                    winget
Garmin Express                          Garmin.Express                           7.19.0.0                        winget
Intel® Driver & Support Assistant       Intel.IntelDriverAndSupportAssistant     23.4.39.9                       winget
Microsoft Windows Desktop Runtime - 6.… Microsoft.DotNet.DesktopRuntime.6        6.0.25                          winget---------Chocolatey
Chocolatey v2.2.2
0 packages installed.

---------

Version    Name                                Repository           Description
-------    ----                                ----------           -----------
1.4.8.1    PackageManagement                   PSGallery            PackageManagement (a.k.a. OneGet) is a new way t...
1.21.0     PSScriptAnalyzer                    PSGallery            PSScriptAnalyzer provides script analysis and ch...
---------Chocolatey
Chocolatey v2.2.2
Outdated Packages
Output is package name | current version | available version | pinned?Chocolatey has determined 0 package(s) are outdated.

---------Winget
- 
   \ 
   | 
                                                                                                                        

  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 8.68 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 8.68 MB
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 8.68 MB
  █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 8.68 MB
  █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 8.68 MB
  ████████████████████▒▒▒▒▒▒▒▒▒▒  6.00 MB / 8.68 MB
  ████████████████████████▒▒▒▒▒▒  7.00 MB / 8.68 MB
  ███████████████████████████▒▒▒  8.00 MB / 8.68 MB
  ██████████████████████████████  8.68 MB / 8.68 MB
                                                                                                                        

   - 
   \ 
                                                                                                                        
Name                                Id                                 Version       Available     Source
---------------------------------------------------------------------------------------------------------
EaseUS Partition Master             EaseUS.PartitionMaster             Unknown       17.0          winget
KeePass Password Safe 1.41          DominikReichl.KeePass              1.41          2.55.0        winget
Opera Stable 105.0.4970.48          Opera.Opera                        105.0.4970.48 106.0.4998.16 winget
Mobirise 5.9.4                      Mobirise.Mobirise                  5.9.4         5.9.11.76     winget
Evernote 10.68.2                    evernote.evernote                  10.68.2       10.68.3       winget
Python 3.11.5 (64-bit)              Python.Python.3.11                 3.11.5        3.11.7        winget
Python Launcher                     Python.Launcher                    < 3.12.0      3.12.0        winget
UltraEdit                           IDMComputerSolutions,Inc.UltraEdit 30.1.0.23     30.2.27       winget
NVIDIA GeForce Experience 3.13.1.30 Nvidia.GeForceExperience           3.13.1.30     3.27.0.120    winget
9 upgrades available.

---------
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\Johan Parlevliet> 
PS C:\Users\Johan Parlevliet>         function Test-GalleryModuleUpdate
>>         {
>>             param
>>             (
>>                 [Parameter(Mandatory,ValueFromPipelineByPropertyName)]
>>                 [string]
>>                 $Name,
>> 
>>                 [Parameter(Mandatory,ValueFromPipelineByPropertyName)]
>>                 [version]
>>                 $Version,
>> 
>>                 [Parameter(Mandatory,ValueFromPipelineByPropertyName)]
>>                 [string]
>>                 $Repository,
>> 
>>                 [switch]
>>                 $NeedUpdateOnly
>>             )
>> 
>>             process
>>             {
>> 
>> 
>>                 $URLs = @{"PSGallery" = "https://www.powershellgallery.com/api/v2";}
>> 
>>                 $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -Maximum 0 -ea Ignore
>>                 [version]$latest = Split-Path -Path ($page.Headers.Location -replace "$Name." -replace ".nupkg") -Leaf
>>                 $needsupdate = $Latest -gt $Version
>> 
>>                 if ($needsupdate)
>>                 {
>>                     Write-Output ($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
>>                 }
>>             }
>>         }
>> 
PS C:\Users\Johan Parlevliet>         Get-InstalledModule | Test-GalleryModuleUpdate
PS C:\Users\Johan Parlevliet>         exit

Relevant information

none

Screenshots and videos

2023-12-25 18_17_30-Thuis - johan2 - johanparlevliet no-ip org_19603 - Verbinding met extern bureaub

@parlevjo2 parlevjo2 added the bug Something isn't working label Dec 25, 2023
@marticliment
Copy link
Owner

Hello,

I will need you to open a command prompt window and run the following:


winget upgrade
choco list --outdated

Do any of this commands trigger the UAC prompt?

@marticliment marticliment changed the title [BUG] (Enter your description here) [BUG] (IDM update.exe launching on update check) Dec 25, 2023
@marticliment marticliment added this to the Bugs milestone Dec 25, 2023
@parlevjo2
Copy link
Author

winget upgrade
Name                                Id                                 Version       Available     Source
---------------------------------------------------------------------------------------------------------
KeePass Password Safe 1.41          DominikReichl.KeePass              1.41          2.55.0        winget
Opera Stable 105.0.4970.48          Opera.Opera                        105.0.4970.48 106.0.4998.16 winget
Mobirise 5.9.4                      Mobirise.Mobirise                  5.9.4         5.9.11.76     winget
Evernote 10.68.2                    evernote.evernote                  10.68.2       10.68.3       winget
Python 3.11.5 (64-bit)              Python.Python.3.11                 3.11.5        3.11.7        winget
Python Launcher                     Python.Launcher                    < 3.12.0      3.12.0        winget
UltraEdit                           IDMComputerSolutions,Inc.UltraEdit 30.1.0.23     30.2.27       winget
NVIDIA GeForce Experience 3.13.1.30 Nvidia.GeForceExperience           3.13.1.30     3.27.0.120    winget
8 upgrades available.
1 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

choco list --outdated
Chocolatey v1.2.1
Using the list command with remote sources is deprecated and will be made
to only list locally installed packages in v2.0.0. Use the search, or find,
command to find packages on remote sources (such as the Chocolatey Community
Repository).
0 packages found.

@parlevjo2
Copy link
Author

I think the problem is that wingetui wants to run update.exe self and that it search update.exe in the PATH folders.

where update
C:\Program Files\IDM Computer Solutions\UltraFinder\update.exe

@parlevjo2
Copy link
Author

If I remove C:\Program Files\IDM Computer Solutions\UltraFinder from PATH the bug does not appear

@parlevjo2
Copy link
Author

I debugged this in procmon.exe and I found that this update.exe was started by powershell.exe, Command line: powershell.exe update self. I can reproduce the bug from the command line by executing command: powershell.exe update self

Date:	26-12-2023 11:29:48,6198861
Thread:	11864
Class:	Process
Operation:	Process Start
Result:	SUCCESS
Path:	
Duration:	0.0000000
Parent PID:	6880
Command line:	"C:\Program Files\IDM Computer Solutions\UltraFinder\update.exe" self
Current directory:	C:\Users\Johan Parlevliet\


Date:	26-12-2023 11:29:46,8912428
Thread:	16216
Class:	Process
Operation:	Process Start
Result:	SUCCESS
Path:	
Duration:	0.0000000
Parent PID:	13584
Command line:	powershell.exe  update self
Current directory:	C:\Users\Johan Parlevliet\

@parlevjo2
Copy link
Author

parlevjo2 commented Dec 26, 2023

This powershell,exe is started by wingetui,exe. Instead of powershell.exe update self it probably should be powershell.exe winget update self

Date:	26-12-2023 11:29:46,0688367
Thread:	3736
Class:	Process
Operation:	Process Start
Result:	SUCCESS
Path:	
Duration:	0.0000000
Parent PID:	4876
Command line:	C:\WINDOWS\system32\cmd.exe /c "powershell.exe update self"
Current directory:	C:\Users\Johan Parlevliet\

@marticliment
Copy link
Owner

I think the problem is that wingetui wants to run update.exe self and that it search update.exe in the PATH folders.

where update
C:\Program Files\IDM Computer Solutions\UltraFinder\update.exe

WIngetUI should not call any update.exe command, the updater is built-in, it is not an executable...

I will take a look at this

@Pandoriaantje
Copy link
Contributor

Pandoriaantje commented Dec 27, 2023

If I remove C:\Program Files\IDM Computer Solutions\UltraFinder from PATH the bug does not appear

I can confirm this. I also have some IDM products installed. IDM EasyUpdate gets triggered each time I launch wingetGUI. "update self" is an invalid parameter, so it pops up multiple errors. These products were installed standalone, outside of any 'manager'.

It's actually verry easy to reproduce.
have a IDM product installed, and launch wingetGUI or refresh the installed packages/software from within the GUI, and it'll popup multiple instances of "update self".

video:
https://github.com/marticliment/WingetUI/assets/4532787/07bd41e1-ec9b-4012-a85d-04a5deb68235

@Pandoriaantje
Copy link
Contributor

Pandoriaantje commented Dec 28, 2023

My guess is the culprit is in wingetui\PackageEngine\Managers\powershell.py at line 412.

    def updateSources(self, signal: Signal = None) -> None:
        subprocess.run(f"{self.EXECUTABLE} update self", shell=True, stdout=subprocess.PIPE)
        if signal:
            signal.emit()

this appears to spawn a shell with the "update self" command, which executes update.exe with the "self" argument, from the shell PATH, which IDM adds.

@marticliment
Copy link
Owner

marticliment commented Dec 28, 2023

Yes, this could be it.

I thought I had removed that piece of code, maybe it reappeared due to some incorrect git conflict resolution...

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Thanks!

@Pandoriaantje
Copy link
Contributor

maybe this could be fixed with proper quoting? I'm not a python wiz, but chatGPT suggested this change to me:
subprocess.run(f'"{self.EXECUTABLE}" update self', shell=True, stdout=subprocess.PIPE)

@marticliment
Copy link
Owner

No, the issue here is far more basic: this code shouldn't be here, since PowerShell gallery does not support manually updating package indexes. However, it looks as if the previously deleted code reappeared, possibly the cause of a poorly done git conflict resolution. (this then is my fault)
And therefore this command call is running "powershell.exe -Command update self", calling "update.exe" (a file that shouldn't be on the path but it is for whatever the reason) with "self" as a parameter, which the executable ignores.

@Pandoriaantje
Copy link
Contributor

Pandoriaantje commented Dec 28, 2023

Its indeed weird and unethical on IDM's part. I have UltraCompare, UltraEdit and UltraFinder installed. only Ultrafinder comes with update.exe, yet the updater also finds updates for their other product, but is not supplied in any other product's parent folder. But hey, at least you got a bug/code oversight spotted out of their malpractice. for now i'll just rename the update.exe, I don't use it anyway. Not sure if the path variable is also used for other purposes in the IDM products, so i'll keep that as is.

@parlevjo2
Copy link
Author

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Easy to test. In C:\Windows\System32 folder do copy "c:\Program Files\Windows NT\Accessories\wordpad.exe" update.exe
And do a refresh in WingetUI and Fresh start of WingetUI.
Also investigate why this update.exe is started 3 respectively 4 times

@Pandoriaantje
Copy link
Contributor

Pandoriaantje commented Jan 5, 2024

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Easy to test. In C:\Windows\System32 folder do copy "c:\Program Files\Windows NT\Accessories\wordpad.exe" update.exe And do a refresh in WingetUI and Fresh start of WingetUI. Also investigate why this update.exe is started 3 respectively 4 times

I believe the culprit has already been investigated, and found, just not fixed yet...

The only call to "update(.exe)" (a.f.a.i.c.t.) is in:
def updateSources(self, signal: Signal = None) -> None: subprocess.run(f"{self.EXECUTABLE} update self", shell=True, stdout=subprocess.PIPE) if signal: signal.emit()

anything in the (commandline) path that is named update(.exe) would be called.
This could actually be a security risk... any virus/trojan that nests itself in the PATH variable as 'update' would get executed. just pointing out the worst case scenario..

EDIT
I had some spare time to look into the code (again i'm no python wizzard), and it seems like all 'managers' share a same template (or this is how I interpret it), and powershell.py controls powershell. As @marticliment mentioned the "def updateSources()" code shouldn't be there in the first place. This wil spawn "poweshell.exe update self", so it wil execute "update(.exe) self", if "update" is in the path. not sure why "poweshell.exe update self" would be called, so i guess that is a leftover from reusing the template? to fix it, (like other manager templates implement), i changed the following in wingetui\PackageEngine\Managers\powershell.py":

def updateSources(self, signal: Signal = None) -> None: pass # Handled by the package manager, no need to manually reload if signal: signal.emit()

These are my personal assumptions, and do not claim it to be true/or correct in any way.

Pandoriaantje added a commit to Pandoriaantje/WingetUI that referenced this issue Jan 6, 2024
skip updateSources() for powershell gallery to fix marticliment#1655
@marticliment
Copy link
Owner

I am going to add a dummy update.exe file to local path and going to test it, but this should be the cause of the issue.

Easy to test. In C:\Windows\System32 folder do copy "c:\Program Files\Windows NT\Accessories\wordpad.exe" update.exe And do a refresh in WingetUI and Fresh start of WingetUI. Also investigate why this update.exe is started 3 respectively 4 times

I believe the culprit has already been investigated, and found, just not fixed yet...

The only call to "update(.exe)" (a.f.a.i.c.t.) is in: def updateSources(self, signal: Signal = None) -> None: subprocess.run(f"{self.EXECUTABLE} update self", shell=True, stdout=subprocess.PIPE) if signal: signal.emit()

anything in the (commandline) path that is named update(.exe) would be called. This could actually be a security risk... any virus/trojan that nests itself in the PATH variable as 'update' would get executed. just pointing out the worst case scenario..

EDIT I had some spare time to look into the code (again i'm no python wizzard), and it seems like all 'managers' share a same template (or this is how I interpret it), and powershell.py controls powershell. As @marticliment mentioned the "def updateSources()" code shouldn't be there in the first place. This wil spawn "poweshell.exe update self", so it wil execute "update(.exe) self", if "update" is in the path. not sure why "poweshell.exe update self" would be called, so i guess that is a leftover from reusing the template? to fix it, (like other manager templates implement), i changed the following in wingetui\PackageEngine\Managers\powershell.py":

def updateSources(self, signal: Signal = None) -> None: pass # Handled by the package manager, no need to manually reload if signal: signal.emit()

These are my personal assumptions, and do not claim it to be true/or correct in any way.

Yes, you are right.

When fixing conflicts when merging the PowerShell-testing branch I messed up this, and I did not realize this. This will be fixed on the next release

@marticliment marticliment removed this from the Bugs milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working important ready-to-go
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants