SamVanheer / HalfLifeAssetManager

Half-Life Asset Manager, a tool to view and edit Half-Life 1 models
Other
237 stars 29 forks source link

.mdl file association not working on Windows 11 #292

Closed Mystyle-48 closed 7 months ago

Mystyle-48 commented 7 months ago

On my Windows 11 machine, attempting to open a .mdl file from the explorer does not work.

Viewing the "Open with" entry for HLAM in OpenWithView reveals that the file path is C:\Windows\system32\C:/Program Files (x86)/Half-Life Asset Manager/HLAM.exe, which causes the file association to fail:

image

I have no idea where the system32 part comes from, as I installed the program normally with the offline installer.

Installation log file: InstallationLog.txt

SamVanheer commented 7 months ago

Thanks for reporting this. It turns out that the Qt installer framework doesn't convert slashes to backslashes on Windows and this causes Explorer to get confused. It should work properly starting with the next release.