From a169b6b8a9c918a657d91166d5f9bc9b2cf1a2f0 Mon Sep 17 00:00:00 2001 From: Homes32 Date: Wed, 11 Jun 2025 19:10:28 -0500 Subject: [PATCH] Tweak boot.wim files in core. --- Projects/PhoenixPE/100-ConfigSource.script | 2 +- Projects/PhoenixPE/Core/210-Core.script | 7 +++++-- Projects/PhoenixPE/script.project | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Projects/PhoenixPE/100-ConfigSource.script b/Projects/PhoenixPE/100-ConfigSource.script index 73cefc2..38e9293 100644 --- a/Projects/PhoenixPE/100-ConfigSource.script +++ b/Projects/PhoenixPE/100-ConfigSource.script @@ -337,7 +337,7 @@ Set,%FidoURL%,"https://github.com/pbatard/Fido/releases/latest/download/Fido.ps1 If,QUESTION,"You are about to download and run the open source Fido powershell script. This will allow you to choose which Windows ISO image to download from Microsoft's servers.#$x#$xFor more info please visit [https://github.com/pbatard/Fido].#$x#$xAre you ready to continue?",Begin WebGet,%FidoURL%,"%ProjectTemp%\Fido.ps1.lzma" 7z,"x -y #$q%ProjectTemp%\Fido.ps1.lzma#$q -o#$q%ProjectTemp%#$q" - ShellExecuteEx,Open,"powershell.exe","-noexit –ExecutionPolicy Bypass -File #$q%ProjectTemp%\Fido.ps1#$q" + ShellExecuteEx,Open,"powershell.exe","-NoExit –ExecutionPolicy Bypass -NoProfile -File #$q%ProjectTemp%\Fido.ps1#$q" End [#ExtractISO#] diff --git a/Projects/PhoenixPE/Core/210-Core.script b/Projects/PhoenixPE/Core/210-Core.script index 90d6a62..ff1a8d1 100644 --- a/Projects/PhoenixPE/Core/210-Core.script +++ b/Projects/PhoenixPE/Core/210-Core.script @@ -35,8 +35,8 @@ Author=Homes32 Level=2 Selected=True Mandatory=True -Version=1.3.0.0 -Date=2024-11-11 +Version=1.3.1.0 +Date=2025-04-11 [Variables] @@ -246,6 +246,8 @@ RequireFileEx,AppendList,\Windows\PLA RequireFileEx,AppendList,\Windows\System32\Drivers\vwifibus.sys RequireFileEx,AppendList,\Windows\System32\Drivers\vwifimp.sys +RequireFileEx,AppendList,\Windows\System32\Drivers\WifiCx.sys + // wbem RequireFileEx,AppendList,\Windows\System32\wbem\iscsidsc.mof RequireFileEx,AppendList,\Windows\System32\wbem\iscsihba.mof @@ -433,6 +435,7 @@ RequireFileEx,AppendList,\Windows\System32\Windows.Management.Workplace.dll RequireFileEx,AppendList,\Windows\System32\Windows.Security.Authentication.OnlineId.dll RequireFileEx,AppendList,\Windows\System32\Windows.StateRepositoryPS.dll RequireFileEx,AppendList,\Windows\System32\Windows.StateRepositoryUpgrade.dll +RequireFileEx,AppendList,\Windows\System32\Windows.Web.dll RequireFileEx,AppendList,\Windows\System32\wlan*.dll RequireFileEx,AppendList,\Windows\System32\WinSetupMon.hiv RequireFileEx,AppendList,\Windows\System32\WinSetupMon.sys diff --git a/Projects/PhoenixPE/script.project b/Projects/PhoenixPE/script.project index 35bfbd6..9e0cb49 100644 --- a/Projects/PhoenixPE/script.project +++ b/Projects/PhoenixPE/script.project @@ -244,7 +244,7 @@ FileDeleteEx,"%BaseDir%\Logs\%LogFile%" // Cleanup old logs (%num_LogsToKeep% var is read by PostBuildCleanup section) Echo,"Removing old support logs..." -ShellExecute,Hide,"powershell.exe","-ExecutionPolicy Bypass -Command #$q$files = Get-ChildItem -Path '%BaseDir%\Logs' -Recurse | Where-Object {-not $_.PsIsContainer}; if ($files.Count -gt %num_LogsToKeep%) { $files | Sort-Object CreationTime | Select-Object -First ($files.Count - %num_LogsToKeep%) | Remove-Item -Force }#$q" +ShellExecute,Hide,"powershell.exe","-ExecutionPolicy Bypass -NoProfile -Command #$q$files = Get-ChildItem -Path '%BaseDir%\Logs' -Recurse | Where-Object {-not $_.PsIsContainer}; if ($files.Count -gt %num_LogsToKeep%) { $files | Sort-Object CreationTime | Select-Object -First ($files.Count - %num_LogsToKeep%) | Remove-Item -Force }#$q" If,Not,%ExitCode%,Equal,0,Echo,"Error: Failed to remove old support logs. [%ExitCode%].",WARN System,EndLocal