[BUG] [GUIDE] Some packages might get broken file type / extensions associations (MPV from Chocolatey in my case) after wingetui ⇾ unigetui migration #2477
[X] This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
3.1.0
Windows version, edition, and architecture
Windows 11 Pro for Workstations 23H2 b22631.3880
Describe your issue
In short, when using builtin chocolatey / scoop / wingetui tools, they are migrated to a different directory to reflect the name change rather harshly which broke a bunch of stuff for me.
Besides breaking some startup items, and some executables / shims disappearing from the %path%, one of the worst to troubleshoot was in my case broken mpv open source media player associations.
Symptoms:
When opening a file with broken association, "Choose a program to open this file with..." Windows dialog always opens instead.
The MPV option/s in the dialog are missing icon.
When broken mpv association is set as "open with by default app", in the file properties, there's "Unknown application" or "Unknown program" text instead of the application name (mpv).
Solution:
Uninstall all instances of mpv
Open windows registry editor
Navigate to Computer\HKEY_CLASSES_ROOT\Applications\
Look for mpv.exe subkey
Delete the whole mpv.exe subkey
Install mpv from Chocolatey again, make sure all installation scripts finish successfully.
In registry editor, press F5 to refresh, and check that mpv.exe subkey has been recreated by the installation scripts
File associations should now work.
Steps to reproduce the issue
Install older version of wingetui and set it up with default settings,
Install mpv from chocolatey source,
Associate some media files to use mpv by default
Upgrade wingetui to unigetui
Associaton is broken after unigetui migrates data / %chocolateyinstall% directory.
Please confirm these before moving forward
UniGetUI Version
3.1.0
Windows version, edition, and architecture
Windows 11 Pro for Workstations 23H2 b22631.3880
Describe your issue
In short, when using builtin chocolatey / scoop / wingetui tools, they are migrated to a different directory to reflect the name change rather harshly which broke a bunch of stuff for me.
Besides breaking some startup items, and some executables / shims disappearing from the %path%, one of the worst to troubleshoot was in my case broken mpv open source media player associations.
Symptoms:
When opening a file with broken association, "Choose a program to open this file with..." Windows dialog always opens instead. The MPV option/s in the dialog are missing icon. When broken mpv association is set as "open with by default app", in the file properties, there's "Unknown application" or "Unknown program" text instead of the application name (mpv).
Solution:
Computer\HKEY_CLASSES_ROOT\Applications\
mpv.exe
subkeympv.exe
subkeympv.exe
subkey has been recreated by the installation scriptsSteps to reproduce the issue
UniGetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
No response