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

content start layout file not found #78

Open
skipthompson81 opened this issue May 19, 2022 · 1 comment
Open

content start layout file not found #78

skipthompson81 opened this issue May 19, 2022 · 1 comment

Comments

@skipthompson81
Copy link

while building a task in which i added start layout.xml and unattend.xml files, it fails claiming

    f:\osdbuilder4\Content\F:\osdbuilder4\Content\StartLayout\Win10 StartLayout.xml
Copy-Item : Cannot find path 'F:\osdbuilder4\Content\F:\osdbuilder4\Content\StartLayout\Win10 StartLayout.xml' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\22.4.20.1\Private\AllFunctions.ps1:426 char:9
+         Copy-Item -Path "$SetOSDBuilderPathContent\$StartLayoutXML" - ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (F:\osdbuilder4\...StartLayout.xml:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
 
2022-05-18-152406 OS: Use Content Unattend
    f:\osdbuilder4\Content\F:\osdbuilder4\Content\Unattend\unattend.xml
Copy-Item : Cannot find path 'F:\osdbuilder4\Content\F:\osdbuilder4\Content\Unattend\unattend.xml' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\22.4.20.1\Private\AllFunctions.ps1:451 char:5
+     Copy-Item -Path "$SetOSDBuilderPathContent\$UnattendXML" -Destina ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (F:\osdbuilder4\...nd\unattend.xml:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
@skipthompson81
Copy link
Author

the obvious error is a duplication in the path of F:\ twice within the command.

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