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

slore

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

oh, I finally understand what you mean:
Quote
can't move desktop items, i.e. can't move a folder to another area of the desktop
actually you **CAN move** desktop items,  but it MOVE like "view->auto arrange icon", you can instert/replace the items postion but
**can't move** them in any postion.

I think it is controling with a sample FLAG of it, when I figure out I will update the program and metion you.

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, bob.omb
>Same issue, when the machine has a wifi adapter and a wired connection is used there is no switch to wired icon...

when you said "a wired connection" is
a). the cable pluged
b). the INTERNET conected

which one?

RanCorX2

  • Jr. Chef
  • **
  • Date Registered: May 2018
  • Posts: 33
Hi, RanCorX2

oh, I finally understand what you mean:
Quote
can't move desktop items, i.e. can't move a folder to another area of the desktop
actually you **CAN move** desktop items,  but it MOVE like "view->auto arrange icon", you can instert/replace the items postion but
**can't move** them in any postion.

I think it is controling with a sample FLAG of it, when I figure out I will update the program and metion you.

:) If you manage to make it work, that'll be awesome!

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
@slore

wired connection = internet connected WITH cable  (NOT using wifi even if present)

on all laptops this shows wrong icon when using cable instead of wifi
« Last Edit: May 28, 2018, 08:35:15 PM by bob.omb »

RanCorX2

  • Jr. Chef
  • **
  • Date Registered: May 2018
  • Posts: 33
any word on fixing dragging files / folder on non pe install of windows?

slore

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

I found out that(dragging files/folders) it works in Windows 7/8/8.1 and Windows 10.0.14393.
but in later version of the Windows 10(also the PE which is based with those version),it causes next error.
Code: [Select]
shell\shell32\listviewhost.cpp(760)\SHELL32.dll!00007FFE14D2A40E: (caller: 00007FFE14D2D489) ReturnHr(62) tid(1a5ae8) 80070015 the device is not ready.
    CallContext:[\DragDrop\DesktopIconMoves]

There are some incompatible modification in new Windows 10 by Microsoft.
Sorry for now, I don't know how to fix it with my code.

RanCorX2

  • Jr. Chef
  • **
  • Date Registered: May 2018
  • Posts: 33
ah well, i can live without the desktop dragging, thanks for having a go slore.

btw, how do you enable the calendar, wifi and shutdown features?

slore

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

after shell started,run next for WIFI:
winxshell.exe -ui -jcfg UI_WIFI\main.jcfg -hidewindow [-theme darkgray]

for Calendar(click right cornern datetime erea will auto startup this).

if you want to create shortcut for this:
winxshell.exe -ui -jcfg UI_Calendar\main.jcfg


for shutdown:
winxshell.exe -ui -jcfg UI_Shutdown\main.jcfg


RanCorX2

  • Jr. Chef
  • **
  • Date Registered: May 2018
  • Posts: 33
is there no way to have the modules load automatically with the shell?

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
the Calendar will work with default config of the shell.

this is designed for Windows PE, separete the funtion for winxshell and explorer.exe,
and as a util tools.

automatically load in where?
startmenu?desktop right click context menu?shortcut on desktop?

So many entries for call them,I don't know which one is best.

YOU can tell what you want it to be. I will make a custom version for you.

FYI:
start the shell with winxshell.exe -winpe, the sample start menu SHUTDOWN will call "wpeutil.exe shutdown" defined in WinXShell.jcfg,
you can change it to "WinXShell.exe -ui -jcfg UI_SHUTDOWN\\main.jcfg".

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Here is a Preview version:
* WinXShell_x64_0711.zip (1123.34 kB - downloaded 113 times.)

StartMenu Mode(auto hide if startuping a application):
ila_rendered

FullScreen Mode(wouldn't hide unless click the WinXShell's shortcut to run the UI_Launcher again):
ila_rendered

How to Use?
1.create a shortcut with the next commandline, and pin the shortcut to taskbar or startmenu or quick launch folder.
Code: [Select]
WinXShell.exe -ui -jcfg wxsUI\UI_Launcher.jcfg

2.this is a sample only the notepad and calc will work, YOU need customize the UI_Launcher.zip/main.xml and main.jcfg by yourself.

  • fixed:tray NotifyInfo window can't show up
  • improve:make a clear folder structure, put all the UI_xxxx folders in to "wxsUI" folder
  • improve:the "wxsUI" folder name can be changed with the 'WINXSHELL_UIFOLDER' environment variable
  • improve:the UI_xxxx can be compressed in zip format(also support uncompressed wxsUI\UI_xxxx folder)
  • new:add a 'startup_win' option for UI stuff, they will startup in maximized window if the 'max' be setted
  • new:add 'sui:move(dx, dy, dw, dh)', 'sui:moveto(x,y, w, h)' method to change the window position and size in lua script
  • new:created a app-startup-panel --- UI_Launcher which is like Windows 10 startmenu style


TODO:
1. EASY to USE: auto import wxsStub.reg, shortcut's Open Contain Folder, regist UI_SystemInfo if detected the origin function can't work DONE
2. startup Calendar if trayarea Date & Time contextmenu clicked   DONE
3. extract the application icon auto, now you need convert to png files for them.   DONE
4. write a function for bind the application easily.   DONE
Code: [Select]
bind_app('app_notepad', '100x100', 'Notepad', 'X:\\Windows\\System32\\notepad.exe', 'ICON=<APP>,0@32')
5. create the Windows-10-like Calendar & Volume UI
« Last Edit: July 26, 2018, 03:31:39 PM by slore »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
2018-07-26 RC3.2.0 release:
* WinXShell_x64.zip (2239.74 kB - downloaded 348 times.)
* WinXShell_x86.zip (2087.66 kB - downloaded 465 times.)

screenshot:
ila_rendered
ila_rendered

winxshell.exe -daemon in W10XPE - gif
https://github.com/slorelee/wimbuilder_sample/tree/master/winxshell/
https://github.com/slorelee/wimbuilder_sample/tree/master/winxshell/deamon_in_pe.gif  (6.66MB)

  • fixed:tray NotifyInfo window can't show up
  • fixed:startup applactions many times which is in Run/RunOnce registry entres(startup up if winxshell restarting)
  • fixed:the clock area click event hooker which for showing the calendar causes the explorer.exe to crash and restart
  • fixed:the control panel startup slowly in Windows Embedded Standard(run control.exe once when shell startuping)
  • new:handle the ms-settings protocol with delegate command(even though without coding, just modify the registry also can do this, I implemented it with standard delegate method)
  •     handle resolution, personalization menu, and taskbar context menu: date and time, taskbar settings, etc
  • new:add a 'startup_win' option for UI stuff, they will startup in maximized window if the 'max' be setted
  • new:add 'sui:move(dx, dy, dw, dh)', 'sui:moveto(x,y, w, h)' method to change the window position and size in lua script
  • new:created a app-startup-panel --- UI_Launcher which is like Windows 10 startmenu style
  • new:add -wes option for Windows Embedded Standard
  • new:now, not the UI part, but the shell action can CODE with WinXShell.lua script, see WinXShell.lua for details
  • improve:make a clear folder structure, put all the UI_xxxx folders in to "wxsUI" folder
  • improve:the "wxsUI" folder name can be changed with the 'WINXSHELL_UIFOLDER' environment variable
  • improve:the UI_xxxx can be compressed in zip format(also support uncompressed wxsUI\UI_xxxx folder)
  • improve:UI details be updated(UI elements changed, change 'darkgray' theme to 'dark', and add Spanish locale translations), thank to bob.omb, teik
  • improve:EASY TO USE -- just run with '-winpe' or '-wes' or '-daemon' will do next actions auto with WinXShell.lua(can customize by everyone)
  •     * handle OpenContainingFolder context menu of shortcuts, if there is no ieframe.dll
  •     * handle This PC's 'Property' context menu with UI_SystemInfo
  •     * handle clock area click event if running in Windows PE
  •     * register ms-settings protocol delegate command if running in Windows 10 PE

slore

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

I tested the wired connection, it works fine...  :confused:

ila_rendered

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
I will try again tonight.  Maybe it works on host Win7 but not in Win10PE.  I'll use procmon and see if maybe its a dependency issue on my end and let you know.

Also...Great Work!  :thumbsup:

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Thank you very much @slore. I had not known anything about you for a long time. I hope he continues very well with his family.
Thank you very much for including the new menu. Now that I have some more time I will try a bit as the new changes go. Is it possible to add a function that searches all the programs automatically on the pendrive, from the start? This could create a specific access and image to certain programs and the rest be loaded as a list, so that it would be the same as windows 10 currently.

I hope I explained myself well and that the translator served well too.

regards

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #175 on: August 03, 2018, 12:05:27 AM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
testing now standby - do you have the credential UI working for explorer.exe in RS4? I just saw that in previous post...

I do not see wired icons in the UI_WIFI\rc folder..  :confused:

Where do I enter this variable to change path of UI's? (improve:the "wxsUI" folder name can be changed with the 'WINXSHELL_UIFOLDER' environment variable)
« Last Edit: August 03, 2018, 02:06:52 AM by ChangeMe;) »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #176 on: August 03, 2018, 04:44:22 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
>do you have the credential UI working for explorer.exe in RS4?

somebody told me, the PE counld own the origin credential dialog with dll/reg be added,
so I think the credential UI is unnessary be created.

>I do not see wired icons in the UI_WIFI\rc folder..
the RC\*.png is for UI to show the wifi signal sign, the tray icon resources are built-in the WinXShell.exe.
(reshacker can see/change them.)

>Where do I enter this variable to change path of UI's?
set the environment variable before the WinXShell.exe starting the UI process.

Code: [Select]
set WINXSHELL_UIFOLDER=Settings
WinXShell.exe -ui -jcfg Settings\UI_Shutdown.jcfg

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #177 on: August 03, 2018, 10:50:47 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
Me and ChrisR both have not been able to find the required DLL and Reg keys (yet) to enable credential UI in RS4... Do you remember who told you it could be enabled? Any chance you could ask them which DLL and Keys, as far as I can tell it may have been moved into UWP for RS4 and future builds but I may be wrong..?

Also thanks for your quick response about the UI folder location environment variable I will be doing testing all weekend to improve my build with WinXShell...
« Last Edit: August 03, 2018, 10:51:52 PM by ChangeMe;) »

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #178 on: August 10, 2018, 04:37:48 PM »

slore

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

Quote
Thank you very much for including the new menu. Now that I have some more time I will try a bit as the new changes go. Is it possible to add a function that searches all the programs automatically on the pendrive, from the start? This could create a specific access and image to certain programs and the rest be loaded as a list, so that it would be the same as windows 10 currently.

I hope I explained myself well and that the translator served well too.

with 100 lines lua script. I got this. Is this is what you image?
ila_rendered

I have 300 shortcuts, take me 2~3 seconds to load those icons, How much/what's your programs in pendrive?
could you show me the file list?

Code: [Select]
dir /b /s "U:\StartMenu\Programs\"

Re: WinXShell - a portable shell and zero dependencies for boot.wim,winre.wim
« Reply #179 on: August 11, 2018, 01:38:28 AM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
Slore,

    That is awesome!  If you set it to look in %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs it will load all the normally installed start menu programs.  :thumbsup:

 

Powered by EzPortal