Skip to content

ArchiSteamFarm upgrade removes config file #5351

Open
@waltzInCSharpMajor

Description

@waltzInCSharpMajor

Brief description of your issue

ArchiSteamFarm (ASF) stores important configuration files that contain information like login details and settings in "/config". However, it seems that Winget completely wipes the folder when upgrading ASF, deleting the directory and replacing it with an empty one. As such, one would need to set up everything again.

I'm not sure if its related, but, though successfully upgrading ASF (ASF runs with the new version), Winget gives the following error at the end (my username is redacted for privacy):

An unexpected error occurred while executing the command:
copy_file: unknown error: "C:\Users\(username)\AppData\Local\Temp\WinGet\JustArchiNET.ArchiSteamFarm.6.1.4.3\extracted\logs", "C:\Users\(username)\AppData\Local\Microsoft\WinGet\Packages\JustArchiNET.ArchiSteamFarm_Microsoft.Winget.Source_8wekyb3d8bbwe\logs"
Installer failed with exit code: 0x8a150003 : Executing command failed

The following is the full Winget log file (again my username has been redacted):
WinGet-2025-04-03-09-10-45.370.log

Steps to reproduce

  1. Wait for ASF to have an update
  2. Upgrade ASF using Winget

Expected behavior

Winget would upgrade ASF without tampering with any pre-existing data

Actual behavior

Winget removes all configuration files

Environment

Windows: Windows.Desktop v10.0.26100.3624
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.340.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue related to WinGet UpgradePortableIssue related to portable package

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions