Topic: How to create a custom plugin to be included in the PE  (Read 1293 times)

How to create a custom plugin to be included in the PE
« on: August 07, 2019, 11:46:16 AM »

bert003

  • Jr. Chef
  • **
  • Date Registered: Jul 2019
  • Posts: 38
Hi,

How can this be done?

Maybe there is a tutorial that I have missed in the forum?

For example, I would like to add GIMP to my build. I know it is a big program (like Chrome after all). Is that possible please?

Admin, please move this topic if you deem not in place here but I do not know where to ask exactly about this.

Thanks

Re: How to create a custom plugin to be included in the PE
« Reply #1 on: August 07, 2019, 02:09:39 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Based on all your prior questions - you still have a lot to learn about basic tasks...

Re: How to create a custom plugin to be included in the PE
« Reply #2 on: August 07, 2019, 02:15:15 PM »

bert003

  • Jr. Chef
  • **
  • Date Registered: Jul 2019
  • Posts: 38
Ok granted... I am still quite new to this but enjoying learning...

Any good tutorial as a starting point?

Re: How to create a custom plugin to be included in the PE
« Reply #3 on: August 07, 2019, 02:22:54 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
How To comes with project...
But No Tutorials...

Re: How to create a custom plugin to be included in the PE
« Reply #4 on: August 08, 2019, 06:13:35 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Hi,


For example, I would like to add GIMP to my build. I know it is a big program (like Chrome after all). Is that possible please?



Download and install Gimp 2 in a running xpe environment to be sure it will work (for ex. 2.8.22 works)
With the gimp 2 folders make a gimp2.7z file.
Download the below util plugin creator script.
Run (modified accordingly) the plugin creator to create gimp 2.script plugin.



Re: How to create a custom plugin to be included in the PE
« Reply #5 on: August 08, 2019, 06:56:45 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
@Oscar
Would it have not been easier (and less confusing for others) to just create the App yourself ??

Quote
Run (modified accordingly) the plugin creator to create gimp
As you already did the work...
« Last Edit: August 08, 2019, 06:58:24 PM by James »

Re: How to create a custom plugin to be included in the PE
« Reply #6 on: August 08, 2019, 07:40:14 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
@ Oscar
WOW... What an innounp - FileCopy or CopyR - freaking file process nightmare......

Although it seems the innounp extraction does pull a 32 Directory that does not require such file processing - with the exception of a few EXE's

Re: How to create a custom plugin to be included in the PE
« Reply #7 on: August 09, 2019, 03:51:45 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
re: GIMP 2

The x86 files are 900MB
If we remove the Debug Files - the App is still 600MB

That is just Insane for a PE App

Re: How to create a custom plugin to be included in the PE
« Reply #8 on: August 09, 2019, 09:41:57 AM »

bert003

  • Jr. Chef
  • **
  • Date Registered: Jul 2019
  • Posts: 38
@Oscar
Thanks for the detailed explanation and the script file

Will surely give it a try when I find time... at least I know that it is possible... even though the app is a large one... it is still worth a try...

Re: How to create a custom plugin to be included in the PE
« Reply #9 on: August 09, 2019, 02:49:46 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
I chose version 2.8  because it is only 120 MB and it works with no need of registry entries.

Re: How to create a custom plugin to be included in the PE
« Reply #10 on: August 09, 2019, 03:33:14 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Good Info..
Because the Compact Install Option Results on x86 are 352MB and on x64 are 375MB
Using version 2.10.12

The Registry Settings are File Associations and Capabilities
I did find 3 Required Files With Base Build
Code: [Select]
\Windows\System32\glu32.dll
\Windows\System32\mscms.dll
\Windows\System32\opengl32.dll

Re: How to create a custom plugin to be included in the PE
« Reply #11 on: August 10, 2019, 08:35:50 AM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi bert003

here's a simple gimp 2.8 plugin to start you off - works x64 and x86  approx 120MB packed

Gimp2.8

edit:
the only real common files, of any size, between the arch's, seems to be the python folder, that can be removed and made seperate python.7z - will do it later today
« Last Edit: August 10, 2019, 10:23:25 AM by APT »

Re: How to create a custom plugin to be included in the PE
« Reply #12 on: August 10, 2019, 11:22:57 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
GIMP-2.10.12.7z
To Customize Installation - Just replace the Program Files in the compressed XPE_File Packages
« Last Edit: August 10, 2019, 11:34:09 AM by James »

Re: How to create a custom plugin to be included in the PE
« Reply #13 on: August 11, 2019, 05:06:41 PM »

Vineet Garg

  • Jr. Chef
  • **
  • Date Registered: Aug 2019
  • Posts: 18
Sir(s),
I am working with the Win10XPE project & using Win 10 1803 x64 ISO ( Pro) to make an Win10XPE_x64.ISO. As I am whole new to these experiences, I need some help.
Is it possible to make NTLite integration into it ? It would be very empowering!

( During setup installation NTLite offers portable app option as well. )

[ NTLite ( Free ) is a good app with a unique feature : When it loads/mounts an ISO ( INSTALL.WIM & BOOT.WIM ), It checks & tells the missing drivers into the loaded ISO against the current OS.
For eg. A such Win 10 RE/PE will naturally have all the very essential drivers needed for the newest systems & would straight away tell what is missing in the loaded WIN 7 or Win 8 ISO/BOOT.WIM/INSTALL.WIM ]

Thanks & Regards. ...

Re: How to create a custom plugin to be included in the PE
« Reply #14 on: August 11, 2019, 05:14:54 PM »

Vineet Garg

  • Jr. Chef
  • **
  • Date Registered: Aug 2019
  • Posts: 18
Please excuse me if I have put it into wrong place. I am sorry that I can't put up external links here. It would be further good if somebody can add DevManView also in the same PE/RE. It would be very empowering!

Thanks & Regards. ...

Re: How to create a custom plugin to be included in the PE
« Reply #15 on: August 11, 2019, 08:42:02 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
We do not use the Install.wim for any thing other then a source for Missing or Required Files in WinPE
Most Portable Apps Integrate into WinPE without Issue, But the word "Portable" can be deceiving and the App may still have system file requirements...

There are methods within XPE for you to include your portable apps - by the use of a "Custom Folder" via the Build Core interface...
There is also a method to Integrate Host OS Drivers via the same Build Core interface...

It takes time and a lot of just playing around with Project to figure things out - but once you get the hang of it - it is all pretty much there..

Re: How to create a custom plugin to be included in the PE
« Reply #16 on: August 13, 2019, 04:36:27 AM »

Vineet Garg

  • Jr. Chef
  • **
  • Date Registered: Aug 2019
  • Posts: 18
Quote
Most Portable Apps Integrate into WinPE without Issue, But the word "Portable" can be deceiving and the App may still have system file requirements...
There are methods within XPE for you to include your portable apps

Its done! Thanks Sir.

Re: How to create a custom plugin to be included in the PE
« Reply #17 on: August 13, 2019, 08:27:28 AM »

Vineet Garg

  • Jr. Chef
  • **
  • Date Registered: Aug 2019
  • Posts: 18
This section came helpful to me : Create Portable App Packed Plugins

Thanks & Regards. ...

 

Powered by EzPortal