mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 10:08:05 +02:00
Tweak boot.wim files in core.
This commit is contained in:
@@ -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#]
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user