PExplorer
PExplorer copied to clipboard
Tutorial: can I use a 3rd-part StartMenu?
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\","
)