microsoft / microsoft/winget-pkgs

IrfanView settings reset and cannot be modified

Open
#14,038 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Help-Wanted Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Brief description of your issue

Just did winget upgrade IrfanView from 4.56 to 4.57, after launch the app says it cannot write config INI file:

изображение

It should not happen, because the interactive installer has the option to configure this:
изображение

Seems to me that the first option is selected when installed with winget. It shouldn't be so, we are living in 2020s, not in 90s and apps shouldn't write to their install dir. Or at least, why doesn't it use VIrtualStore?

Expected behavior

App runs correctly with user settings saved in user profile.

Actual behavior

App cannot write its INI file because it is located in ProgramFiles.

Environment

winget v1.0.11451, installed from appx.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the IrfanView package's winget installation behavior for version 4.57, especially how the AppX installation places the application under ProgramFiles. Compare that behavior with the installer's user-profile configuration option; done means a winget-installed app can save its INI settings in the user profile without reporting a write failure.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.