https://bugs.winehq.org/show_bug.cgi?id=44555
Bug ID: 44555 Summary: Native windows file associations (not Linux's) are automatically replaced with winebrowser Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: magiblot@hotmail.com Distribution: ---
Hi there.
So I want to open image files with a Windows application, e.g. Microsoft Photo Editor, provided by Office 97.
After installation, the file association is created in the registry. Thus, a key is written in the entry 'HKEY_CLASSES_ROOT\pngfile\shell\open\command' with the value 'C:\Program Files\Common Files\Microsoft Shared\PhotoEd\PhotoEd.exe "%1"'.
With this registry configuration, the wine-extension-png.desktop file which runs 'wine start /ProgIDOpen pngfile %f' properly opens files with Microsoft Photo Editor from the Linux file manager.
In certain conditions, such as after a wine update, a 'The configuration in ($WINEPREFIX) is being updated, please wait...' dialog box appears and, from then on, the value of the key I mentioned above is changed back to '"C:\Program Files\Internet Explorer\iexplore.exe" -nohome'.
Therefore, 'wine start /ProgIDOpen pngfile %f' does no longer open Microsoft Photo Editor, but winebrowser.
I would like not to have my file associations replaced anytime wine wants to.
https://bugs.winehq.org/show_bug.cgi?id=44555
--- Comment #1 from magiblot magiblot@hotmail.com --- I should add that other Windows applications will try to open image files, so it would actually be convenient to keep the internal Windows file association with Microsoft Photo Editor. Creating a .desktop file which runs this application independently of ProgIDOpen: pngfile would work as a workaround for opening image files from Linux but would not be a complete solution to the problem.