Topic: Win10XPE Project  (Read 141376 times)

Re: Win10XPE Project
« Reply #800 on: August 24, 2020, 11:57:29 AM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Unregister StartIsBack which is the default Start Menu in Win10XPE and install Start10 instead for those who prefer

How exactly would I do that?
Really prefer Start10.

try the xpeplugin for it
Start10

Re: Win10XPE Project
« Reply #801 on: August 24, 2020, 03:17:14 PM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
try the xpeplugin for it
Start10

Thanks. Did a quick test and it worked.
I had the scripts but I thought I had to 'disable' SIB first. I thought if I used the S10 script I would end up with SIB and S10.

Now I just have to transfer the settings I used in Win10PE-SE to XPE.

Re: Win10XPE Project
« Reply #802 on: August 25, 2020, 07:13:28 AM »

phanquoctrong

  • Apprentice
  • *
  • Date Registered: Aug 2020
  • Posts: 3
"List index out of bounds (-1):  [Run,%ScriptFile%,CheckCmd]"

Re: Win10XPE Project
« Reply #803 on: August 25, 2020, 10:37:36 AM »

APT

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

Welcome to the forum

are you able to give a bit more info on your error

are you using the latest distribution from this site
what win10 iso are you using
at what stage does this error occur
are you able to supply a log etc etc

Re: Win10XPE Project
« Reply #804 on: August 25, 2020, 10:50:27 AM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
I'm working on a "Additional Fonts" script.
If I have a txt file where each line has the full path of a font file (.ttf or .otf), how would I copy these to the "Fonts" folder in the PE ?
The fonts are in the folder %ProgCache%\MoreFonts.

OR

Is there a way to copy all .ttf and .otf files from that folder to the "Fonts" folder in the PE.
« Last Edit: August 25, 2020, 10:53:09 AM by gbrao »

Re: Win10XPE Project
« Reply #805 on: August 25, 2020, 11:28:22 AM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Is there a way to copy all .ttf and .otf files from that folder to the "Fonts" folder in the PE.

never tried but

Code: [Select]
FileCopy,%ProgCache%\MoreFonts\*,%GTarget_Win%\Fonts

will put them there, but don't know if they need registering or not, I'm sure some bright spark here will know  :smile:

edit:
In a VM I can see them in the Windows Fonts folder, but can't access them from wordpad
« Last Edit: August 25, 2020, 11:58:51 AM by APT »

Re: Win10XPE Project
« Reply #806 on: August 25, 2020, 05:36:21 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
This works for me

Code: [Select]
[Main]
Title=Fonts
Type=XPE Plugin
Author=oscar
Description=Japanese Korean Chinese (needs full hive enabled)
Credits=
Version=001
Level=5
Selected=True
NoWarning=False
Date=2019.10.10

[InterFace]

[Variables]

[Process]


ExtractSectionFiles,%ScriptFile%,AddFiles

[AddFiles]
\Windows\Fonts\YuGothB.ttc
\Windows\Fonts\malgunBd.ttf
\Windows\Fonts\msyhbd.ttc


Re: Win10XPE Project
« Reply #807 on: August 26, 2020, 02:01:19 AM »

Jimehc

  • Chef
  • ***
  • Date Registered: Jan 2015
  • Posts: 134
you can extract All System Fonts & Register them

[AddFiles]
\Windows\Fonts

[Add_Registry]
RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts

Re: Win10XPE Project
« Reply #808 on: August 26, 2020, 02:13:08 AM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
Thanks Jimehc 0scar APT.

Right now I'm trying to add fonts that are not in the source ISO.
I've managed to get it working. Script needs to be cleaned up a bit.

Re: Win10XPE Project
« Reply #809 on: August 26, 2020, 09:03:00 AM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
I always thought that after a font was registered a reboot was needed.
In Win10XPE that does not seem to be the case. If a font is placed in windows\fonts and a reg value is created in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts, the font is immediately usable.

Once I realised that my plugin became simpler.

The plugin :
Quote
This plugin installs all fonts (.ttf and .otf) in the folder 'ProgCache\MoreFonts'
  - Fonts in 'ProgCache\MoreFonts' are copied to the Windows Fonts folder.
  - Any fonts in the Fonts folder that are not registered are registered on PE startup.
  - To include fonts from the source edit the section [AddFiles] in the script.

I wrote a AU3 program that :
Quote
RegPeFonts checks if font files (.ttf ot .otf) in the Windows 'Font' folder are registered:
  If a font file exists in the 'Font' folder but does not have a corresponding value in the reg key
  'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts' the value is created.
  So in Win10XPE all fonts will be registered.
This runs on Win10XPE startup.

If anyone is interested I can attach the script and the startup program here.

I tested by adding the Calibri font files to [AddFiles]
and SourceCodePro OTF fonts to 'ProgCache\MoreFonts'.
Both were usable in WIn10PXE.

Re: Win10XPE Project
« Reply #810 on: August 26, 2020, 09:55:16 AM »

APT

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

personally, I don't have a need at the moment, but I'm sure there are user's on the forum that would like to use it, and it's always good to share  :thumbsup:

Re: Win10XPE Project
« Reply #811 on: August 26, 2020, 02:29:59 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
I think the standard way to do this is to put  the fonts files in the Custom folder:
E:\Win10XPE\Custom\x64\AdditionalFiles\Windows\Fonts\Calibri.ttf


and a simple plugin for the font registry entry:
Code: [Select]
[Process]

RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Calibri (TrueType)",Calibri.ttf
RegHiveUnLoad,Tmp_Software


P.S. Putting fonts in the Custon folder doesn't work.
« Last Edit: August 27, 2020, 03:11:48 PM by 0scar »

Re: Win10XPE Project
« Reply #812 on: August 27, 2020, 12:39:41 AM »

Jimehc

  • Chef
  • ***
  • Date Registered: Jan 2015
  • Posts: 134
or even better in the "Include" folder

Re: Win10XPE Project
« Reply #813 on: August 27, 2020, 04:38:25 AM »

tgparker2011

  • Jr. Chef
  • **
  • Location: USA
  • Date Registered: Dec 2011
  • Posts: 25
I've been following and building WinBuilder Projects since WinXp days!
Just created my first "Vanilla out of the Box" Win10XPE project. Woohoo
Everything working just fine!
Now for the tweaks and changes! LOL

Re: Win10XPE Project
« Reply #814 on: August 28, 2020, 04:03:31 PM »

pr0xyfl00d3r

  • Apprentice
  • *
  • Date Registered: Jul 2020
  • Posts: 3
Does using this tool break any usage licence from Microsoft for WinPE?

No, there is a link to the subject somewhere, if I can find it I'll post it here



Hi lopez,

I wonder if I could use it legally for my work as technician. Or would it be dangerous?
Yes you can following MS license.
TheOven is open ~9 years now, we are not closed by MS legacy team since everything here is ok.


Hi, Did you find the link?

I was told that it was going against the licence for Winpe to extract and use the likes of the file explorer?

Re: Win10XPE Project
« Reply #815 on: August 28, 2020, 04:15:28 PM »

RoyM

  • Jr. Chef
  • **
  • Date Registered: Aug 2017
  • Posts: 80
Hi pr0xyfl00d3r

MS. EULA Basically says that you cannot 'Distribute their files'.
And a PE built from a licensed copy may be used on the machine it is licensed for.

Regards
RoyM

Re: Win10XPE Project
« Reply #816 on: August 29, 2020, 06:45:16 AM »

pr0xyfl00d3r

  • Apprentice
  • *
  • Date Registered: Jul 2020
  • Posts: 3
Thanks for your reply, do you have a link to the EULA?

Re: Win10XPE Project
« Reply #817 on: August 29, 2020, 12:05:26 PM »

sandy

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 49

Re: Win10XPE Project
« Reply #818 on: August 29, 2020, 12:07:08 PM »

sandy

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 49
Of particular interest:

Restrictions. The device manufacturer or installer and Microsoft reserve all rights (such as rights under intellectual property laws) not expressly granted in this agreement. For example, this license does not give you any right to, and you may not:

(i)      use or virtualize features of the software separately;

(ii)     publish, copy (other than the permitted backup copy), rent, lease, or lend the software;

(iii)    transfer the software (except as permitted by this agreement);

(iv)    work around any technical restrictions or limitations in the software;

(v)     use the software as server software, for commercial hosting, make the software available for simultaneous use by multiple users over a network, install the software on a server and allow users to access it remotely, or install the software on a device for use only by remote users;

(vi)    reverse engineer, decompile, or disassemble the software, or attempt to do so, except and only to the extent that the foregoing restriction is (a) permitted by applicable law; (b) permitted by licensing terms governing the use of open-source components that may be included with the software; or (c) required to debug changes to any libraries licensed under the GNU Lesser General Public License which are included with and linked to by the software; and

(vii)   when using Internet-based features you may not use those features in any way that could interfere with anyone else’s use of them, or to try to gain access to or use any service, data, account, or network, in an unauthorized manner.

Re: Win10XPE Project
« Reply #819 on: August 29, 2020, 08:00:01 PM »

RoyM

  • Jr. Chef
  • **
  • Date Registered: Aug 2017
  • Posts: 80

Wow Things have Changed with EULA, it's been a while since I read the new ones.
This applies to 10 PE as well.
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-intro
Nice Topic

Regards
RoyM

 

Powered by EzPortal