UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

FreeDownloadManager fails to update via UniGetUI

Open HulkSmashBurgers opened this issue 8 months ago • 5 comments

Please confirm these before moving forward

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

UniGetUI Version

3.1.8

Windows version, edition, and architecture

Windows 11 Pro 24H2 26100.3476 x64

Describe your issue

I've had this issue for a while. UniGetUI always errors when updating FreeDownloadManager, but update succeeds with WinGet command line. UniGetUI works if I choose Uninstall package, then update/reinstall.

Package update operation for Package=SoftDeluxe.FreeDownloadManager with Manager=Winget
Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Overriden options: <Scope=;RunAsAdministrator=;WG_SpecifyVersion=;PS_NoScope=False>
Executing process with StartInfo:
 - FileName: "C:\Users\MyUserName\AppData\Local\Microsoft\WindowsApps\winget.exe"
 - Arguments: "update --id "SoftDeluxe.FreeDownloadManager" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force"
Start Time: "4/5/2025 11:47:02 AM"
Found Free Download Manager [SoftDeluxe.FreeDownloadManager] Version 6.26.2.6190
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
You cancelled the installation.
Installer failed with exit code: 5
Installer log is available at: C:\Users\MyUserName\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-SoftDeluxe.FreeDownloadManager.6.26.2.6190-2025-04-05-11-47-12.437.log
End Time: "4/5/2025 11:47:14 AM"
Process return value: "-1978334964" (0x8A15010C)
Operation canceled by user

WinGet-SoftDeluxe.FreeDownloadManager.6.26.2.6190-2025-04-05-11-47-12.437.log

2025-04-05 11:47:13.896   Log opened. (Time zone: UTC-05:00)
2025-04-05 11:47:13.896   Setup version: Inno Setup version 6.2.2
2025-04-05 11:47:13.896   Original Setup EXE: C:\Users\MyUserName\AppData\Local\Temp\WinGet\SoftDeluxe.FreeDownloadManager.6.26.2.6190\fdm_x64_setup.exe
2025-04-05 11:47:13.896   Setup command line: /SL5="$180EF0,46507173,832512,C:\Users\MyUserName\AppData\Local\Temp\WinGet\SoftDeluxe.FreeDownloadManager.6.26.2.6190\fdm_x64_setup.exe" /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG="C:\Users\MyUserName\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-SoftDeluxe.FreeDownloadManager.6.26.2.6190-2025-04-05-11-47-12.437.log" /CURRENTUSER
2025-04-05 11:47:13.897   Windows version: 10.0.26100  (NT platform: Yes)
2025-04-05 11:47:13.897   64-bit Windows: Yes
2025-04-05 11:47:13.897   Processor architecture: x64
2025-04-05 11:47:13.897   User privileges: None
2025-04-05 11:47:13.918   Administrative install mode: No
2025-04-05 11:47:13.918   Install mode root key: HKEY_CURRENT_USER
2025-04-05 11:47:13.918   64-bit install mode: Yes
2025-04-05 11:47:13.933   Created temporary directory: C:\Users\MyUserName\AppData\Local\Temp\is-4J5CE.tmp
2025-04-05 11:47:13.950   -- DLL function import --
2025-04-05 11:47:13.950   Function name: SHFileOperationW
2025-04-05 11:47:13.950   DLL name: shell32.dll
2025-04-05 11:47:13.950   Dest DLL name: shell32.dll
2025-04-05 11:47:13.950   Importing the DLL function.
2025-04-05 11:47:13.950   Successfully imported the DLL function. Delay loaded? No
2025-04-05 11:47:13.950   -- DLL function import --
2025-04-05 11:47:13.950   Function name: GetFileAttributesW
2025-04-05 11:47:13.950   DLL name: kernel32.dll
2025-04-05 11:47:13.951   Dest DLL name: kernel32.dll
2025-04-05 11:47:13.951   Importing the DLL function.
2025-04-05 11:47:13.951   Successfully imported the DLL function. Delay loaded? No
2025-04-05 11:47:13.951   -- DLL function import --
2025-04-05 11:47:13.951   Function name: SetFileAttributesW
2025-04-05 11:47:13.951   DLL name: kernel32.dll
2025-04-05 11:47:13.951   Dest DLL name: kernel32.dll
2025-04-05 11:47:13.951   Importing the DLL function.
2025-04-05 11:47:13.951   Successfully imported the DLL function. Delay loaded? No
2025-04-05 11:47:14.682   Starting the installation process.
2025-04-05 11:47:14.712   Directory for uninstall files: C:\Program Files\Softdeluxe\Free Download Manager
2025-04-05 11:47:14.713   Will append to existing uninstall log: C:\Program Files\Softdeluxe\Free Download Manager\unins000.dat
2025-04-05 11:47:14.717   -- File entry --
2025-04-05 11:47:14.719   Dest filename: C:\Program Files\Softdeluxe\Free Download Manager\unins000.exe
2025-04-05 11:47:14.719   Non-default bitness: 32-bit
2025-04-05 11:47:14.725   Time stamp of our file: 2025-04-05 11:47:12.933
2025-04-05 11:47:14.725   Dest file exists.
2025-04-05 11:47:14.725   Time stamp of existing file: 2025-03-29 10:03:45.167
2025-04-05 11:47:14.725   Version of our file: 51.1052.0.0
2025-04-05 11:47:14.726   Version of existing file: 51.1052.0.0
2025-04-05 11:47:14.726   Installing the file.
2025-04-05 11:47:14.727   Defaulting to Abort for suppressed message box (Abort/Retry/Ignore):
                          C:\Program Files\Softdeluxe\Free Download Manager\unins000.exe
                          
                          An error occurred while trying to create a file in the destination directory:
                          Access is denied.
2025-04-05 11:47:14.728   User canceled the installation process.
2025-04-05 11:47:14.728   Rolling back changes.
2025-04-05 11:47:14.728   Starting the uninstallation process.
2025-04-05 11:47:14.728   Uninstallation process succeeded.
2025-04-05 11:47:14.728   Deinitializing Setup.
2025-04-05 11:47:14.759   Log closed.

Steps to reproduce the issue

Install FreeDownloadManager, wait for an update to be released, and try to update with UniGetUI.

UniGetUI Log

[4/5/2025 11:47:02 AM] Loaded operation parameters for package id=SoftDeluxe.FreeDownloadManager on manager Winget and operation Update: update --id "SoftDeluxe.FreeDownloadManager" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[4/5/2025 11:47:15 AM] Clearing UAC prompt since there are no remaining operations
[4/5/2025 11:47:15 AM] Resetting administrator rights cache for process id 8620

Package Managers Logs

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Patrick\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 4/5/2025 11:43:39 AM
Process end time:   4/5/2025 11:43:40 AM

-- Process STDOUT
  Updating all sources...
  Updating source: msstore...
  Done
  Updating source: winget...
  
   - 
                                                                                                                        
Done

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 4/5/2025 11:43:40 AM
Process end time:   4/5/2025 11:43:50 AM

-- Task information
  Found package System Informer WinsiderSS.SystemInformer on source winget, from version 3.2.25093.1457 to version 3.2.25095.459
  Found package Discord Discord.Discord on source winget, from version 1.0.9177 to version 1.0.9188
  Found package Free Download Manager SoftDeluxe.FreeDownloadManager on source winget, from version 6.26.1.6177 to version 6.26.2.6190

The task reported success

Relevant information

No response

Screenshots and videos

No response

HulkSmashBurgers avatar Apr 05 '25 17:04 HulkSmashBurgers

Does the update work if you perform it via WinGet (not from UniGetUI)

marticliment avatar Apr 05 '25 18:04 marticliment

Does the update work if you perform it via WinGet (not from UniGetUI)

Yes. That is what I meant by "WinGet command line". Sorry if that wasn't clear.

HulkSmashBurgers avatar Apr 05 '25 21:04 HulkSmashBurgers

C:\Program Files\Softdeluxe\Free Download Manager\unins000.exe An error occurred while trying to create a file in the destination directory: Access is denied.

This looks like either an issue with the Free Download Manager installer or the Elevator...

mrixner avatar Apr 06 '25 12:04 mrixner

@HulkSmashBurgers, if you try to update as administrator from UniGetUI, does the update still fail?

marticliment avatar Apr 06 '25 12:04 marticliment

@HulkSmashBurgers, if you try to update as administrator from UniGetUI, does the update still fail?

The oldest version available with Winget is 6.20.0.5470, and I installed it, but UniGetUI tells me no updates are found. FDM 5.1.38 is available on the website, but after I install it, UniGetUI shows is as Local PC and doesn't scan it for updates.

HulkSmashBurgers avatar Apr 06 '25 17:04 HulkSmashBurgers