|
Post by Christopher Ireland on Jul 5, 2017 23:06:32 GMT
I have a weird problem. When I run UI++ outside the task sequence, everything displays correctly, the font and boldness and color and all that. Looks quite nice.
But when I run it as a prestart command on my boot image, most (but not all) of the dialogs are italicized. Even the sideways Major Title get italicized. I've looked through the xml file to see if there's /i's that somehow snuck in but there aren't any, and at any rate everything displays correctly when I run the xml by itself in standalone mode.
The parts that aren't affected are ones where I've specified a bold font. But all the rest and all the default choices are affected -- the Default Values, Preflight, all the titles, and all the drop down boxes come up italicized.
Anybody seen this problem? I'm using version 2.9.1.0.
|
|
|
Post by Jason on Jul 6, 2017 14:02:32 GMT
This started with WinPE 5.0 I think and you'll see it in other "things" that run in WinPE also. Basically, they only included the italic Segoe fonts in WinPE by default. I've never tried to add other fonts to WinPE but I'm assuming that it is possible. I'll do some investigation to see what is possible.
|
|
|
Post by Christopher Ireland on Jul 11, 2017 16:01:49 GMT
I mounted my boot wim to see what fonts it had and saw that all the Segoe fonts are there, the bold, italics, regular, etc. I even renamed the regular to italic and vice versa, but that wasn't enough to trick it.
So I'm convinced that it must be something with my boot wim. I've tried adding extra components, like the other font packs and HTA support, but nothing as worked yet.
Surely others are using UI++ as a Prestart command and are having no display issues. If so, could someone tell me their boot file version, or maybe what other additions to their boot image that they've added, I'd appreciate it.
My boot image is x64 and is version 10.0.14393.0 with WinPE10 driver packs and I'm using UI++64.exe in the Prestart command.
|
|
|
Post by Christopher Ireland on Jul 14, 2017 21:33:23 GMT
Okay, so I figured out a way to do this. Maybe there's an easier way, but this wasn't bad.
Jason's right, Microsoft deleted the SegoeUI.ttf font from WinPE. They have all the other Segoe ones, but SegoeUII.ttf (the italic version) is apparently the default one in WinPE and SegoeUI.ttf (the regular version) is missing entirely.
1) First I created a C:\TempFont folder and copied the SegoeUI font from my local C:\Windows\Fonts to C:\TempFont. It copies over 12 fonts, but that way I could have access to the single SegoeUI.ttf file that I needed.
2) Then I mounted my boot wim that I copied down from SCCM:
Dism /mount-wim /wimfile:C:\wimfile.wim /index:1 /mountdir:C:\Mount
3) Using Windows Explorer, I then copied SegoeUI.ttf from C:\TempFont to the C:\Mount\Windows\Fonts directory.
4) Then I edited the registry of the mounted WinPE. Here's how to do that:
Start > Run > Regedt32 Select HKey_Local_Machine and select File > Load Hive Navigate to C:\Mount\Windows\System32\config\SOFTWARE Give it a name of "Temp" Navigate to HKey_Local_Machine\Temp\Microsoft\Windows NT\CurrentVersion\Fonts Change the Value Data filename for Segoe UI Italic (TrueType) from segoeuii.ttf to segoeui.ttf (take out one of the i's) Select Hkey_Local_Machine\Temp and click File > Unload Hive
5) Then I unmounted the wim:
Dism /unmount-wim /mountdir:C:\Mount /commit
6) Copied the boot wim back up to SCCM and updated the content. That's it.
|
|
|
Post by Jason on Jul 19, 2017 16:29:59 GMT
Interesting and thanks for sharing.
|
|
|
Post by foldzan1 on Jul 25, 2017 19:10:36 GMT
Thanks Christopher! This has been bugging me for a while now....
|
|
|
Post by kn14746 on Oct 12, 2019 19:20:42 GMT
This still seems to be the case?
|
|