Topic: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim  (Read 65217 times)

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #80 on: January 21, 2018, 11:34:12 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
Updated Plugin v04 attached.  :great:

ila_rendered

Place plugin in %BaseDir%\Projects\MyPlugins_Direct\Shell\  :whistling:

* 2-WinXShell.7z (1528.33 kB - downloaded 193 times.)

*display settings icon fixed

Updated plugin includes option to add Shutdown/Reboot UI and optional shortcuts to easily access it.  UI_Shutdown edited to allow themes. es-ES locale added. Dark Grey UI_Shutdown theme and modified layout added in addition to slore's original design.

for my wimbuilder(batch script) the just to be:

winxshell_patch(folder)
X\
  Windows\
        WinXShell.exe
        WinXShell.jcfg
  UI_WIFI\
        ...
  Config\
  Startup\
      wifi_tray.cmd
desktop_context.reg

Let's put something basic together (basic set of minimal reg keys and required files, like classic shell start menu, etc) so people can use your shell as their primary shell.. I'd love to enable this feature in the next version  :thumbsup:
« Last Edit: January 23, 2018, 03:21:49 AM by bob.omb »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #81 on: January 22, 2018, 11:15:49 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Hi bob.omb

I congratulate you for incorporating more of Slore's work. I love it and each of the parties is integrating very well. Now, I have little time to try, but tonight I will include it and comment.

The idea of including the shell as a native I love. The truth is that once executed it weighs very little. The current shell will occupy several megabytes while it does not occupy a part of four. These days I will try to have more time in case you decide to include and test. I will be available.

Slore has done a magnificent job and I would love it to be fully included.

Regards  :great:


EDIT

A few small changes in the translation to make them look good.


es-ES Shutdown botton

Quote
"Apagar" id="Power"/>

"Cerrar Ordenador"
id="CloseComputer"/>

"Apagar" id="Shutdown"/>

"Reiniciar" id="Restart"/>

"Hibernar" id="Hibernate"/>

"Suspender" id="Standby"/>

For the rest, everything works well and without problems.
« Last Edit: January 22, 2018, 02:31:18 PM by teik »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #82 on: January 23, 2018, 03:22:37 AM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
es-ES locale updated without version change in plugin linked above...

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #83 on: January 23, 2018, 06:33:55 AM »

vvurat

  • Jr. Chef
  • **
  • Date Registered: Aug 2011
  • Posts: 52
Thank you for plugin. Such plugins plugins are easiest way to learn how this utils work and implemented. Will try to decode and learn, i do not undestand from explanations

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #84 on: January 23, 2018, 11:43:24 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
es-ES locale updated without version change in plugin linked above...

Hi bob.omb
Thank you very much for including the changes. One more detail, the (Right-Click Desktop) I leave the translation in Spanish. In case you can do something to include it. I change it manually in the script, but in case you give it a spin and you get it put.

Display Settings =Configuración de Pantalla

Regards

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #85 on: January 31, 2018, 08:21:39 AM »

misty

  • Jr. Chef
  • **
  • Date Registered: Mar 2017
  • Posts: 18
@slore
Interesting and great work :thumbsup:

Any tips on how to edit the configuration file to get my third party file manager working in WinPE?

I'm using the path X:\Programs\Q-Dir\Q-Dir.exe - I can't seem to find any instructions for editing the config file to add paths (including relative paths).

Also I'm wondering how to add programs in a basic WinPE to the start menu - for example creating a custom start menu.

Any help will be greatly appreciated.

Misty

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #86 on: January 31, 2018, 06:04:57 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
hi,Misty

in winxshell.jcfg,
there is a "3rd_filemanager" option can be set to X:\\Program s\\Q-Dir\\Q-Dir.exe.

but the auto refresh function issue will remain.
for the global hook, there is another way --- change a byte of shell32.dll's code for GetShellWindow() got failed.
but different language version's shell32.dll maybe different.
so that is not a good solution.
« Last Edit: January 31, 2018, 06:12:11 PM by slore »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #87 on: February 01, 2018, 01:07:04 PM »

misty

  • Jr. Chef
  • **
  • Date Registered: Mar 2017
  • Posts: 18
...in winxshell.jcfg,
there is a "3rd_filemanager" option can be set to X:\\Program s\\Q-Dir\\Q-Dir.exe....

@slore
Adding the following worked -
Code: [Select]
  "JS_FILEEXPLORER":
  {
    "3rd_filename":"X:\\Programs\\Q-Dir\\Q-Dir",
    "#padding-bottom":20
  },
Is there also a 3rd_filemanager option? And where would this entry go? And what does it do?

In regards to the screen refresh issue - removing wallpaperhost.exe works for other shells on Windows 10 based WinPE (and Windows 8.1 based builds), however I've not tested it with WinXShell yet. Are there likely to be any issues if it's removed when WinXShell is used?

On a Windows 7 (SP1) based WinPE, WinXShell is working, however the screen does not refresh. Using cmd.exe as shell on the same build, screen refresh is working. This WinPE does not have wallpaperhost.exe.

@everyone
I am referring here to the screen refreshing in Filemanager type windows after a file is moved, or renamed, or deleted, or created. 

« Last Edit: February 01, 2018, 01:09:50 PM by misty »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #88 on: February 01, 2018, 02:31:03 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Hi,misty

another 3rd_filemanager is in JS_QUICKLANCH section,
it is for the explorer button on quicklauch.
mainly some file manager will start in last folder,when you want to always open "my computer", you can set some paramater for that.

auto refresh thing, can't work with winxshell, unless hook the API or change one byte of shell32.dll.
(different version will be different position, make it hard)

you means others shell can work, actractly thet are not "shell".
they don't have desktop are they?
GetShellWindow() return false for them.

your windows 7 PE is work ok?
right click desktop, the context menu show after freezing 1 min,
the shell block in 1 min.

I was fix that issue, I will upload in weekend.

thanks for the feedback.

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #89 on: February 02, 2018, 03:23:02 AM »

alacran

  • Jr. Chef
  • **
  • Date Registered: May 2014
  • Posts: 19
@slore

I am testing your shell, you have done a fantastic work.

I want to add some icons on the desktop with direct access to my favorite fileexplorer, and some other programs I use frecuently.

This is the path to my programs  X:\programs\ProgramName\Program.exe

Is there a way yo edit WinXShell.jcfg to do this? or some other way maybe?

Thanks in advance.


Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #90 on: February 02, 2018, 11:58:39 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
@alacran

Thanks for testing it.

The icon can't define in WinXShell.jcfg. it will make the config file being mess.
Like normal Windows, in the  %USERPROFILE%\Desktop folder(for most PE it is X:\Users\Default\Desktop),
create a shortcut for your program, then it will show on the Desktop.

for more information:
the StartMenu shortcut in %AppData%\Roaming\Microsoft\Windows\Start Menu
the quickLaunch shortcut in %AppData%\Roaming\Microsoft\Internet Explorer\Quick Launch

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #91 on: February 03, 2018, 01:26:49 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
For the right click, Context menu New. Not displayed and that locks the screen.
I solved here with:

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew]
"Classes"=hex(7):2e,00,6c,00,69,00,62,00,72,00,61,00,72,00,79,00,2d,00,6d,00,\
  73,00,00,00,2e,00,6c,00,6e,00,6b,00,00,00,2e,00,74,00,78,00,74,00,00,00,46,\
  00,6f,00,6c,00,64,00,65,00,72,00,00,00,00,00
"~reserved~"=hex:08,00,00,00,00,00,06,00

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #92 on: February 05, 2018, 06:06:57 AM »

alacran

  • Jr. Chef
  • **
  • Date Registered: May 2014
  • Posts: 19
@ slore

Thanks for your quick answer.

Once again your little tool is fantastic.

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #93 on: February 17, 2018, 08:19:41 PM »

vvurat

  • Jr. Chef
  • **
  • Date Registered: Aug 2011
  • Posts: 52
It starts in opposite corner and freezes. What the reason can be?





Transparent version not freezes and in the right corner. It works ok but when the mouse gets over for to select network there is a white rectangle appears and on the buttons i think translations missing it writes as ${Firewall}. Better it position over taskbar not in the exact zero to right bottom corner
« Last Edit: February 17, 2018, 08:37:18 PM by vvurat »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #94 on: February 17, 2018, 11:51:11 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, vvurat

quick answer:
see Reply #74, download that version and set
"wirednetworkicon":false, in UI_WIFI\main.jcfg.


details:
same issue was feedback in Relpy #62.
your PE's network component is not full functionally,
It freezes on the left top corner when
detecting if there is a wired connection to show the wired tray icon instead the wifi icon.


as only teik report that issue, I think it was the PE is not correct.
as you also have the problem, I will make this fix in next release version.
for now, I updated a description to link the direction to Reply #74 the first post.

Hope that will fix your problem.

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #95 on: February 18, 2018, 07:55:02 PM »

vvurat

  • Jr. Chef
  • **
  • Date Registered: Aug 2011
  • Posts: 52
Reply #74 version does not work

All versions prevents desktop icons loading (none of the desktop icons loads if the program runs)

Best working one is WinXShell_x64_2.7.1_trans.zip at least it is very close to working i think only desktop icons problem and better to start from upside of taskbar not from zero corner.

There is no dependency seen. Procmon says X:\Windows\System32\SHUNIMPL.DLL missing but no such file in windows 10 iso?

Here is Turkish translation until someone else translate better.

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #96 on: February 19, 2018, 05:47:00 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Hi,vvurat

did you add "wirednetworkicon":false, in UI_WIFI\main.jcfg?

>All versions prevents desktop icons loading (none of the desktop icons loads if the program runs)
that sounds new issue, but odd :confused:

How you start the winxshell.exe?

What if:
after the explorer.exe have been loaded(the desktop icons showed), then manually run the command:
Code: [Select]
winxshell.exe -ui -jcfg UI_WIFI\main.jcfg


winxshell.exe will auto get the desktop area, and move to the right-bottom corner.
it been the zero corner maybe have some relation with no desktop icons.(get the desktop area rectangle failed)

1.try winxshell.exe in your normal windows 10, to see if it showing in the right corner.
2.try to kill your explorer.exe and run:
Code: [Select]
winxshell.exe -winpe
rem wait 1 second
pause
winxshell.exe -ui -jcfg UI_WIFI\main.jcfg


more details of your PE base.
which version of Windows 10?

« Last Edit: February 19, 2018, 05:47:59 AM by slore »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #97 on: February 19, 2018, 08:28:38 AM »

vvurat

  • Jr. Chef
  • **
  • Date Registered: Aug 2011
  • Posts: 52
did you add "wirednetworkicon":false, in UI_WIFI\main.jcfg?

Yes. I did

I run it from pecmd.ini

Code: [Select]
LOGS *X:\PECMD.LOG
EXEC !winpeshl.exe
//INIT IU
LOGO %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
FONT %SystemRoot%\Fonts,0
TEAM DISP W1024 H768 B32|DISP W1366 H768 B32|DISP W1208 H960 B32|DISP W1440 H900 B32|DISP W1600 H900 B32|DISP W1920 H1080 B32|NUMK 0


REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray=#0

//EXEC =!PESET.exe Network

EXEC ctfmon.exe

LINK %Desktop%\Cmd,%SystemRoot%\System32\cmd.exe
LINK %Desktop%\Uzak Masaüstü,%SystemRoot%\System32\mstsc.exe
LINK %Desktop%\Internet Explorer,%SystemDrive%\Program Files\Internet Explorer\iexplore.exe
LINK %Desktop%\PENetwork,%SystemDrive%\Program Files\PENetwork\PENetwork.exe
LINK %Desktop%\TeamViewer,%SystemDrive%\Program Files (x86)\Network_Internet\TeamViewer.exe
LINK %Desktop%\Procmon,%SystemDrive%\Procmon.exe

EXEC =!CMD.EXE /C "@FOR %%A IN ("%ProgramFiles%\RegImport\*.reg") DO @REGEDIT /S "%%~A""

REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{59031a47-3f72-44a7-89c5-5595fe6b30ee}=#0
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{20D04FE0-3AEA-1069-A2D8-08002B30309D}=#0
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}=#0
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{645FF040-5081-101B-9F08-00AA002F954E}=#0
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}=#1

PINT %windir%\Explorer.exe,TaskBand
PINT %windir%\system32\cmd.exe,TaskBand
PINT %ProgramFiles%\PENetwork\PENetwork.exe,TaskBand

SHEL %SystemRoot%\explorer.exe
EXEC =!%SystemRoot%\WinXShell.exe -ui -jcfg UI_WIFI\main-modi.jcfg -hidewindow

     
TEAM FILE %public%\desktop\desktop.ini|FILE %desktop%\desktop.ini

My version 15063.rs2_release.170317-1834

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #98 on: February 20, 2018, 11:32:57 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Hi slore,
I have a doubt. I would like to leave it as in the picture I indicated when I started Win10PE. How can I do it? To be seen in the taskbar and not with the other icons. I describe the situation because I do not know how this section is called in other languages.

I like how the first image looks. The second one that hides the indo does not like me. How can I do it?
Thanks for everything and greetings.
« Last Edit: February 20, 2018, 11:33:42 AM by teik »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #99 on: February 22, 2018, 08:14:55 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Hi,vvurat

Quote
What if:
after the explorer.exe have been loaded(the desktop icons showed), then manually run the command:
winxshell.exe -ui -jcfg UI_WIFI\main.jcfg

What result is this action gotted? if that works, maybe add simple code line "sleep 3000" between SHEL explorer and winxshell.exe UI_WIFI.

I don't have a PE with explorer.exe, for winxshell.exe -winpe and normal Windows the works fine,
desktop icon is loaded, and show in the right corner, I will try to download some PE which one have explorer.exe as the shell, and boot with your startup.ini.


Hi,teik
Windows will auto hide the tray icon after 40 seconds default.
manually drag the icon from ^(hidden area) to the normal area, or set always show in
tray notifytion settings. I found no API to set a icon be "always show".

the tray notifytion settings is saved in
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify
IconStreams.

but this is a binary stream data, need be decode & encode it.
it is use grogram file path to assoc with the icon, and the path is encoded in a simple ROT13 algorithm.

I will make some code for that, but now I didn't have time to do this.
The alternative way is you can make it be always show in your PE, and
export the IconStreams to a reg file, and import it before you run WinXShell.exe.

 

Powered by EzPortal