https://bugs.winehq.org/show_bug.cgi?id=51359
Bug ID: 51359 Summary: Wine does see an exe file unless is has an icon Product: Wine Version: 6.0.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: shagooserver@gmail.com Distribution: ---
Created attachment 70217 --> https://bugs.winehq.org/attachment.cgi?id=70217 winetricks GUI
Also affects staging 6.9.
Wine will not find or install any .exe file unless that exe file has a logo, using the command line: wine: cannot find L"/mnt/data1/Software/Multimedia/wavelab6/Install/setup.exe"
is returned, using the winetricks GUI the file is not visible.
This occurred on a fresh install of Kubuntu 21.04 and in one instance I was able to retrieve a back-up copy of the file where wine saw a logo (using the winetricks GUI) and the program installed.
https://bugs.winehq.org/show_bug.cgi?id=51359
--- Comment #1 from Scott shagooserver@gmail.com --- Continued from above... The icons are mostly not visible in a file manager but are when using the winetricks GUI. A properties comparison of two setup files, one local the other a backup showed they had the same number of bytes.
https://bugs.winehq.org/show_bug.cgi?id=51359
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
IMO, the icon is a symptom of the issue, not the cause. Wine can only generate the icon from files it can access. So, if Wine "cannot find" the exe file when you try to run it, it will not extract the icon either.
This looks like a wineprefix or path issue.
winetricks uses the WINEPREFIX that you tell it to use. Make sure that you use a WINEPREFIX that has access to the exe file.
Check in winecfg that the path where the exe files are accessible from one of the A: ... Z: dos drive.
Note that wine may have issue with remote/mounted/symlinked filesystems.
I always copy windows files in a drive_c/ subpath in the wineprefix when I want to run it, unless it is on a disk/floppy. In the latter case, make sure the disk/floppy drive has a dos letter assigned to it in winecfg.
"/mnt/data1" looks like a mounted path, so for a workaround, try to copy the whole installer directory to a temporary directory in your wineprefix drive_c/ and install from there. When the program is installed you can delete the temporary directory to get the disk space back.
To debug the "cannot find" exe file issue, please attach a WINEDEBUG=+file debug log. Instructions to get a debug log can be found there: https://wiki.winehq.org/FAQ#get_log
Regards.
https://bugs.winehq.org/show_bug.cgi?id=51359
--- Comment #3 from Scott shagooserver@gmail.com --- I have followed your advice and created a debug log but it contains nothing more that I detailed in my opening comment, that being: wine: cannot find L"/mnt/data1/Software/Multimedia/wavelab6/Install/setup.exe"
It appears that I have not explained fully the chain of events that occurred: 1/attempt to install exe file - unsuccessful 2/rename the exe file to exe1 3/copy a backup of the exe file to the same directory as the renamed exe1 file 4/install the program successfully using the new exe file
Subsequent to successful program installation: a/compare file properties yo ensure they had the same number of bytes (which they did) b/checked permission state on each exe file c/further check the integrity of the original exe file by successfully executing it in Windows
By virtue of the fact I am executing the same file(s) with the same permissions from the same location to the same prefix with exactly the same command and the backup copy of the file installs correctly would tend to suggest it is not a wine prefix or path issue.
If I right click on the exe file and open with Window Program Loader it is found and started.
There is something wrong or inconsistent with the way wine is reading or not reading windows installation exe files. I know the file (exe1) is complete because it installs in windows and shows it's icon and starts execution from the file manager in Linux (though it does not complete as would be expected).
I did an incomplete search of other installation exe files using the winetricks GUI and found a couple more instances of non visible (and presumably not findable by wine) exe files.
https://bugs.winehq.org/show_bug.cgi?id=51359
--- Comment #4 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Did you check if the file contents are identical?
Regards.
https://bugs.winehq.org/show_bug.cgi?id=51359
--- Comment #5 from Scott shagooserver@gmail.com --- As I said the bytes are same and they both work in Windows. I am unaware of how else to check they are identical.
https://bugs.winehq.org/show_bug.cgi?id=51359
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Scott from comment #5)
As I said the bytes are same and they both work in Windows. I am unaware of how else to check they are identical.
cmp -l file1 file2
or
sha256sum file1 file2
https://bugs.winehq.org/show_bug.cgi?id=51359
--- Comment #7 from Scott shagooserver@gmail.com --- It appears this issue is caused by the Nvidia 465 drivers as the issue disappears when using the Nouveau driver. Further it appears to only affect some CPUs such as my Ryzen 7 5800X and earlier models such as the 3700X are not affected. Issue can be closed.
https://bugs.winehq.org/show_bug.cgi?id=51359
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #8 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Scott from comment #7)
It appears this issue is caused by the Nvidia 465 drivers as the issue disappears when using the Nouveau driver. Further it appears to only affect some CPUs such as my Ryzen 7 5800X and earlier models such as the 3700X are not affected. Issue can be closed.
Hello,
Thanks for the update.
Marking resolved.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=51359
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #9 from André H. nerv@dawncrow.de --- closing invalid