Topic: Run plugins on existing image without WinXPE gui  (Read 252 times)

Run plugins on existing image without WinXPE gui
« on: April 28, 2020, 06:47:27 AM »

doubleddav

  • Apprentice
  • *
  • Date Registered: Apr 2020
  • Posts: 5
Hi there, long time user, first time poster.

Sorry if this has been answered elsewhere, but I haven't been able to find anything in the forums. I just wanted to know if it's possible to run specific plugins against an already built wim image?

As an example, could I start off with a default WindowsADK generated boot.wim and apply only the Explorer plugin to get the Explorer shell in the environment I've made? I've considered just looking at the plugin files to copy and reg keys to create, but this would take ages to do manually and I'd probably make a mistake.

This would also be cool for just enabling individual items without having to always build the whole thing with the builder.

Thanks in advance  :thumbsup:

Re: Run plugins on existing image without WinXPE gui
« Reply #1 on: April 28, 2020, 09:59:27 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Just select Options & Features on Build Core - Deselect All Apps - Create ISO..
WinPE with a GUI > WinRE with Explorer Shell

Re: Run plugins on existing image without WinXPE gui
« Reply #2 on: April 28, 2020, 01:20:50 PM »

doubleddav

  • Apprentice
  • *
  • Date Registered: Apr 2020
  • Posts: 5
Thanks I'll give that a go  :great:

Re: Run plugins on existing image without WinXPE gui
« Reply #3 on: April 28, 2020, 01:22:36 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Just select Options & Features on Build Core - Deselect All Apps - Create ISO..
WinPE with a GUI > WinRE with Explorer Shell

Just?

WIN10XPE is not design like you want.

1). There is not option for you to select  an already built wim as the target.

It is used the \sources\install.wim\Windows\System32\Recovery\Winre.wim ONLY, unless you modify the core.script by yourself.

2). For Shell or something else, WIN10XPE won't add some files which are already in Winre.wim.

So if you use ADK's winpe.wim, some features that you selected won't work, you have to add them by yourself.



AND

Even you only select the Shell,  it will add

Shell + DWM + Search +  IME + Start Menu  + PENetwork ...

But you can check out the *.script,  remove and test the files/registry items you don't want.


AND

it will remove some files,  copy all CLSID,  Interface registry items,  slim WinSxs(this one have option),  add all catalogs...
you need see those too. All in script files.
« Last Edit: April 28, 2020, 04:48:10 PM by slore »

Re: Run plugins on existing image without WinXPE gui
« Reply #4 on: April 29, 2020, 02:45:07 AM »

doubleddav

  • Apprentice
  • *
  • Date Registered: Apr 2020
  • Posts: 5
OK thanks. That's a shame, it would be great if you could easily add just the bits you want to pre-existing wim images. The .script files are long and can be confusing to read. Sometimes I wish the scripts were just standard robocopy commands and .reg files - this would make them easy to import into anything.

One of the reasons I wanted this is I need some of the packages that come with Windows ADK, but dism won't apply them to the images generated by WinXPE - even on the same version of Windows. I also like the idea of using ADK and not winre as a nice uncluttered clean base to build from. I think WinSE has some of these packages, but I don't like the resulting wims this generates in recent versions.

I'll try the no apps version anyway to test. I might even be able to hack something together myself, I was just hoping someone had figure this out previously.

Thanks  :smile:

Re: Run plugins on existing image without WinXPE gui
« Reply #5 on: April 29, 2020, 03:23:19 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Quote
it would be great if you could easily add just the bits you want to pre-existing wim images
We Do... We add the bits we want to the WinRE.wim

Re: Run plugins on existing image without WinXPE gui
« Reply #6 on: April 29, 2020, 12:41:27 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
OK thanks. That's a shame, it would be great if you could easily add just the bits you want to pre-existing wim images.

Well, I don't know if WIN10XPE project will do something change for your request.

If you  can't wait, here is one builder which is designed to build with more target wim file already.
you can add/update new features/applications for a winre.wim, boot.wim, a built wim file, or ADK's winpe.wim.

The .script files are long and can be confusing to read. Sometimes I wish the scripts were just standard robocopy commands and .reg files - this would make them easy to import into anything.

and it used the batch file for building, you can write short, easy-understand, simple xcopy, copy, robocpy, reg commands to import into anything.
even like you can call dism command to add ADK's components.

Projects\WIN10XPE\ADK\main.bat
Code: [Select]
call PERegPorter.bat Tmp UNLOAD

rem add ADK cabs
pushd "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs
Dism /image:X: /add-package /packagepath:"WinPE-FontSupport-Zh-CN.cab"
Dism /image:X: /add-package /packagepath:"zh-cn\lp.cab"
Dism /image:X: /Get-Intl
Dism /image:X: /Set-UILang:ZH-CN
Dism /image:X: /Set-AllIntl:ZH-CN
Dism /image:X: /Get-Intl
popd

call PERegPorter.bat Tmp LOAD

http://theoven.org/index.php?topic=3112.0
« Last Edit: April 29, 2020, 12:41:49 PM by slore »

Re: Run plugins on existing image without WinXPE gui
« Reply #7 on: April 29, 2020, 05:01:58 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Thought this was a Win10XPE Topic... My Bad...
Maybe should be a Topic in > http://theoven.org/index.php?board=45.0

Re: Run plugins on existing image without WinXPE gui
« Reply #8 on: April 29, 2020, 05:45:03 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Thought this was a Win10XPE Topic... My Bad...
Maybe should be a Topic in > http://theoven.org/index.php?board=45.0

It is WIN10XPE topic, but you didn't answer him right as you don't know well about WIN10XPE project's internal design.
You answered him without testing. WIN10XPE's design can't adapter to his request now.
Of cause you can answer him, you can write a plugin for this, or change core.script for him as it can be done even use WIN10XPE.
Will you do it?
« Last Edit: April 29, 2020, 05:54:14 PM by slore »

Re: Run plugins on existing image without WinXPE gui
« Reply #9 on: April 29, 2020, 06:05:50 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
I answered his question.... You appear to not like my answer...
Quote
WIN10XPE's design can't adapter to his request now.
Of cause you can answer him, you can write a plugin for this, or change core.script for him as it can be done
Can't see going to change Project for 1 Non User request
He wants to apply plugins to an image without using an interface (GUI)
Even DISM and CMD are a type of interface... (Command Line Interface)
« Last Edit: April 29, 2020, 06:13:52 PM by James »

Re: Run plugins on existing image without WinXPE gui
« Reply #10 on: April 29, 2020, 06:19:35 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Seems to me - he is looking to follow your Batch files - which followed the Win10XPE scripts

Re: Run plugins on existing image without WinXPE gui
« Reply #11 on: April 29, 2020, 11:17:18 PM »

doubleddav

  • Apprentice
  • *
  • Date Registered: Apr 2020
  • Posts: 5
It's all good, I don't expect the project to be re-written for my benefit.

For me personally and my own customizations, it's easier just to mount the registry hives and double click my .reg files (using the "Edit Registry" feature in the gui  :thumbsup:), and copy the files across - rather than try and create a plugin or translate the reg files into something WinXPE understands. That's sort of where I'm coming from, it would be easier if everything was just a .reg file, or a bat file that I can read and run using whatever is built into Windows. So to add explorer manually for example I would: mount wim, run .reg files, run copy_stuff_across.bat, umount wim. This process could be applied to any environment and is easy to read because it just using Windows built in tools.

I might try wimbuilder2 and see how I go. I have looked at this at other times briefly, but I might invest a bit more time understanding it better.

Thanks

Re: Run plugins on existing image without WinXPE gui
« Reply #12 on: April 30, 2020, 12:46:13 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Sorry if this has been answered elsewhere, but I haven't been able to find anything in the forums. I just wanted to know if it's possible to run specific plugins against an already built wim image?
Yes possible.
 Plugins designed for such goal but you are on Win10XPE topic which uses XPEPlugin for Win10XPE only.
See http://theoven.org/index.php?topic=3094.0

No there is no such project that uses Plugins for that goal.

ps:
There is a good reason behind,
 It the past what you wrote was possible by projects
  but since there is not much interest for such thing,
   and It is complicated with low hoby time spent for project s....
     focus moved and with other reasons ...

+
ps:
yes you can use plugins for such goal but adding explorer is complicated .....
 and using .cmd and .reg files instead of plugins will not get things simpler.  :lol:
   If it was simpler, you would find lots of tutorials with .cmd and .reg and not open such topics. :lol::lol:

As an example, could I start off with a default WindowsADK generated boot.wim and apply only the Explorer plugin to get the Explorer shell in the environment I've made?

slore replied a way how to achieve that goal.  :thumbsup:



*
slore-James

> you didn't answer him right
yes, James did not, it is intentional to keep end-user with the project  :wink:
 (and rest of James posts after your posts is not about what you write .... again intentional)

@James
not topic, section  :wink:

@slore
still, when there are end-users (not usual users around) better go in "Win10XPE" section topics with short task-specific replies when related to other projects.

It is like El Clásico (football : Real Madrid and Barcelona) , It is not a good idea to go to Barcelona tribunes and shout "Real" 

 Well, instead task-specific short reply is better ...  :thumbsup: :thumbsup: :thumbsup:

I will write long on another topic, I do not want to write longer on Win10XPE section.
 It is James area in the end.
  I only do not want a further discussion about replies above.  :cheers:
   I am aware slore is new about such things but learning very quick.  :cool:

:turtle:

Re: Run plugins on existing image without WinXPE gui
« Reply #13 on: April 30, 2020, 01:17:30 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
I answered his question.... You appear to not like my answer...

He wants to apply plugins to an image without using an interface (GUI)
Even DISM and CMD are a type of interface... (Command Line Interface)

? What your are talk about ?

GUI is Graphical User Interface,
He didn't say he wants to apply plugins without interface, but GUI,
What's problem of CUI(DISM and CMD)? they are not GUI.


Just select Options & Features on Build Core - Deselect All Apps - Create ISO..
WinPE with a GUI > WinRE with Explorer Shell

if there is not way for WIN10XPE to do this without GUI, why not answer clearly, WIN10XPE can't do that.
why you answered his question with some operation on WIN10XPE' GUI?

and you put a "Just" in the begain, seem it is an easy thing with WIN10XPE,
but now you answered that it is impossible.


I answered his question.... You appear to not like my answer...

so YES, I don't like your answer.

1). not tested
2). wrong
3). contradictory

Should I like your irresponsible answer?
« Last Edit: April 30, 2020, 03:34:02 AM by slore »

Re: Run plugins on existing image without WinXPE gui
« Reply #14 on: April 30, 2020, 01:30:00 AM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Seems to me - he is looking to follow your Batch files - which followed the Win10XPE scripts

I just needs file list, registry items for some components, I can follow lots of PE.
Chinese PE, PE SE. at that time WIN10XPE comes, and it have some same conception as wimbuilder,
so I followed it, use a weekend to convert the file list/registry items to be batch files to save my time.

But what about the target wim, and how to add files/registy into boot.wim with dism/copy commands,
I don't follow Win10XPE scripts, the logic parts is mess in script.
batch is simpler, and what is already in wimbuilder(the one which be released one year earlier than WIN10XPE)

Yes wimbuilder is one project add some thing without GUI, but there is no "plugin" for wimbuilder.
so I don't answer him to use wimbuilder at first.
Here is Win10XPE topic, I answered him how to modify the *.script to reach his goal with Win10XPE.


OK, I will stop here to do more unrelated reply for the topic, I will only answer the part about code(script or batch file).
« Last Edit: April 30, 2020, 01:43:43 AM by slore »

Re: Run plugins on existing image without WinXPE gui
« Reply #15 on: April 30, 2020, 01:35:37 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Sorry if this has been answered elsewhere, but I haven't been able to find anything in the forums.

I just wanted to know if it's possible to run specific plugins against an already built wim image?

As an example, could I start off with a default WindowsADK generated boot.wim and apply only the Explorer plugin to get the Explorer shell in the environment I've made?

I've considered just looking at the plugin files to copy and reg keys to create, but this would take ages to do manually and I'd probably make a mistake.

This would also be cool for just enabling individual items without having to always build the whole thing with the builder.

Quote
it would be great if you could easily add just the bits you want to pre-existing wim images.
The .script files are long and can be confusing to read. Sometimes I wish the scripts were just standard robocopy commands and .reg files - this would make them easy to import into anything.

One of the reasons I wanted this is I need some of the packages that come with Windows ADK, but dism won't apply them to the images generated by WinXPE - even on the same version of Windows.
I also like the idea of using ADK and not winre as a nice uncluttered clean base to build from.
I think WinSE has some of these packages, but I don't like the resulting wims this generates in recent versions.

Thought this was a Win10XPE Topic... My Bad...
Maybe should be a Topic in > http://theoven.org/index.php?board=45.0
« Last Edit: April 30, 2020, 01:45:37 AM by James »

Re: Run plugins on existing image without WinXPE gui
« Reply #16 on: April 30, 2020, 02:25:05 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi James,

I do not buy your post games  :lol:
 But I will not reply to them.

You can postgame on Newbies like doubleddav and you can have some amigos  :cheerleader: that likes everything free and cheer on you for free .

   Keep in mind, what you write is also valid for you,
      As a result, I will be tougher following your logic.  :thumbsup:
        ---> Keep in your section, we all know you are Win10XPE fanatic (for today)  :lol:  :cheerleader:


Hi slore,

I see Nobody listens the wisdom of experience  :lol:

  I only do not want a further discussion about replies above.  :cheers:
   I am aware slore is new about such things but learning very quick.  :cool:


doubleddav now knows available options (before my first post)

You learn how James post games (bended logics ... ) can make other angry who posts facts .....

and life goes slowly.


See You ALL on other topics. :turtle:


 :horse:
« Last Edit: April 30, 2020, 02:25:51 AM by Lancelot »

Re: Run plugins on existing image without WinXPE gui
« Reply #17 on: April 30, 2020, 07:43:30 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
My logic is - if you do not like the resulting ISO's from any Project - You are free to try another method..
Although not sure how to change the results of prior WinPE Build, without going through some sort of a Build Process again...
And as it was stated before
Quote
No there is no such project that uses Plugins for that goal.

ps:
There is a good reason behind,
 It the past what you wrote was possible by projects
  but since there is not much interest for such thing,
   and It is complicated with low hoby time spent for project s....
     focus moved and with other reasons ...

+
ps:
yes you can use plugins for such goal but adding explorer is complicated .....
 and using .cmd and .reg files instead of plugins will not get things simpler.  :lol:
   If it was simpler, you would find lots of tutorials with .cmd and .reg and not open such topics. :lol::lol:
So yes, I ignored his question and promoted the use of the Win10XPE Builder which was my intention
« Last Edit: April 30, 2020, 07:48:55 AM by James »

Re: Run plugins on existing image without WinXPE gui
« Reply #18 on: April 30, 2020, 01:50:28 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi James,

Come on ... Post Game of "Last Post" to show fake innocence.

You develop arguments with a kind of logic to fit your goal that is all.
--->
So yes, I ignored his question and promoted the use of the Win10XPE Builder which was my intention

I call such logics "bended logics" - that sounds "correct" (by hiding, misguiding ...) but only serves a hidden goal agenda ...

You ignored doubleddav question, but slore did not ignore,
 so at this point instead of respecting slore decision of replying what is asked,
  you decide to annoy (with replies) slore with the same goal.....
     It was already written shortly on my initial post on current topic :
yes, James did not, it is intentional to keep end-user with the project  :wink:
 (and rest of James posts after your posts is not about what you write .... again intentional)


*
And as it was stated before
My statement continues with available option

As an example, could I start off with a default WindowsADK generated boot.wim and apply only the Explorer plugin to get the Explorer shell in the environment I've made?

slore replied a way how to achieve that goal.  :thumbsup:

Cutting half of statement ... oh oh oh  :lol: :lol: :lol:


****
With the current topic, I am happy to be informed by slore replies about the availability of such an option,
thanks to doubleddav opening topic.  :cheers:



*****

I already figure out what is going on and write very shortly on my first reply on current topic and in the end writing with
  I only do not want a further discussion about replies above.  :cheers:

knowing it will be useless for Win10XPE section ...

Still topic may be useful to Win10XPE like to develop such thing in future,
 or someone search on forum asking same question,
 keeping topic here I lock topic now.
  (If someone like to reply what doubleddav write, I can unlock topic or put new topic to the end of current post in future, not for post games ...)
  Continuation of this topic is not good for Win10XPE section,
  If you like to continue ... There is a forum section you can use for that http://theoven.org/index.php?board=6.0



:turtle:

 

Powered by EzPortal