Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinPEAutoExtraFiles does not work with PEBuilds #82

Open
nixtar opened this issue Jun 28, 2022 · 1 comment
Open

WinPEAutoExtraFiles does not work with PEBuilds #82

nixtar opened this issue Jun 28, 2022 · 1 comment

Comments

@nixtar
Copy link

nixtar commented Jun 28, 2022

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
Copy link
Author

nixtar commented Jun 28, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant