Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial: can I use a 3rd-part StartMenu? #9

Open
slorelee opened this issue Jan 4, 2025 · 1 comment
Open

Tutorial: can I use a 3rd-part StartMenu? #9

slorelee opened this issue Jan 4, 2025 · 1 comment
Labels

Comments

@slorelee
Copy link
Owner

slorelee commented Jan 4, 2025

Reply on: April 08, 2017, 02:36:48 AM

Yes, Classic Shell(<= 4.2.5) can be used with WinXShell.


UPDATED: September 20, 2018, 09:35:05 AM

Yes, Classic Shell/Open-Shell > 4.2.5 also works but it check the shell name, it must be "explorer.exe".

because classishell now open source, I find out why the new version can't be used.
ClassicMenu.exe will check the shell process's name, it must be "explorer.exe".

if (_wcsicmp(PathFindFileName(path),L"explorer.exe")==0)

open the ClassicMenu.exe with Hex Editor, find the:

65 00 78 00 70 00 6C 00 6F 00 72 00 65 00 ('explorer.exe' in UNICODE)

and change this to 'winxshell.exe'.

Then you need to modify the WinXShell.jcfg to hide the origin Start icon.

FYI:

HERE is the batch code in WimBuilder2 to do that automatically:
(WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\WinXShell\sublast.bat)

set "_MenuEXE=%X%\Program Files\Classic Shell\ClassicStartMenu.exe"
if not exist "%_MenuEXE%" goto :EOF

rem update ClassicStartMenu.exe binary
rem binmay.exe -u "%_MenuEXE%" -s u:explorer.exe\0\0 -r u:WinXShell.exe\0
set  "_UStr_explorer=65 00 78 00 70 00 6C 00 6F 00 72 00 65 00 72 00 2E 00 65 00 78 00 65 00 00 00 00 00"
set "_UStr_WinXShell=57 00 69 00 6E 00 58 00 53 00 68 00 65 00 6C 00 6C 00 2E 00 65 00 78 00 65 00 00 00"
binmay.exe -u "%_MenuEXE%" -s "%_UStr_explorer%" -r "%_UStr_WinXShell%"

fc /b "%_MenuEXE%.org" "%_MenuEXE%"
del /f /q "%_MenuEXE%.org"

if "x%WB_PE_LANG%"=="xzh-CN" (
  binmay.exe -U "%X%\Program Files\WinXShell\WinXShell.jcfg" -s "223A3A E5BC80 E5A78B E68C89 E992AE 22 3A 20 22 7468656D65 22 2C" -r "223A3A E5BC80 E5A78B E68C89 E992AE 22 3A 20 22 656D707479 22 2C"
) else (
  binmay.exe -U "%X%\Program Files\WinXShell\WinXShell.jcfg" -s "t:\"start_icon\": \"theme\"," -r "t:\"start_icon\": \"empty\","
)
@slorelee slorelee added question Further information is requested tutorial and removed question Further information is requested labels Jan 4, 2025
@slorelee slorelee pinned this issue Jan 4, 2025
@ibay770
Copy link

ibay770 commented Jan 7, 2025

Thank you very much for this. Would this start menu work as well if it was renamed explorer?

https://www.startmenux.com/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants