Updated verified sources, Win11 22H2 verified.

This commit is contained in:
Homes32
2022-12-24 17:18:29 -06:00
parent 6028e3261a
commit 6aa7e654e0
4 changed files with 76 additions and 56 deletions

View File

@@ -366,32 +366,33 @@ RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\I:","Vo
// ===============================================================================================================================
[Reg-AdditionalFonts]
Echo,"Registering Additional Fonts..."
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Segoe UI (TrueType)",segoeui.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier 10#$c12#$c15",coure.fon
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","MS Sans Serif 8#$c10#$c12#$c14#$c18#$c24",sserife.fon
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial (TrueType)",arial.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Black (TrueType)",ariblk.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Bold (TrueType)",arialbd.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Bold Italic (TrueType)",arialbi.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Italic (TrueType)",ariali.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Comic Sans MS (TrueType)",comic.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Comic Sans MS Bold (TrueType)",comicbd.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New (TrueType)",cour.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New Bold (TrueType)",courbd.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New Bold Italic (TrueType)",courbi.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New Italic (TrueType)",couri.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Lucida Sans Unicode (TrueType)",l_10646.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Times New Roman Bold (TrueType)",timesbd.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Times New Roman Bold Italic (TrueType)",timesbi.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Times New Roman Italic (TrueType)",timesi.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS (TrueType)",trebuc.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS Bold (TrueType)",trebucbd.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS Bold Italic (TrueType)",trebucbi.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS Italic (TrueType)",trebucit.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana (TrueType)",verdana.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana Bold (TrueType)",verdanab.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana Italic (TrueType)",verdanai.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana Bold Italic (TrueType)",verdanaz.ttf
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Segoe Fluent Icons (TrueType)","SegoeIcons.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Segoe UI (TrueType)","segoeui.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier 10#$c12#$c15","coure.fon"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","MS Sans Serif 8#$c10#$c12#$c14#$c18#$c24","sserife.fon"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial (TrueType)","arial.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Black (TrueType)","ariblk.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Bold (TrueType)","arialbd.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Bold Italic (TrueType)","arialbi.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Arial Italic (TrueType)","ariali.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Comic Sans MS (TrueType)","comic.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Comic Sans MS Bold (TrueType)","comicbd.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New (TrueType)","cour.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New Bold (TrueType)","courbd.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New Bold Italic (TrueType)","courbi.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier New Italic (TrueType)","couri.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Lucida Sans Unicode (TrueType)","l_10646.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Times New Roman Bold (TrueType)","timesbd.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Times New Roman Bold Italic (TrueType)","timesbi.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Times New Roman Italic (TrueType)","timesi.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS (TrueType)","trebuc.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS Bold (TrueType)","trebucbd.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS Bold Italic (TrueType)","trebucbi.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Trebuchet MS Italic (TrueType)","trebucit.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana (TrueType)","verdana.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana Bold (TrueType)","verdanab.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana Italic (TrueType)","verdanai.ttf"
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts","Verdana Bold Italic (TrueType)","verdanaz.ttf"
[#Reg-Options#]
// ===============================================================================================================================
@@ -636,6 +637,7 @@ End
RequireFileEx,AppendList,\Windows\System32\stobject.dll
RequireFileEx,AppendList,\Windows\System32\StorageUsage.dll
RequireFileEx,AppendList,\Windows\System32\systemcpl.dll
RequireFileEx,AppendList,\Windows\System32\TabSvc.dll
RequireFileEx,AppendList,\Windows\System32\TextInputFramework.dll,NOMUI
If,%SourceVer%,BiggerEqual,10.0.18300.0,RequireFileEx,AppendList,\Windows\System32\TextInputMethodFormatter.dll,NOMUI
RequireFileEx,AppendList,\Windows\System32\TextShaping.dll
@@ -658,8 +660,9 @@ RequireFileEx,AppendList,\Windows\System32\Windows.Globalization.dll
RequireFileEx,AppendList,\Windows\System32\Windows.Internal.Shell.Broker.dll
RequireFileEx,AppendList,\Windows\System32\Windows.Networking.Connectivity.dll
RequireFileEx,AppendList,\Windows\System32\Windows.UI.dll
If,%SourceVer%,Bigger,10.0.22000.318,RequireFileEx,AppendList,\Windows\System32\Windows.UI.Core.TextInput.dll
If,%SourceVer%,Bigger,10.0.22000.318,RequireFileEx,AppendList,\Windows\System32\windowsudk.shellcommon.dll
RequireFileEx,AppendList,\Windows\System32\Windows.UI.FileExplorer.dll
RequireFileEx,AppendList,\Windows\System32\Windows.UI.Core.TextInput.dll
RequireFileEx,AppendList,\Windows\System32\windowsudk.shellcommon.dll
If,%SourceVer%,BiggerEqual,10.0.18900.0,Begin
// Windows Management
@@ -823,6 +826,7 @@ RequireFileEx,AppendList,\Windows\System32\intl.cpl
RequireFileEx,AppendList,\Windows\System32\main.cpl
RequireFileEx,AppendList,\Windows\System32\powercpl.dll
RequireFileEx,AppendList,\Windows\System32\timedate.cpl
RequireFileEx,AppendList,\Windows\System32\TabletPC.cpl
///////////////////////////////////////////////////////////////////////////////////
// Driver Catalog
@@ -905,6 +909,7 @@ FileDelete,"%TargetSystem32%\Windows.CloudStore.dll"
// ===============================================================================================================================
// Name...........: Process-Win11-Explorer-Workaround
// Description....: Temporary workaround for Win11 explorer.exe crashing in WinPE. The workaround substitutes explorer.exe from Win10
// As of Win11 22H2 (10.0.22621.0) this workaround is no longer required. It is included for limited backward compatibility.
// Syntax.........:
// Parameters.....:
// Return values..:
@@ -913,7 +918,13 @@ FileDelete,"%TargetSystem32%\Windows.CloudStore.dll"
// Related........:
// ===============================================================================================================================
[Process-Win11-Explorer-Workaround]
If,%cmb_Win10ExplorerSource%,Equal,"Use explorer.exe from the Win11 source image",Return
If,%cmb_Win10ExplorerSource%,Equal,"Use explorer.exe from the Win11 source image",Begin
// Check if we have a problematic source and warn the user.
If,%SourceVer%,Smaller,10.0.22621.0,Begin
If,QUESTION,"WARNING:#$x#$xThis version of Windows is known to cause blacksceen on boot using explorer.exe from the source.#$xIt is recommended to configure the Explorer Shell script to use explorer.exe from an alternate source.#$x#$xAre you sure you want to continue building?",10,False,Return
Else,Halt,"Explorer Shell: Build halted by user."
End
End
Else,If,%cmb_Win10ExplorerSource%,Equal,"Use explorer.exe from my Win10 host",Begin
// Copy Win10 Explorer from host. (Must build from a computer running Win10)
Echo,"Copying explorer.exe from Host..."
@@ -1023,7 +1034,7 @@ WriteInterface,Value,%ScriptFile%,Interface,cb_DisableDPIScaling,True
WriteInterface,Value,%ScriptFile%,Interface,cb_ExpandOpStatusDlg,True
WriteInterface,Value,%ScriptFile%,Interface,cb_ShowHiddenFiles,True
WriteInterface,Value,%ScriptFile%,Interface,cmb_DefaultFolderLayout,"Details"
WriteInterface,Value,%ScriptFile%,Interface,cmb_Win10ExplorerSource,"Use explorer.exe from my Win10 host"
WriteInterface,Value,%ScriptFile%,Interface,cmb_Win10ExplorerSource,"Use explorer.exe from the Win11 source image"
WriteInterface,Value,%ScriptFile%,Interface,pb_Win10ExplorerEXE,""
WriteInterface,Value,%ScriptFile%,Interface,pb_Win10ExplorerWIM,""
WriteInterface,Value,%ScriptFile%,Interface,num_WimImage,1
@@ -1055,7 +1066,7 @@ Message,"There are no advanced options available for this script."
// Related........: btn_ScriptInfo
// ===============================================================================================================================
[ShowScriptInfo]
Message,"Explorer Shell and File Explorer for Windows 10."
Message,"Explorer Shell and File Explorer for Windows."
[#Interface#]
// ===============================================================================================================================
@@ -1096,7 +1107,7 @@ cb_ExpandOpStatusDlg="Expand Operation Status",1,3,160,145,200,18,True,"__Expand
cb_ShowHiddenFiles="Show Hidden & System Files",1,3,160,97,200,18,True
bvl_Win11Support="Win11 Support",1,12,151,275,403,94,8,Bold
lbl_Win11Explorer="This option will only be processed if building from a Win11 source.",1,1,160,290,380,16,8,Normal
cmb_Win10ExplorerSource="Use explorer.exe from my Win10 host",1,4,160,310,311,21,"Use explorer.exe from the Win11 source image","Use explorer.exe from my Win10 host","Extract explorer.exe from a Win10 ISO/Source","Use the explorer.exe application provided below",_ToggleWin10ExplorerSource_,True
cmb_Win10ExplorerSource="Use explorer.exe from the Win11 source image",1,4,160,310,311,21,"Use explorer.exe from the Win11 source image","Use explorer.exe from my Win10 host","Extract explorer.exe from a Win10 ISO/Source","Use the explorer.exe application provided below",_ToggleWin10ExplorerSource_,True
web_WhatIsThis="What is this?",1,10,480,312,67,18,https://github.com/PhoenixPE/PhoenixPE/wiki/FAQ#building-from-a-win11-source-with-explorer-shell-causes-blackscreen-on-boot
pb_Win10ExplorerEXE=,0,20,160,340,380,20,file,"Title=Select the explorer.exe to include in your build",Filter=explorer.exe|explorer.exe,"__Select the explorer.exe to include in your build"
pb_Win10ExplorerWIM=,0,20,160,340,329,20,dir,"Title=Select the directory containing your extracted Win10 ISO image.",_CheckWin10ExplorerSource_,True,"__Select the directory containing your extracted Win10 ISO image."