mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
Updated verified sources, Win11 22H2 verified.
This commit is contained in:
@@ -34,8 +34,8 @@ Description=.NET Framework is a software development framework for building and
|
||||
Selected=True
|
||||
Level=4
|
||||
Author=Homes32
|
||||
Version=1.3.0.0
|
||||
Date=2021-10-31
|
||||
Version=1.3.1.0
|
||||
Date=2021-12-21
|
||||
Mandatory=False
|
||||
|
||||
[Variables]
|
||||
@@ -77,6 +77,7 @@ RequireFileEx,AppendList,\Windows\System32\PresentationHostProxy.dll
|
||||
RequireFileEx,AppendList,\Windows\System32\PresentationNative_v0300.dll
|
||||
RequireFileEx,AppendList,\Windows\System32\sxstrace.exe
|
||||
RequireFileEx,AppendList,\Windows\System32\ucrtbase_clr0400.dll
|
||||
RequireFileEx,AppendList,\Windows\System32\vcruntime140_1_clr0400.dll
|
||||
RequireFileEx,AppendList,\Windows\System32\UIAutomationCore.dll
|
||||
RequireFileEx,AppendList,\Windows\System32\vcruntime140_clr0400.dll
|
||||
RequireFileEx,AppendList,\Windows\System32\WindowsCodecs.dll
|
||||
@@ -103,6 +104,7 @@ If,ExistFile,"%TargetSystem32%\wow64.dll",Begin
|
||||
RequireFileEx,AppendList,\Windows\SysWoW64\UIAutomationCore.dll
|
||||
RequireFileEx,AppendList,\Windows\SysWOW64\ucrtbase_clr0400.dll
|
||||
RequireFileEx,AppendList,\Windows\SysWOW64\vcruntime140_clr0400.dll
|
||||
RequireFileEx,AppendList,\Windows\SysWOW64\vcruntime140_1_clr0400.dll
|
||||
RequireFileEx,AppendList,\Windows\SysWOW64\WindowsCodecs.dll
|
||||
RequireFileEx,AppendList,\Windows\SysWOW64\WindowsCodecsExt.dll
|
||||
End
|
||||
|
@@ -35,8 +35,8 @@ Author=Homes32
|
||||
Level=2
|
||||
Selected=True
|
||||
Mandatory=True
|
||||
Version=1.1.1.0
|
||||
Date=2020-07-12
|
||||
Version=1.1.2.0
|
||||
Date=2022-12-21
|
||||
|
||||
[Variables]
|
||||
// Minimum PEBakery version that has the command/feature set that is compatible with PhoenixPE.
|
||||
@@ -49,7 +49,7 @@ Run,%ScriptFile%,CheckEngine
|
||||
Run,%ScriptFile%,CheckOutputDir
|
||||
If,%cb_CheckFreeSpace%,Equal,True,Run,%ScriptFile%,CheckDiskSpace
|
||||
Run,%ScriptFile%,CheckTools
|
||||
If,%cb_CheckForSupportedBuildVer%,Equal,True,Run,%ScriptFile%,CheckKnownBuilds
|
||||
If,%cb_CheckForSupportedBuildVer%,Equal,True,Run,%ScriptFile%,CheckVerifiedBuilds
|
||||
Run,%ScriptFile%,CheckWinREVersion
|
||||
|
||||
[#CheckOutputDir#]
|
||||
@@ -230,24 +230,30 @@ DirDeleteEx,"%Tools%\x86\BCDBOOT"
|
||||
DirDeleteEx,"%Tools%\x64\BCDBOOT"
|
||||
|
||||
|
||||
[#CheckKnownBuilds#]
|
||||
[#CheckVerifiedBuilds#]
|
||||
// ===============================================================================================================================
|
||||
// Name...........: CheckKnownBuilds
|
||||
// Name...........: CheckVerifiedBuilds
|
||||
// Description....: Verify if the source is a known working version. If not warn the user that there may be issues.
|
||||
//
|
||||
// Version OS Build Release Date Codename Marketing Name
|
||||
// ------- ----------- ------------ ------------- -------------------------
|
||||
// 1507 10.0.10240 07/29/2015 Threshold 1 RTM
|
||||
// 1511 10.0.15086 07/29/2015 Threshold 2 November Update
|
||||
// 1607 10.0.14393 08/02/2016 Redstone 1 Anniversary Update
|
||||
// 1703 10.0.15063 04/05/2017 Redstone 2 Creators Update
|
||||
// 1709 10.0.16299 10/17/2017 Redstone 3 Fall Creators Update
|
||||
// 1803 10.0.17134 04/30/2018 Redstone 4 Spring Creators Update
|
||||
// 1809 10.0.17763 11/13/2018 Redstone 5 October 2018 Update
|
||||
// 1903 10.0.18362 04/21/2019 19H1 May 2019 Update
|
||||
// 1909 10.0.18363 11/12/2019 19H2 November 2019 Update
|
||||
// 2004 10.0.19041 05/28/2020 20H1 May 2020 Update
|
||||
// 2009 10.0.19042 10/20/2020 20H2 October 2020 Update
|
||||
// Version OS Build Release Date Codename Marketing Name Support Status
|
||||
// ------- ----------- ------------ ------------- ------------------------- -------------------------
|
||||
// Win10 1507 10.0.10240 07/29/2015 Threshold 1 RTM Not Verified
|
||||
// 1511 10.0.15086 07/29/2015 Threshold 2 November Update Not Verified
|
||||
// 1607 10.0.14393 08/02/2016 Redstone 1 Anniversary Update Not Verified
|
||||
// 1703 10.0.15063 04/05/2017 Redstone 2 Creators Update Not Verified
|
||||
// 1709 10.0.16299 10/17/2017 Redstone 3 Fall Creators Update Verified
|
||||
// 1803 10.0.17134 04/30/2018 Redstone 4 Spring Creators Update Verified
|
||||
// 1809 10.0.17763 11/13/2018 Redstone 5 October 2018 Update Verified
|
||||
// 1903 10.0.18362 04/21/2019 19H1 May 2019 Update Verified
|
||||
// 1909 10.0.18363 11/12/2019 19H2 November 2019 Update Verified
|
||||
// 2004 10.0.19041 05/28/2020 20H1 May 2020 Update Verified
|
||||
// 2009 10.0.19042 10/20/2020 20H2 October 2020 Update Not Verified
|
||||
// 10.0.19043 05/18/2021 21H1 May 2021 Update Not Verified
|
||||
// 10.0.19044 11/16/2021 21H1 November 2021 Update Not Verified
|
||||
// 10.0.19045 06/28/2022 22H2 Windows 10 2022 Update Not Verified
|
||||
// Win11 21H2 10.0.22000 10/04/2021 Sun Valley Experimental
|
||||
// 22H2 10.0.22621 09/20/2022 Sun Valley 2 Verified
|
||||
//
|
||||
// Syntax.........:
|
||||
// Parameters.....:
|
||||
// Return values..:
|
||||
@@ -255,17 +261,17 @@ DirDeleteEx,"%Tools%\x64\BCDBOOT"
|
||||
// Remarks........: As a general rule PhoenixPE will attempt to support the 2 most recent verified builds.
|
||||
// Related........: Called by [Process]
|
||||
// ===============================================================================================================================
|
||||
[CheckKnownBuilds]
|
||||
[CheckVerifiedBuilds]
|
||||
System,SetLocal
|
||||
|
||||
// Minimum supported version
|
||||
Set,%MinimumSourceVer%,"10.0.16299.0"
|
||||
|
||||
// Supported Sources (x.x.x - do not include SPbuild)
|
||||
Set,%aSupportedVersions%,10.0.17634|10.0.17763|10.0.18362|10.0.18363|10.0.19041
|
||||
Set,%aSupportedVersions%,10.0.17634|10.0.17763|10.0.18362|10.0.18363|10.0.19041|10.0.22621
|
||||
|
||||
// Latest Verified Source - This string is used in the warning message if the user is attempting to use an unverified source.
|
||||
Set,%MostRecentVerifiedSource%,"10.0.19041 - May 2020 Update (20H1) 2004"
|
||||
Set,%MostRecentVerifiedSource%,"* Win10: 10.0.19041 - May 2020 Update (20H1) 2004#$x* Win11: 10.0.22621 - 22H2"
|
||||
|
||||
Echo,"Checking source version against known working builds..."
|
||||
If,%SourceVer%,Smaller,%MinimumSourceVer%,Begin
|
||||
@@ -280,7 +286,7 @@ StrFormat,CTrim,%tmp_SourceVer%,".",%tmp_SourceVer%
|
||||
List,Pos,%aSupportedVersions%,%tmp_SourceVer%,%VerPos%
|
||||
If,%VerPos%,Equal,0,Begin
|
||||
Echo,"Warning: This Windows source version [%SourceVer%] has not been tested.",Warn
|
||||
Message,"This Windows source version [%SourceVer%] has not been tested. This doesn't necessarily mean the build will fail, but if you run into problems you will be on your own.#$x#$xSome project scripts might not work with an untested/unknown source!#$x#$xIf possible please use the most recent verified source - #$x#$x * %MostRecentVerifiedSource%",Warning,10
|
||||
Message,"This Windows source version [%SourceVer%] has not been tested and verified to be compatible with PhoenixPE. This doesn't necessarily mean the build will fail, but if you run into problems you will be on your own.#$x#$xSome project scripts might not work with an untested/unknown source!#$x#$xIf possible please use the most recent verified source - #$x#$x%MostRecentVerifiedSource%",Warning,10
|
||||
End
|
||||
|
||||
System,EndLocal
|
||||
|
@@ -859,6 +859,7 @@ If,%_PhoenixAPI_ConfigMode%,Equal,PECMD,Begin
|
||||
|
||||
If,%RunGroup%,Equal,"Preshell",TXTReplace,"%TargetSystem32%\pecmd.ini","_END Preshell","TEXT %Title%##0xFFFFFF L59 T39 $20#$xEXEC %ExecMode%%ProgramExe% %Parameters%#$x#$x_END Preshell"
|
||||
Else,If,%RunGroup%,Equal,"Postshell",TXTReplace,"%TargetSystem32%\pecmd.ini","_END PostShell","TEXT %Title%##0xFFFFFF L59 T39 $20#$xEXEC %ExecMode%%ProgramExe% %Parameters%#$x#$x_END PostShell"
|
||||
Else,If,%RunGroup%,Equal,"NetInit",TXTReplace,"%TargetSystem32%\pecmd.ini","_END NetInit","TEXT %Title%##0xFFFFFF L59 T39 $20#$xEXEC %ExecMode%%ProgramExe% %Parameters%#$x#$x_END NetInit"
|
||||
Else,If,%RunGroup%,Equal,"RunOnce",Run,%API%,__PhoenixAPI_AddAutoRun_RunOnce
|
||||
Else,If,%RunGroup%,Equal,"AfterNetwork",Run,%API%,__PhoenixAPI_AddAutoRun_AfterNetwork
|
||||
Else,Halt,"AddAutoRun Syntax Error: [%RunGroup%] is not a supported Run method."
|
||||
|
@@ -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."
|
||||
|
Reference in New Issue
Block a user