Tweak boot.wim files in core.

This commit is contained in:
Homes32
2025-06-11 19:10:28 -05:00
parent dd6f9a280f
commit a169b6b8a9
3 changed files with 7 additions and 4 deletions

View File

@@ -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 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" WebGet,%FidoURL%,"%ProjectTemp%\Fido.ps1.lzma"
7z,"x -y #$q%ProjectTemp%\Fido.ps1.lzma#$q -o#$q%ProjectTemp%#$q" 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 End
[#ExtractISO#] [#ExtractISO#]

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=2 Level=2
Selected=True Selected=True
Mandatory=True Mandatory=True
Version=1.3.0.0 Version=1.3.1.0
Date=2024-11-11 Date=2025-04-11
[Variables] [Variables]
@@ -246,6 +246,8 @@ RequireFileEx,AppendList,\Windows\PLA
RequireFileEx,AppendList,\Windows\System32\Drivers\vwifibus.sys RequireFileEx,AppendList,\Windows\System32\Drivers\vwifibus.sys
RequireFileEx,AppendList,\Windows\System32\Drivers\vwifimp.sys RequireFileEx,AppendList,\Windows\System32\Drivers\vwifimp.sys
RequireFileEx,AppendList,\Windows\System32\Drivers\WifiCx.sys
// wbem // wbem
RequireFileEx,AppendList,\Windows\System32\wbem\iscsidsc.mof RequireFileEx,AppendList,\Windows\System32\wbem\iscsidsc.mof
RequireFileEx,AppendList,\Windows\System32\wbem\iscsihba.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.Security.Authentication.OnlineId.dll
RequireFileEx,AppendList,\Windows\System32\Windows.StateRepositoryPS.dll RequireFileEx,AppendList,\Windows\System32\Windows.StateRepositoryPS.dll
RequireFileEx,AppendList,\Windows\System32\Windows.StateRepositoryUpgrade.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\wlan*.dll
RequireFileEx,AppendList,\Windows\System32\WinSetupMon.hiv RequireFileEx,AppendList,\Windows\System32\WinSetupMon.hiv
RequireFileEx,AppendList,\Windows\System32\WinSetupMon.sys RequireFileEx,AppendList,\Windows\System32\WinSetupMon.sys

View File

@@ -244,7 +244,7 @@ FileDeleteEx,"%BaseDir%\Logs\%LogFile%"
// Cleanup old logs (%num_LogsToKeep% var is read by PostBuildCleanup section) // Cleanup old logs (%num_LogsToKeep% var is read by PostBuildCleanup section)
Echo,"Removing old support logs..." 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 If,Not,%ExitCode%,Equal,0,Echo,"Error: Failed to remove old support logs. [%ExitCode%].",WARN
System,EndLocal System,EndLocal