OSDBuilder icon indicating copy to clipboard operation
OSDBuilder copied to clipboard

WinPEAutoExtraFiles does not work with PEBuilds

Open nixtar opened this issue 2 years ago • 1 comments

Looks like the robocopy for WinPEAutoExtraFiles in Public/New-PEBuild.ps1 was commented out in 21.7.13.1?

How can we make a PEBuild with WinPEAutoExtraFiles?

nixtar avatar Jun 28 '22 01:06 nixtar

As a workaround I created a PEScript with the commented out robocopy:

robocopy "$OSSourcePath\WinPE\AutoExtraFiles" "$MountDirectory" *.* /s /ndl /xf bcp47*.dll /xx /b /np /ts /tee /r:0 /w:0 /Log+:"$Info\logs\$((Get-Date).ToString('yyyy-MM-dd-HHmmss'))-AutoExtraFiles.log" | Out-Null

This works.

Perhaps a warning when running New-PEBuild with a PEBuild that has WinPEAutoExtraFiles set to true?

nixtar avatar Jun 28 '22 02:06 nixtar