https://bugs.winehq.org/show_bug.cgi?id=52506
Bug ID: 52506 Summary: Setup of game "What's the Secret?" fails to create icon Product: Wine Version: 7.1 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 71804 --> https://bugs.winehq.org/attachment.cgi?id=71804 Output of `WINEDEBUG=+shell wine 3msetup.exe`
The children's educational game "What's the Secret?" creates a program group named "3M Learning Software" and an icon within it named "What's the Secret?", as can be seen in the attached trace:
0080:trace:shell:Dde_OnExecute conv=000000000025B0A0 topic=L"Progman" data=L"[CreateGroup(3M Learning Software)]"
0080:trace:shell:Dde_OnExecute conv=000000000025B0A0 topic=L"Progman" data=L"[AddItem("C:\windows\apw_data\launch.exe F:\3MSecret.exe",What's the Secret?)]"
There are two problems here:
1. The icon's target is a path plus arguments, which Wine does not support.
2. The icon name includes a question mark. That worked just fine on Windows 3.1, but when the Program Manager was replaced with the Start menu in Windows 95, "What's the Secret?" was automatically converted to "What's the Secret_" to make it a valid file name. Wine imitates the Start menu but doesn't do any icon name sanitization.
Although installation fails, the game can still be run directly from the CD.